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