Dear Team,
Controller Used: Toshiba TX03 series TMPM3xx Microcontroller. (ARM Cortex M3)
IDE Used: IAR EMbedded Workbench
Jlink Version: 6.16h
Jlink Debug Interface: SWD
First let me tell that the complete set up was working fine and I was able to flash and run the programs, And I have not changed any hardware connection or configurations.
--> At some point of time, I wrote to peripheral register without waiting for a specific time (specification says to wait for some CPU CLK cycles) after peripheral reset. After this point I was not able to flash the the board. whenever I try to do 'download and debug' on IAR, a pop-up appears saying "DAP error while reading DP-Ctrl-Stat register" (refer attachment snap1.jpg, iar.log and 1.txt).
--> I tried to erase chip using segger j-flash lite 6.16h, but it failed with error. (please refer attachment jfalsh_lite.txt)
--> I tried to execute some Jlink commands using jlink.exe (I could connect), but some are failing. (please refer to attachment jlink_commands.txt)
Please help me to figure out what has gone wrong.
TIA,
Niaar
Controller Used: Toshiba TX03 series TMPM3xx Microcontroller. (ARM Cortex M3)
IDE Used: IAR EMbedded Workbench
Jlink Version: 6.16h
Jlink Debug Interface: SWD
First let me tell that the complete set up was working fine and I was able to flash and run the programs, And I have not changed any hardware connection or configurations.
--> At some point of time, I wrote to peripheral register without waiting for a specific time (specification says to wait for some CPU CLK cycles) after peripheral reset. After this point I was not able to flash the the board. whenever I try to do 'download and debug' on IAR, a pop-up appears saying "DAP error while reading DP-Ctrl-Stat register" (refer attachment snap1.jpg, iar.log and 1.txt).
--> I tried to erase chip using segger j-flash lite 6.16h, but it failed with error. (please refer attachment jfalsh_lite.txt)
--> I tried to execute some Jlink commands using jlink.exe (I could connect), but some are failing. (please refer to attachment jlink_commands.txt)
Please help me to figure out what has gone wrong.
TIA,
Niaar
The post was edited 1 time, last by Niar ().