[ABANDONED] How to set the PC in the jlinkscript

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [ABANDONED] How to set the PC in the jlinkscript

    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.


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