embassy+ufmt+usart: unexpected outputs? #530
-
I'm confused with the Usart+ufmt behavior on my Atmega2560, see this output in the commit message: brainstorm/embassy-as5600@a37b9b5 Probably an embassy main task related issue since it should print just one line but seems to print garbage in a loop instead? The baudrate seems fixed to 115200 everywhere (flashing (in .cargo/config.toml with ravedude) and running via [build]
target = "avr-specs/avr-atmega328p.json"
[target.'cfg(target_arch = "avr")']
runner = "ravedude mega2560 -cb 115200"
[unstable]
build-std = ["core"] My experience looks very similar to #466, but my baudrates seem consistent and set to /cc @djdisodo |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I just added support for Wokwi in commit brainstorm/embassy-as5600@4db8d66 (kudos to @Vollbrecht for #415) and while it prints something a bit closer to Meow World! it's not that exact string, but this instead Very interesting! 🤔 Here's the snippet/project hosted at Wokwi if you want to examine it there: https://wokwi.com/projects/393953834443965441 |
Beta Was this translation helpful? Give feedback.
-
At I guess next steps are examining which assembly is generated or do you have other ways to debug this more effectively, @Rahix? |
Beta Was this translation helpful? Give feedback.
-
Acknowlegde on "baudrates match", but how about "chip match"? I would expect both AVR devices being the same. |
Beta Was this translation helpful? Give feedback.
Acknowlegde on "baudrates match", but how about "chip match"?
I would expect both AVR devices being the same.