[riot-notifications] [RIOT] Atmega2560: shell and/or UART_RX dosn't work correctly? (#3187)
Hinnerk van Bruinehsen
notifications at github.com
Fri Jun 12 00:24:07 CEST 2015
Sadly I still don't have enough time to do work on RIOT.
@PeterKietzmann : Concerning your issues with `periph_uart_int`: this test uses `115200` Baud per default which seems to be to much for the Atmega2560 to handle. The most I got out of it without getting funny characters is `38400`. There are other issues with this test, too: `vtimer_usleep(2000*1000)` overflows the max value for the timers (Atmega2560 has only 8 and 16 bit timers). I wanted to implement a software solution (by using the overflow interrupt) I never really got to finish that one (it's potentially racy too).
There was another issue with the timers that status is unknown to me (the bug is still open: https://github.com/RIOT-OS/RIOT/issues/1811).
Concerning the corruption you get in the default example I can't reproduce it. Which Baudrate do you use here?
And last but not least the issue concerning the `reboot` command: the Atmega2560 doesn't have a native way to get a software reboot, so the only real way to get that functionality is by enabling the watchdog timer and let it time out. This way can lead to another issue (the "board gets stuck" description fits that one quite well): some versions of the bootloader don't disable the watchdog timer which causes the board to get stuck in a reset cycle (Here is some more info on that one: https://code.google.com/p/arduino/issues/detail?id=181). I guess the only way around that one is to update your device's bootloader (which requires either an ICE or a AVR Dragon).
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications