Today i ran into a very strange problem. I was testing FreeRTOS and the flash image i tested running ok on the board until i went to debug and found it had broken the JTAG chain with this error on connection:
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc
With no way of flashing with JTAG i eventually resorted to serial port flash of a known good image and this worked out fine.
I have not investigated the faulty code yet but I’m thinking a startup code/memory mapping problem. Obviously any pointers to why would be appreciated.
However my questions is: Is it possible to rescue the board with JTAG alone and if so how is this achieved when it is in the above error state?