Hi,
I need your ideas again to solve my new problem.
I have encountered to the bellow error when I wanted to program my code, but everything was fine and I ran the code many times. I was turning the power supply off and on to see if the code is working ok or not at start, and suddenly I found that I couldn’t program the micro again.
I don’t know this may be a hardware fault in our circuit that once appeared or something else happened.
The processor is TMS570ls20216 and it is connected to the TPS65381 power management IC and I was running the watchdog function in my code and there was no problem.
This is the error:
CortexR4: Trouble Reading Register SP: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 5.1.641.0)
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR4: Error initializing flash programming: Target failed to read 0xFFFFFFF0
CortexR4: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
CortexR4: File Loader: Verification failed: Values at address 0x0000000000000000 do not match Please verify target memory and memory map.
CortexR4: GEL: File: D:\workspace_v6_1\TPS65381\Debug\TPS65381.out: a data verification error occurred, file load failed.
Thanks in advance,
Fatemeh