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.
已解决! 转到解答。
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.
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.