Issue with Nick Gammons Bootloading program.

Hi All,

I have been facing this issue with Nick Gammon's Arduino boot loader that every time I bootload and write a program via Rx-Tx to an Atmega 2560 but if I want to re write another program the IDE shows an error and the whole process has to be repeated, is this normal behaviour?

Its sort of an issue as I am programming an LCD and need to make lots of small changes.

TIA.

OK, now take it slowly and explain step by step what you are doing.

Usually that indicates that the bootloader or fuses are not being set correctly - OR that the autoreset circuit isn't working correctly.

You say you're programming via Tx and Rx - that implies that you're not using an Arduino Mega 2560 - is that correct? If you're using some Atmega2560 breakout board - do you have the DTR pin of your serial adapter connected to one side of a 0.1uf capacitor, and the other side connected to the RST pin of the '2560? This is used to reset the ATmega2560 when opening the serial connection, so that the bootloader runs and can be programmed. If you don't have that, it will program via serial only once, because the bootloader only runs after the board is reset, and you're not resetting the board anymore. You can of course carefully time a press of the reset button, instead of using the auto reset, but you need pretty good timing for that.

What error do you get?

Whenever you ask for help with any computer problem where you get an error message - ALWAYS INCLUDE THE FULL TEXT OF ANY AND ALL ERROR MESSAGES. This applies to everything, not just arduino.