AnsweredAssumed Answered

Programming multiple ADuC7xxx Evaluation Boards

Question asked by ralee9 on Feb 24, 2014
Latest reply on Feb 25, 2014 by ralee9

Hi all,

 

My group is using two separate ADuC7026 evaluation boards for a project. Each board is running separate code and hardware. I am attempting to program both using the same laptop, currently running the Keil uVision 4.72 IDE (lite version). My current JLink driver is V4.80c.

 

Board #1 was my original platform, and to get Board #2 working, I needed to use the ARMWSD tool to mass erase/ program compiled code to Board #2 via UART. After this fix, I am currently able to program Board #2 using uVision with no problem.

 

However, now when I attempt to program Board #1 in the IDE, the code compiles as usual, but I get the following error stream immediately upon attempting to flash to memory:

 

---

Device = ADuC7026

Info: Device "ADUC7026X62" selected (62 KB flash, 8 KB RAM).

VTarget = 3.332V

Info: TotalIRLen = 4, IRPrint = 0x01

***JLink Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0x3 (TAP Command : 12) @ Off 0xD4.

Info: Failed to read memory before ADI software reset.

***JLink Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0x7 (TAP Command : 2) @ Off 0x5.

DLL version V4.80c, compiled Jan 21 2014 20:01:42

Firmware: J-Link ARM V8 compiled Nov 25 2013 19:20:08

Hardware: V8.00

Info: Failed to halt CPU core before ADI software reset.

JTAG speed: 750 kHz

Full Chip Erase Failed!

Cannot read memory

***JLink Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0xF (TAP Command : 15) @ Off 0x5.

---

 

On successive attempts to reprogram Board #1, I get the following errors:

 

---

Device = ADuC7026

Info: Device "ADUC7026X62" selected (62 KB flash, 8 KB RAM).

VTarget = 3.325V

Info: Could not measure total IR len. TDO is constant high.

Info: Could not measure total IR len. TDO is constant high.

Info: Could not measure total IR len. TDO is constant high.

Info: Could not measure total IR len. TDO is constant high.

DLL version V4.80c, compiled Jan 21 2014 20:01:42

Firmware: J-Link ARM V8 compiled Nov 25 2013 19:20:08

Hardware: V8.00

Info: Could not measure total IR len. TDO is constant high.

Info: Could not measure total IR len. TDO is constant high.

Hardware-Breakpoints: 0

Software-Breakpoints: 0

Watchpoints: 0

Info: Could not measure total IR len. TDO is constant high.

Invalid core Id. (0x00000000)

Trying to connect with 5 kHz !

Info: Could not measure total IR len. TDO is constant high.

Invalid core Id. (0x00000000)

---

 

Attempts to use the ARMWSD tool on Board #1 have been unsuccessful. I had working code on Board #1 before beginning to work on Board #2, but Board #1 no longer works ever since I've successfully programmed Board #2. The Board #1 code is only approx. 30kB in size.

 

I am not totally familiar with debug techniques or specifics, so detailed help or leads would be greatly appreciated. Thank you very much for your time!

Outcomes