Lost Program - AP64

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lost Program - AP64

Jump to solution
2,390 Views
Scott134
Contributor II
I am using the ap64 chip.  Every once in a while, a unit returns without the program loaded or a part of the program missing.  Units are shipped all over the world.  I can re-load the program and unit seems OK.  Anybody have any ideas?

Thanks
 
 
 
 
Added p/n to subject.


Message Edited by NLFSJ on 2008-07-23 12:31 PM
Labels (1)
0 Kudos
1 Solution
596 Views
Scott134
Contributor II
Just an update for all who helped.  I enabled the lvi but still had a few problems.  It appears we had some keypads that would intermittently short.  They were used in entering a "program mode"

View solution in original post

0 Kudos
7 Replies
596 Views
peg
Senior Contributor IV
Hello and welcome to the fora, Scott.

Does your code write to flash for EEPROM like storage?
Does it use a serial bootloader?
What did you use to programme it in the first place?
Is the device totally erased or just damaged so it won't run? (partially erased, reset vector only will disable it)

0 Kudos
596 Views
Scott134
Contributor II
Hi Peg,
 
I am using a serial bootloader.  The bootloader is still there.  Code is not writing to eeprom.  Bootloader is loaded by one of our vendors.  Program loaded by us through serial port.  The best I can tell is that it happens after product is shipped.
 
Thanks,
0 Kudos
596 Views
peg
Senior Contributor IV
Hi Scott,

Presumably the bootloader can erase all of the programme area?
Why do you not utilise the LVI?
Without some form of low voltage protection all bets are off. On power up/down as the rail passes through the region of below spec but above the point where it still tries to run anything can happen wrongly. This is made worse by the fact that there is some extant code that can erase the programme.
If you don't have a valid reason not to, setup that LVI module.



Message Edited by peg on 2008-07-23 10:03 PM
0 Kudos
597 Views
Scott134
Contributor II
Just an update for all who helped.  I enabled the lvi but still had a few problems.  It appears we had some keypads that would intermittently short.  They were used in entering a "program mode"
0 Kudos
596 Views
Scott134
Contributor II
Hi Peg,
 
Thanks for the idea.  I will give it a try.  I may not know if it works or not for several weeks or months.  Either way, I will let you know.
 
Thanks,
 
Scott
0 Kudos
596 Views
peg
Senior Contributor IV
Hi again,

Add:
Do you have the LVI setup correctly to handle out odf spec power supply on power up/down etc?

0 Kudos
596 Views
Scott134
Contributor II
The LVI is disabled.
 
0 Kudos