Lost Program - AP64

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Lost Program - AP64

跳至解决方案
3,729 次查看
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
标签 (1)
0 项奖励
回复
1 解答
1,935 次查看
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 项奖励
回复
7 回复数
1,935 次查看
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 项奖励
回复
1,935 次查看
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 项奖励
回复
1,935 次查看
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 项奖励
回复
1,936 次查看
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 项奖励
回复
1,935 次查看
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 项奖励
回复
1,935 次查看
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 项奖励
回复
1,935 次查看
Scott134
Contributor II
The LVI is disabled.
 
0 项奖励
回复