LPC54606 chip LPC54606J512BD100 not loading the programmed code

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

LPC54606 chip LPC54606J512BD100 not loading the programmed code

1,353 次查看
FirmwarePrgrammer
Contributor I

Hello All,

I have an issue with a board that uses LPC54606J512BD100 chip as the main microcontroller. Initially the chip programmed as expected the board was functioning. The LEDs are blinking and the firmware is also running.

After a few months of usage, the board came back with an issue that it is not doing anything. At the beginning there was some sort of short at the power supply pin causing no power to the microcontroller. However after that got resolved and the micro is now getting proper power the firmware is no longer running. 

I have checked each and every pin with a good working board and the micro is getting exactly same voltage, clock source and power to each and every pin. There is nothing that tells that the micro cannot work. 

When I tried to reprogram the micro using flashmagic, it won't let me. After reading through the programming documentation, I saw that the ISP was being set to load the programmed image. This makes sense since the micro has already been previously programmed. I shorted the ISP pin to cause the micro to allow programming again. I was able to sucessfully program the micro using flashmagic. I removed the manual short and ISP pin went back to the setting of loading the programmed code. However it still wont run the firmware.

Does anyone know what could have happened to the chip? Is it stuck in a mode which it cannot get out from? Did the bad power cause the chip to go into such mode? Is there a way to get it out of that mode? How can I tell if the chip is no longer good? 

At beginning I thought maybe the code got corrupted and the micro cannot load the image anymore. But reprogramming the chip should have fixed that but it didn't. Any ideas on where to look next?

0 项奖励
回复
4 回复数

1,344 次查看
frank_m
Senior Contributor III

> After a few months of usage, the board came back with an issue that it is not doing anything. At the beginning there was some sort of short at the power supply pin causing no power to the microcontroller.

You don't know what else happened to the board and the controller. Some flash cells might be damaged, or other parts of the MCU.

Perhaps you can run some Flash test, e.g. just programming some patterns and read it back.

By the way, my company does not allow to ship modified/repaired field return ECUs back to customers. They will receive a new one.

0 项奖励
回复

1,340 次查看
FirmwarePrgrammer
Contributor I

The Customer already got new ones.  Just trying to figure out why is the micro not running the programmed code anymore. 

0 项奖励
回复

1,348 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Please try to make chip enter ISP mode, then use Flash Magic erase all, check whether can successful?

If yes, then program a simple demo led .bin file into it, pay attention, make sure there is no printf code in your project.

If still can't work, take a video or screenshot show your steps and results.

 

BR

Alice

0 项奖励
回复

1,339 次查看
FirmwarePrgrammer
Contributor I

I will try that and respond back.  Thanks

0 项奖励
回复