Question on new upload with programmer option

I see the IDE 1.0 has a new option in the File menu, upload with programmer.

I tried that option using my USBtiny programmer selected and it does seem to work. But I have a few questions.

  1. Does this option require that the target chip have the bootloader installed or not.
  2. If not, and the chip does have a bootloader on it, is the bootloader erased once this new upload option is performed with a sketch?

The fuse byte values don't seem to be different looking at hex dumps from when there is a bootloader installed compared to hex dump done after I uploaded a sketch using a programmer option. However a hex dump done using AVRDUDE after uploading the minimum sketch only prints out the first 200 bytes of flash, not the whole flash memory space when I do a hex dump with a chip known to have the bootloader installed?

Thanks;
Lefty

  1. No. installs the code in place of the bootloader.
  2. Yes.

I have done '1284s with this using the MDFLY programmer connected to the ICSP header.

CrossRoads:

  1. No. installs the code in place of the bootloader.
  2. Yes.

I have done '1284s with this using the MDFLY programmer connected to the ICSP header.

Thanks Bob, that seems to confirm my further experiments. I was looking at the wrong thing to change, not fuse bytes but rather the lock byte. After doing the upload using programmer the lock byte changes to 3F Vs the 0F value it has when there is a bootloader installed.

Anyway that is a very nice option to have been added, maybe my gradual conversion to IDE 1.0 is worth the effort. :wink:

By the way Bob, do you have a link to your programmer? I've been told my USBtiny won't handle the larger address range that the 1284 uses and so might need to find a programmer known to function with the arduino IDE.

Thanks;

Lefty

This one Lefty

http://www.mdfly.com/index.php?main_page=product_info&cPath=5&products_id=415