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=34cec0242f64f48635541e65f0b3b087b1aaa04a)
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 ().