共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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 【S32K3XX】LPSPI参数配置说明被打赏¥21元 | |
| 在WT9932C61-TINY上实现超声波测距被打赏¥22元 | |
| 基于WT9932C61-TINY的环境构建及OLED屏驱动测试被打赏¥20元 | |
| 【S32K3XX】Core-to-Core 中断使用被打赏¥21元 | |
| 「AI编程记录--含源码」用一晚上的时间写一个esp32的示波器被打赏¥19元 | |
| STM32C0116DK开发探索记(3)被打赏¥30元 | |
| STM32C0116DK开发探索记(2)被打赏¥24元 | |
| STM32C0116DK开发探索记(1)被打赏¥29元 | |
| 谨防极海G32M3101电机评估板易跌落的陷阱被打赏¥24元 | |
| 【全网首拆】M5STACK ATOM系列开发板拆解 / AtomS3R-CAM摄像头更换方法(提高10倍像素)被打赏¥26元 | |
我要赚赏金
