Hi everbody,
I just bought a arduino uno a couple of weeks ago and i learn each day a lot of things.
No i want to start a new project. For this it would be nice if i could just flash a new hex file to the atmega8 using a micro sd card.
I have seen there is 2boots available, but the tutorial isnt that good how it works and there seem to be a lot of problems.
I just want to put the atmega328, a 16mhz oscillator, cap between vdc and gnd and the micro sd card shield i bought on the board later to flash the new hex file.
Is there an easy to understand how to?
Thanks and best regards
You can try this approach:
Hi,
thanks for the link,
but he is using an arduino Uno board to send the new hex file to the target device.
Is it possible that I just have my atmega328 and the sd cards holder on the board. I t should just check if an SD card is in the holder and if yes it should flash the hex file to the atmega328.
I dont want to use the arduino board to get the new hex file to the target atmega328. It should get it on its own from the sd card.
Need to modify the bootloader for that, only code running in the bootload memory area can modify the sketch area.
Ok i will try but i think thats not possible for me at the moment ![]()
Ok i found this one.
Can i use this one for a atmega328
http://www.mikrocontroller.net/attachment/172773/MMC_Bootloader_lc-20130314.zip
But i dont know how to get it on the atmega with my arduino.
I was just able to follow this how to to install anothwr bootloader
www.gammon.com.au/forum/?id=11637
I would use an AVR ISP to install it initially.
I use this one.
Change boards.txt entry to the new file, then the IDE can install it.
If it requires fuse settings to be changed, those are in boards.txt also.