Go Down

Topic: atMega1284P-AU @ 20Mhz (Read 3 times) previous topic - next topic

WanaGo

Reloaded bootloader, took another 5 minutes or so (is this normal?) and now I can program over serial, strange. But Yay :)

Tom Carpenter

yeah, it takes quite some time to burn the bootloader. I think there is a mistake in the avrdude.conf file, but i can't be bothered to find it as you only have to burn the bootloader once.
~Tom~

WanaGo

Processor seems to be locking up constantly, not sure what is going on.

Changed to 16Mhz version of "Mighty 1284p 16MHz using Optiboot", but I cant get that to let me upload over the uART0.
Not sure if this is setup for UART0 or UART1.

Programming over ICSP at the moment, and it seems stable.
Not sure whats going on at 20 Mhz

Which is the prefered 16Mhz 1284P bootloader for UART0 ?

Thanks
J

Tom Carpenter

The reason I used UART1 is from what I have read there is some obscure glitches between optiboot and UART0 for the 1284. The UART1 works flawlessly.

In what way is it locking up?
~Tom~

WanaGo

Code stops executing.
Im writing to the serial port, and now and then it just stops dead in its tracks, LED stops blinking (that I have to indicate it being alive) and it just grinds to a halt.

Sadly I cant use UART1 as I have my 4 layer PCB already printed :(

Found an Optiboot version 4.5 using UART0 @ 16Mhz which seems to be working so far, for the few minutes of testing I have done.
Ideally would like a 20Mhz version working though, but such is life.

Thanks
J

Go Up