Hi segger experts,
Recently I encountered a problem that when I debug the program of the RAM target in the SES V6.32b, the program doesn't stop at main(). The reason is the PC value of the risc-v doesn't point to the _start at the begining.
I need to click the "Restart" button every time and then it works fine.
![](https://forum.segger.com/index.php/Attachment/5206-restart-PNG/?thumbnail=1&s=6ca3c68b2f28b58cebaa8d28b0bf05dc0b7098cb)
Therefore, I wonder if there is a method that can set the PC of the risc-v to a specific value before "go" command execute, such as do some command in the jlinkscript or any other suggested ideas.
Thanks in advance,
Gavin
Recently I encountered a problem that when I debug the program of the RAM target in the SES V6.32b, the program doesn't stop at main(). The reason is the PC value of the risc-v doesn't point to the _start at the begining.
I need to click the "Restart" button every time and then it works fine.
Therefore, I wonder if there is a method that can set the PC of the risc-v to a specific value before "go" command execute, such as do some command in the jlinkscript or any other suggested ideas.
Thanks in advance,
Gavin
The post was edited 2 times, last by GavinLi ().