Hello,
I have a problem programming the SM470R1B1M. Anyone has the same issue or just me?
We have 5 custom prototype boards, and 3 out of 5 boards we able to program the processor. All the boards had the same circuits, and we had checked to make sure all the components were properly soldered.
We've contacted IAR, we managed to program 3 boards out of 5 by adding hw_reset() in the *.mac file.
The other 2 boards, we encountered the following programming issue, both in RAM and Flash modes. IAR technical support advised us to contact TI for help.
1. Problem board #1, Error message:
Found 1 JTAG device, Total IRLen = 4:
#0 Id: 0x3100E02F, IRLen: 4, IRPrint: 0x1 ARM7TDMI Core
J-Link found 1 JTAG device(s). ARM core Id: 3100E02F ARM7
...
Fatal error: Failed to prepare for programming. Could not read target memory. Please check your flash settings! Session aborted!
2. 1. Problem board #2, Error message:
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Fatal error: Could not find supported CPU core on JTAG chain Session aborted!
Why we cannot program the processor?
For the boards that we able to program we need to do a hw_reset in the *.mac fie:
execUserPreload()
{
__hwReset(0); //<---This is a must, else we'll get download
// verification error. This is not needed for TMS470R1B1M
SetupRAM();
}
Thank you very much for helping!