This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640F128RGZ无法下载程序问题

Other Parts Discussed in Thread: SEGGER

TI工程师,您好!

我们通过J-LINK和UART的方式都无法下载程序。

具体的现象如下:

1、通过SEGGER J-Flash V4.98a可以连接到目标板,但是当连接成功后,再点击“Disconnect”,这时出现错误“ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got 0x0 (TAP Command : 10) @ Off 0x5.”

2、通过SEGGER J-Flash V4.98a可以连接到目标板,但是当连接成功后,再点击“Reading entire flash chip ...”,可以正常的将个FLASH空间的内容读取出来,提示如下:

Reading entire flash chip ...
- 32 sectors, 1 range, 0x0 - 0x1FFFF
- RAM tested O.K.
- Target memory read successfully. (131072 bytes, 1 range) - Completed after 1.686 sec

3、通过SEGGER J-Flash V4.98a可以连接到目标板,但是当连接成功后,再点击“Erasing chip ...”,擦除到99%时无法再进行下去,提示如下:

Erasing chip ...
- Erasing 32 sectors, 1 range, 0x0 - 0x1FFFF
- RAM tested O.K.
- Erasing bank 0, sector 31
- ERROR: Timeout while erasing sector, core does not stop
- ERROR: Failed to erase chip
Disconnecting ...
- ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got 0x0 (TAP Command : 10) @ Off 0x5.

以上现象不知做何解释,请帮忙解决,谢谢!!