MCU fails to program suddenly.... Did I get a dud?

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

MCU fails to program suddenly.... Did I get a dud?

跳至解决方案
1,313 次查看
danielbronson
Contributor II

I recently purchased an evaluation product of the MC56F8257 DSC.  The tower board (TWR-56F8257) arrived and I was able to successfully program it one single time. 

I ran a simple example code (eFLEX lab) on the board.  After that initial programming, it now fails to program.

I am running Codewarrior Eclipse v10.3.  When I try to run the code on the board, no errors occur in the project build.  The programming progress bar climbs to 99% and everything freezes.  The 3rd party flash programming begins and initializes the target.  At which point it says, "Loading programming algorithm..."

But nothing happens.  I have left it for 8 hours with no progress. 

I am concerned that I received a defective product.

This is a time-critical project, so anything that can be done quickly will be extremely appreciated.

 

标签 (1)
1 解答
1,144 次查看
danielbronson
Contributor II

For anyone experiencing this same problem, I had accidentally programmed the RESET line to a GPIO.  This is what caused the programmer to not be able to program it anymore.  I fixed it by holding the reset button down before plugging the board power in.  Then I programmed the board, and when the downloading of the program pauses, I let go of the reset button and the 'correct' program was successfully written.

在原帖中查看解决方案

2 回复数
1,145 次查看
danielbronson
Contributor II

For anyone experiencing this same problem, I had accidentally programmed the RESET line to a GPIO.  This is what caused the programmer to not be able to program it anymore.  I fixed it by holding the reset button down before plugging the board power in.  Then I programmed the board, and when the downloading of the program pauses, I let go of the reset button and the 'correct' program was successfully written.

1,144 次查看
Monica
Senior Contributor III

Daniel, is great to know you were able to find and correct the problem.

Thanks for sharing it!

Best regards.

0 项奖励
回复