Firmware update without a SX key or Blitz
duffling
Posts: 73
Is there anyway to add a firmware update capability by adding a serial or USB port to a project using the SX?
my finished design will hopefully allow people to update the software on chip with a USB port or serial port
·
my finished design will hopefully allow people to update the software on chip with a USB port or serial port
·
Comments
The processor handles the serial communications to transfer the tokenized basic stamp code to the eeprom. Parallax even has a special program to distribute updated code(in the form of an executable) to your customers or end users.
With the SX, the method of programming is Flash. You require a programmer to update the code on the SX chip itself. Updates require either a programmer, or a replacement of the SX IC... for now. If the update is minimal, consider storing key values which may need to change on an eeprom and include code on the sx to modify this data ·Another option is to use the sx as a slave which conducts all the operations for a master stamp which in turn could be updated.
I'm curious to see if someone has a creative solution. On the other hand, get it right the first time.
Post Edited (Jonb) : 3/29/2005 3:56:31 AM GMT
Im trying to save costs on my finished unit .. and so adding a stamp to the mix will increase my costs i was hope to do the whole project with 1 or 2
SX chips if possible
but the firmware update is a KEY idea in my design , the idea of building in key values may work thou ..
does anyone know if the PIC controllers can be programmed via serial the way im suggesting?
Seems like alot of work, why not just have them send the unit in for a free upgrade.
Post Edited (Jonb) : 3/29/2005 4:05:28 AM GMT
my design uses two MIDI ports In and Out .. and i wish to have the IN port act as a update mode as well as MIDI IN
so i would put my code into Program mode to update what ever values i need to within the SX ..
for this i would not require a chip such as the MAX 232 .. ?
thanks again
Post Edited (Jonb) : 3/30/2005 1:17:15 AM GMT
The only viable option for updating the firmware in an SX is to include another processor as a programmer.
If you want to be able to update the firmware in the programmer, then you must use a bootloadable PIC.
If you include a bootloadable PIC, you must ask yourself if you really need the SX.
Assuming the answer is yes, the next question is "what is the cheapest bootloadable PIC" and I'm afraid I don't know the answer to that. Try piclist.com
In any case, remote firmware upgrades are an expensive feature and I would be very supprized if they were really necessary for your product. Why not sell upgrades? Make the SX PCB easy to replace.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james@sxlist.com 1-619-652-0593 fax:1-208-279-8767
SX FAQ / Code / Tutorials / Documentation:
http://www.sxlist.com Pick faster!
the support electronics
another question thou : Has any one used any kind of smart card or memory card system to any projects ? , this could be a useful way to store
presets or setup parameters