Go Down

Topic: ATmega1284P ZX Mic. & Arduino Bootloader (Read 826 times) previous topic - next topic

geocool

Hello.
I have a ZX-24s Microcontroller which uses ATmega1284P.
Because Arduino has big community and a variety of libraries I would like to change ZX's bootloader and put Arduino Bootloader.
In ZX Microcontrollers Forum they pointed to me the Calunium Project but i have to make some changes so bootloader works with my 24pin microcontroller.
Unfortunately I'm really new to microcontrollers so even if I can read or compile the source code I don't know what changes I have to do ( something with ports as they told me ). I also I don't know what do I have to do to delete previous bootloader and set the new bootloader to my microcontroller.
So here I am hopping for some help from the experts :)

My Microcontroller (with schematics and info) :
http://www.zbasic.net/Microcontrollers/ZX-24s-Microcontroller/p-83.html

Calunium Project:
http://www.adafruit.com/blog/2011/11/14/calunium-an-atmega1284-arduino-clone/

Calunium Source And Bootloaders:
https://github.com/stevemarple/Calunium/tree/master/software/calunium/bootloaders/standard


Thanks in advance !

CrossRoads

"The heart of the ZX-24s is the Atmel AVR ATmega1284P microcontroller running at 14.7MHz."

That is not quite compatible with Arduino - can you change it to 16 MHz?

The maniacbug bootloader is working nicely for me in the arduino environment.
https://github.com/maniacbug/mighty-1284p

And obtain an AVR ISP downloading the bootloader.
http://www.mouser.com/ProductDetail/Atmel/ATAVRISP2/?qs=2mdvTlUeTfDjNeW6vTJIyldQDY5jF199fGgztryR4u8%3d
or
http://www.mdfly.com/index.php?main_page=product_info&cPath=5_6&products_id=415

I use both, the 2nd one is slower than the first as it appears to program all of memory vs just the bootloader section.
The first one makes it easy to look at fuses. But it requires the part to powered from elsewhere.
Tradeoffs.
A USB/Serial adapter like this is used to download programs (sketches) via the serial port after the bootloader is installed.
http://www.sparkfun.com/products/9716

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up