共2条
1/1 1 跳转至页
lpc932,373MHz 使用lpc932且晶振大于7.373MHz的请看这篇文章。

问
我也遇到同样问题,需重写芯片。问周立功他们总说是系统设计问题,这是对芯片缺陷的最好借口。LPC932 loosing flash program code ?
Philips Semiconductors Forum Index -> MCU discussion Forum
View previous toPIC :: View next toPIC
Author Message
Gerhard Schneider
Joined: 29 Oct 2003
Posts: 5
Posted: Mon Nov 24, 2003 2:59 pm Post subject: LPC932 loosing flash program code ?
--------------------------------------------------------------------------------
I have several samples of LPC932 programmed via parallel programmer and also via flash magic, which loose their program memory after some power on/off cycles (some sectors randomly read wrong CRC).
Reprogramming the devices does work.
I erased the ISP code (beeing not sure if my program is going wild), but the error also ocurred.
Only after setting the security bytes the failure never happened again.
Anyone ever heard of something like that ?
I use Revision G silicon, brownout and reset enabled, watchdog disabled, 12Mhz clock.
Back to top
Forum Moderator
Moderator
Joined: 01 Jan 2003
Posts: 68
Posted: Mon Nov 24, 2003 8:52 pm Post subject:
--------------------------------------------------------------------------------
Gerhard,
Make sure you are not handling the XTAL pins or associated circuitry during operation. This CAN cause the oscillator to become erratic and jump into the ISP/IAP routines with unexpected and/or catastrophic results. Also, when power cycling the voltage must drop below 0.2V.
Back to top
Gerhard Schneider
Joined: 29 Oct 2003
Posts: 5
Posted: Tue Nov 25, 2003 7:29 am Post subject:
--------------------------------------------------------------------------------
Thank you for your reply,
what exactly do you mean with "handling the XTAL pins or associated circuitry during operation" ?
thx
Gerhard
Back to top
Forum Moderator
Moderator
Joined: 01 Jan 2003
Posts: 68
Posted: Tue Nov 25, 2003 2:51 pm Post subject:
--------------------------------------------------------------------------------
touching with fingers.
Back to top
Gerhard Schneider
Joined: 29 Oct 2003
Posts: 5
Posted: Wed Nov 26, 2003 9:32 am Post subject:
--------------------------------------------------------------------------------
Ok, we have cased our PCB and also redesigned power switch to guarantee short Vdd rise and fall times, but had no luck at all.
In some cases even the bootloader was overwritten, so we could not reprogram the part.
I'm searching on for other reasons, but am not very confident...
Back to top
Robert Sierzega
Joined: 28 Jun 2003
Posts: 3
Posted: Tue Mar 02, 2004 10:51 pm Post subject: Do not use a crystal higher 7.373 MHz !!!!!!
--------------------------------------------------------------------------------
We spent a long time to find out the following problem:
After an e-mail to Philips support team about our problems with LPC932 unwanted reprogramming during power cycling (I think we were not the only one), they added in an errata sheet not to cycle the power supply between 0.2 and 2.7 Volt, because POR (power on reset) CAN fail. (Even when brown out detection should avoid any problems with hang-ups).
But we found out that this is not the solution!!
By using an external crystal with 7.373 MHz or higher (limit is exactly the internal RC-oscillator ;-) ) the POR fails in some cases also when all controller pins were below 0.2 Volt! The LPC932 hangs up and will make some IAP-calls....
Next problem: It is possible to save NEARLY the whole memory from reprogramming calls by using the security bits. BUT: There are no security bits for adresses 2000H and higher (UCFG)! So after some hangups the LPC932 may forget which oscillator to use and so on ....
So please do not use a crystal higher than 7,373 MHz and there won't be a problem!!!
答 1: mcu 进入 programming 状态。不是芯片缺陷Only after setting the security bytes the failure never happened again
Philips Semiconductors Forum Index -> MCU discussion Forum
View previous toPIC :: View next toPIC
Author Message
Gerhard Schneider
Joined: 29 Oct 2003
Posts: 5
Posted: Mon Nov 24, 2003 2:59 pm Post subject: LPC932 loosing flash program code ?
--------------------------------------------------------------------------------
I have several samples of LPC932 programmed via parallel programmer and also via flash magic, which loose their program memory after some power on/off cycles (some sectors randomly read wrong CRC).
Reprogramming the devices does work.
I erased the ISP code (beeing not sure if my program is going wild), but the error also ocurred.
Only after setting the security bytes the failure never happened again.
Anyone ever heard of something like that ?
I use Revision G silicon, brownout and reset enabled, watchdog disabled, 12Mhz clock.
Back to top
Forum Moderator
Moderator
Joined: 01 Jan 2003
Posts: 68
Posted: Mon Nov 24, 2003 8:52 pm Post subject:
--------------------------------------------------------------------------------
Gerhard,
Make sure you are not handling the XTAL pins or associated circuitry during operation. This CAN cause the oscillator to become erratic and jump into the ISP/IAP routines with unexpected and/or catastrophic results. Also, when power cycling the voltage must drop below 0.2V.
Back to top
Gerhard Schneider
Joined: 29 Oct 2003
Posts: 5
Posted: Tue Nov 25, 2003 7:29 am Post subject:
--------------------------------------------------------------------------------
Thank you for your reply,
what exactly do you mean with "handling the XTAL pins or associated circuitry during operation" ?
thx
Gerhard
Back to top
Forum Moderator
Moderator
Joined: 01 Jan 2003
Posts: 68
Posted: Tue Nov 25, 2003 2:51 pm Post subject:
--------------------------------------------------------------------------------
touching with fingers.
Back to top
Gerhard Schneider
Joined: 29 Oct 2003
Posts: 5
Posted: Wed Nov 26, 2003 9:32 am Post subject:
--------------------------------------------------------------------------------
Ok, we have cased our PCB and also redesigned power switch to guarantee short Vdd rise and fall times, but had no luck at all.
In some cases even the bootloader was overwritten, so we could not reprogram the part.
I'm searching on for other reasons, but am not very confident...
Back to top
Robert Sierzega
Joined: 28 Jun 2003
Posts: 3
Posted: Tue Mar 02, 2004 10:51 pm Post subject: Do not use a crystal higher 7.373 MHz !!!!!!
--------------------------------------------------------------------------------
We spent a long time to find out the following problem:
After an e-mail to Philips support team about our problems with LPC932 unwanted reprogramming during power cycling (I think we were not the only one), they added in an errata sheet not to cycle the power supply between 0.2 and 2.7 Volt, because POR (power on reset) CAN fail. (Even when brown out detection should avoid any problems with hang-ups).
But we found out that this is not the solution!!
By using an external crystal with 7.373 MHz or higher (limit is exactly the internal RC-oscillator ;-) ) the POR fails in some cases also when all controller pins were below 0.2 Volt! The LPC932 hangs up and will make some IAP-calls....
Next problem: It is possible to save NEARLY the whole memory from reprogramming calls by using the security bits. BUT: There are no security bits for adresses 2000H and higher (UCFG)! So after some hangups the LPC932 may forget which oscillator to use and so on ....
So please do not use a crystal higher than 7,373 MHz and there won't be a problem!!!
答 1: mcu 进入 programming 状态。不是芯片缺陷Only after setting the security bytes the failure never happened again
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【EEPW电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
分享汽车通信和多媒体总线结构被打赏20分 | |
【我踩过的那些坑】结构堵孔导致的喇叭无声问题被打赏50分 | |
NUCLEO-U083RC学习历程38+串口通过队列的方式输出两个字符串被打赏20分 | |
【我踩过的那些坑】分享一下调试一款AD芯片的遇到的“坑”被打赏50分 | |
电流检测模块MAX4080S被打赏10分 | |
【我踩过的那些坑】calloc和malloc错误使用导致跑飞问题排查被打赏50分 | |
分享电控悬架的结构与工作原理(一)被打赏20分 | |
多组DCTODC电源方案被打赏50分 | |
【我踩过的那些坑】STM32cubeMX软件的使用过程中的“坑”被打赏50分 | |
新手必看!C语言精华知识:表驱动法被打赏50分 |