Forum : ARM
Original Post
Post Information | Post |
---|---|
January 19, 2008 - 4:37pm
|
How do I configure RLink when there is a MCU and CPLD in the chain. Chain is: RLink TDI -> MCU TDI, MCU TDO -> CPLD TDI, CPLD TDO Rlink TDO. When launching debug, I get an error message "Wrong ID code detected: Expected 0x2BA00477, read: 0x774008EE". I assume that the code detected is this of the CPLD. Thanks |
Hi,
First, you must know the length of the IR register of the CPLD.
It should be in the CPLD's documentation.
If not, ask the CPLD's manufacturer.
Then, configure RIDE or RFlasher like this (assuming the CPLD contains only one JTAG TAP):
* uncheck "single device"
* Type...
DRB = 0
IRB = 0
DRA = 1
IRA =
Of course, if the CPLD contains several JTAG TAPs, it is more complex than this: DRA should be set to the number of TAPs, and IRA to the sum of the lengths of the TAPs.
You will find more information on this in the GettingStartedARM documentation.
Best Regards,
Vincent