Remote upgrading of firmware

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

I've got a product here that uses the ATmega128 chip and it has an application program on it. It also has a serial port. When this product gets shipped to a client, I need to be able to upgrade the software in the flash memory without needing the client to send the entire product back to me. The client needs to do the upgrade via the serial port from the .hex file that I send to him/her. (Currently I'm using the JTAG programmer to initially flash the chip)

Is there any free programs or combination of free tools/utilities that would allow me to do this?

My last resort is to write some code that would sit in the main program, wait for a signal from the serial port and then go into the Boot Loader program where the programming would be done. I don't want to do this because I have no idea how to at the moment. Is there an easier solution?

Any help would be great.

Regards
Chi

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Check out the appnote: AVR109 Self Programming AVR
With this you can use avrprog to upgrade your mega.

-Geir

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When I try running AVRProg I get the message "No supported board found"

What are the hardware connections required in order to run AVRProg?

Thus far I've only been using the JTAG ICE as my programmer.

admin's test signature