Go Down

Topic: ArduinoISP, many issues. (Read 611 times) previous topic - next topic

rvalles

When I tried to, I managed to burn a bootloader using mega-isp with some pains.

Therefore, I found out that the non-playground page on it could seriously use some improvement.

The page in question is:
http://arduino.cc/en/Tutorial/ArduinoISP

It ignores the auto-reset problem, which is now properly covered in:
http://www.arduino.cc/playground/Code/MegaISP

That page could be linked from the non-playground one.

Setting that aside, it would be nice to list proper SCK/MISO/MOSI pins to use for every official Arduino board as a programmer and as the target, or link to an article that does (which I haven't found to exist).

Besides the documentation issue, Arduino and avrdude could be improved to handle using auto-resetting devices as programmers properly as now suggested in the MegaISP playground page.

Another improvement on the software side would be allowing to use an AVR programmer (like arduinoISP) to upload sketches from the IDE, for easily management of bootloader-less devices.

deSilva

Quote
....allowing to use an AVR programmer (like arduinoISP) to upload sketches from the IDE, for easily management of bootloader-less devices.

This is absolutely possible. Enter somethig like this into your boards.txt configuration file.
Quote
mega8mASP.name=ATmega8mUSBasp
mega8mASP.upload.protocol=usbasp
mega8mASP.upload.maximum_size=8196
mega8mASP.upload.using=USBasp
mega8mASP.build.mcu=atmega8
mega8mASP.build.f_cpu=8000000L
mega8mASP.build.core=arduino

rvalles

Quote
This is absolutely possible. Enter somethig like this into your boards.txt configuration file.

By easy what I meant was more like being on the menus already.

Go Up