-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ravedude serial console does not show any output on windows #227
Comments
I just noticed.... avrdude: safemode: Fuses OK (E:00, H:00, L:00) ??? |
Hm, just to rule out any oddities; did you try the
Yeah, we don't program the fuses right now... Try flashing a program with Arduino IDE first to set them, just in case. |
Thank you for the kind consideration of your prompt reply! I know from hard won experience to get on a good, stable Ubuntu 20.04 machine for testing. Once I had jumped through all the hoops to install rust, and ravedude, it runs like a champ on a low cost UNO clone. Programmed /home/rasyoung/Codetest/AVR/Rust AVR/avr-hal-main/target/avr-atmega328p/debug/uno-i2cdetect.elf
Write direction test:
Read direction test:
Begs the question what slight irregularity is keeping the Windows 11 console from working properly? |
Maybe related to #176? |
This seems to be an issue with |
How about |
Seems good, did exactly that in #433 |
Fixed by #433. |
This is a great project, thanks for posting!
Very new to rust, but amazed how easy to get setup and testing. Seem to be building OK, but wondering where to set/place -P to COM12 statement, I've been using the RAVEDUDE_PORT env variable clumsily from the command line to get it flashing OK.
Here's a Windows 11 run, that hangs with no serial output from UNO seen.
C:\Users\randa\Desktop\avr-hal-main\examples\arduino-uno>cargo run --bin uno-i2cdetect
Finished dev [optimized + debuginfo] target(s) in 0.12s
Running
ravedude uno -cb 57600 C:\Users\randa\Desktop\avr-hal-main\target\avr-atmega328p\debug\uno-i2cdetect.elf
Board Arduino Uno
Programming C:\Users\randa\Desktop\avr-hal-main\target\avr-atmega328p\debug\uno-i2cdetect.elf => COM12
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: erasing chip
avrdude: reading input file "C:\Users\randa\Desktop\avr-hal-main\target\avr-atmega328p\debug\uno-i2cdetect.elf"
avrdude: writing flash (1600 bytes):
Writing | ################################################## | 100% 0.04s
avrdude: 1600 bytes of flash written
avrdude: verifying flash memory against C:\Users\randa\Desktop\avr-hal-main\target\avr-atmega328p\debug\uno-i2cdetect.elf:
avrdude: load data flash data from input file C:\Users\randa\Desktop\avr-hal-main\target\avr-atmega328p\debug\uno-i2cdetect.elf:
avrdude: input file C:\Users\randa\Desktop\avr-hal-main\target\avr-atmega328p\debug\uno-i2cdetect.elf contains 1600 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.03s
avrdude: verifying ...
avrdude: 1600 bytes of flash verified
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
avrdude done. Thank you.
Programmed C:\Users\randa\Desktop\avr-hal-main\target\avr-atmega328p\debug\uno-i2cdetect.elf
Console COM12 at 57600 baud
There it hangs and I don't see any output from the port. TeraTerm has same results.
Ideas?
The text was updated successfully, but these errors were encountered: