Hi,
I have a IAR J-Link ARM V8 with J-Link V6.12g installed.
I have been trying to do an erase or image flash manually to EM357 using J-Link.exe, however, i keep getting a "RAMcode did not respond in time" error. Error code -5.
I am able to halt/step through the CPU, read the register/memory. So I think the JTAG connection should be alright.
I thing I notice is in the message log, when I do a erase command, the follow log message appear:
T5A04 085:845 JLINK_EraseChip()Old firmware which does not support pausing periodic actions during flash download -- -------------------------------------- -- Start of determining dirty areas -- End of determining dirty areas -- Start of preparing flash programming -- Calculating RAM usage -- RAM usage = 5716 Bytes -- Preserving CPU registers -- Preparing memory -- Determining CPU clock frequency -- Preparing target -- Downloading RAMCode -- Checking target RAM -- Preparing RAMCode
-- End of preparing flash programming -- CPU speed could not be measured. -- Start of erasing sectors -- Erasing range 0x08000000 - 0x08007FFF (016 Sectors, 32 KB)
***** Error: Timeout while erasing sectors, RAMCode did not respond in time -- End of erasing sectors -- Start of restoring -- Restoring RAMCode -- Restore target -- Restore memory -- Restoring CPU registers -- End of restoring
-- Total time needed: 10.054s (Prepare: 0.037s, Compare: 0.000s, Erase: 10.005s, Program: 0.000s, Verify: 0.000s, Restore: 0.012s) returns -5 (10059ms, 10267ms total)
"Old firmware which does not support pausing periodic actions during flash download". I don't know if it is related.
JLink_log.txt
Attached is the log of the operation
I need help on issue. Thank you
Ricky Chau
I have a IAR J-Link ARM V8 with J-Link V6.12g installed.
I have been trying to do an erase or image flash manually to EM357 using J-Link.exe, however, i keep getting a "RAMcode did not respond in time" error. Error code -5.
I am able to halt/step through the CPU, read the register/memory. So I think the JTAG connection should be alright.
I thing I notice is in the message log, when I do a erase command, the follow log message appear:
T5A04 085:845 JLINK_EraseChip()Old firmware which does not support pausing periodic actions during flash download -- -------------------------------------- -- Start of determining dirty areas -- End of determining dirty areas -- Start of preparing flash programming -- Calculating RAM usage -- RAM usage = 5716 Bytes -- Preserving CPU registers -- Preparing memory -- Determining CPU clock frequency -- Preparing target -- Downloading RAMCode -- Checking target RAM -- Preparing RAMCode
-- End of preparing flash programming -- CPU speed could not be measured. -- Start of erasing sectors -- Erasing range 0x08000000 - 0x08007FFF (016 Sectors, 32 KB)
***** Error: Timeout while erasing sectors, RAMCode did not respond in time -- End of erasing sectors -- Start of restoring -- Restoring RAMCode -- Restore target -- Restore memory -- Restoring CPU registers -- End of restoring
-- Total time needed: 10.054s (Prepare: 0.037s, Compare: 0.000s, Erase: 10.005s, Program: 0.000s, Verify: 0.000s, Restore: 0.012s) returns -5 (10059ms, 10267ms total)
"Old firmware which does not support pausing periodic actions during flash download". I don't know if it is related.
JLink_log.txt
Attached is the log of the operation
I need help on issue. Thank you
Ricky Chau