Giter Site home page Giter Site logo

Writing to the board bug. about ino HOT 8 CLOSED

amperka avatar amperka commented on July 18, 2024
Writing to the board bug.

from ino.

Comments (8)

nkrkv avatar nkrkv commented on July 18, 2024

Hmmm… Stall on 59%? Quite strange. Did you use any config files? I mean are you sure that you build for Uno and upload to Uno too. I see explicit -m for upload, but see no one for build.

from ino.

defbug avatar defbug commented on July 18, 2024

Yes i did try that but still I can't upload to arduino. Here's what i get when i upload the blink sketch that comes with inotools.

ino init -t blink
ino build -m uno
ino upload -m uno -p /dev/ttyACM0

Here's what i get.

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f
avrdude: reading input file ".build/uno/firmware.hex"
avrdude: writing flash (1076 bytes):

Writing | ################################################## | 100% 0.21s

avrdude: 1076 bytes of flash written
avrdude: verifying flash memory against .build/uno/firmware.hex:
avrdude: load data flash data from input file .build/uno/firmware.hex:
avrdude: input file .build/uno/firmware.hex contains 1076 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.18s

avrdude: verifying ...
avrdude: 1076 bytes of flash verified

avrdude: safemode: Fuses OK

avrdude done. Thank you.

It upload successfully why is it doing that?.. but when i try to modify the blink sketch it stalls at 59%?

Also by the way Im using kvm.. On kvm host arduino is detected as /dev/ttyACM0 now I pass that port to a guest linux vm. Now on linux vm i can see /dev/ttyACM0. but when tryting to upload i get this issue. Thanks

from ino.

nkrkv avatar nkrkv commented on July 18, 2024

Quite strange. Can't figure out why it can happen. Does regular Arduino IDE uploads successfully?

from ino.

defbug avatar defbug commented on July 18, 2024

When I pass it through from host to guest windows vm. I can't still upload with the ide. But on a machine with windows i can upload without fail.

from ino.

nkrkv avatar nkrkv commented on July 18, 2024

So it's not ino bug but a general problem with port forwarding?

from ino.

defbug avatar defbug commented on July 18, 2024

I think so too. But why would it upload the sketch that comes with inotools?.. That is the thing I'm very curious about.

from ino.

Kernald avatar Kernald commented on July 18, 2024

The only difference I can spot is the firmware size. Blink is 1076B, while yours is 1084B. Maybe try to upload the blink with the Arduino IDE, and write a smaller program (less than 1076B) and try to upload it. If both works, maybe your serial port is reset every Xms which is enough to let 1076B pass but not 1084, or an overflow somewhere, …

from ino.

nkrkv avatar nkrkv commented on July 18, 2024

Not related to ino in a nutshell

from ino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.