freetech

MC56F80xx系列DSC复位引脚被当做GPIO后的烧写方法

0
阅读(18635)

在引脚比较紧张的情况下,有时要把RESET脚复用成GPIO,但这样之后再下新程序就麻烦了,有一个专门工具软件可以解决这个问题,但要用并口JTAG电缆。飞思卡尔官方有个FAQ“FAQ-27571”。为方便阅读翻译一下:

1)打开DOS命令窗口,切换到“flashjtagloader”所在路径。

2)按住板子上的复位按钮。

3)给目标板加电。

4)输入下面的DOS命令:

Flashjtagloader flash803x.cfg ledtoggle.s

5)当屏幕上出现"Press any key after you release the /RESET button on the board..." 信息时,松开复位按钮。

6)按回车键。

Question.  I am using 56F8037EVM. After my code is downloaded to the board and run it with CodeWarrior,CodeWarrior can not communicate with my board any more.
Answer.  This issue is mostly resulted from the application code configuring /RESET pin as GPIO pin on 56F80xx. To solve this issue, please use the attached FlashJtagLoader for 56F80XX Utility. It can automatically recover the /RESET pin with minimum manual work. Please follow the steps below:
1) Open a DOS command window and change the current directory to the one where the flashjtagloader tool reside;
2) Press and hold the /RESET button on the board;
3) Appy the power to the board;
4) Enter the following DOS command:
Flashjtagloader flash803x.cfg ledtoggle.s
5) When "Press any key after you release the /RESET button on the board..." message appears on the screen, release /RESET button;
6) Press Enter key;
Here is FlashJtagLoader for 56F80xx which can recover /RESET pin:
FlashJtagLoader for 56F80xx