This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear TI Team
unfortunately I have a flash erase problem.
I tried method 1 of:
which is:
1. Open the target configuration window, and launch the selected the configuration
2. Switch to debug window
3. Press the reset (nRST) button and hold it
4. Click “Connect Target” immediately after you release the nRST button
5. The board should be connected after couple tries
I was able to connect (Point 5), but when I want to flash a healthy code I get the following error message:
CortexR4: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
The problem occurred because I have changed the HalCoGen settings from the internal OSC to the external OSC (20MHz) and used the following settings:Which was the reason why I can not flash the MCU again.
I can see the following registers by doing the steps described above (1-5):
But I dont know what I need to do the erase the current flash:
Could you please help me out?!
Ok I found it out and it works again. After step (5) I started a debug session from the healthy code and not from the target configuration file:
6. Switch to debug window from healthy code
7. Press the reset (nRST) button and hold it
8. Click “Connect Target” immediately after you release the nRST button
9. The board should be connected after couple tries