J-link(vesion is V7.56b) download problem

Can I write a J-link flash algorithm by myself? Is there any open source Flash download algorithm for reference?When I call west Flash --recover, I can skip the 4K flash space in 1M flash without erasing it

And why can't I find the download algorithm file of NRF5340 in the driver of J-Link, as shown in my screenshot?

Parents
  • Hi,

    I suggest you ask Segger about writing flash algorithms yourself. Also, I cannot say what these files you refer to are used for in ST devices.

    I wonder though, what is the real issue here? What is it you are not able to do, or what is not working the way you expected? Please elaborate.

    Without understanding the root issue here, I wonder if the problem is that you see that after doing recover the flash is not empty, is that the case? If so, that is correct, and is because when you do recover a small piece of code is written to the device which unlocks the debug port to allow future programming and debugging. If the device flash is empty this will not be possible without a new recover, due to the APPROTECT mechanism in the nRF5340.

Reply
  • Hi,

    I suggest you ask Segger about writing flash algorithms yourself. Also, I cannot say what these files you refer to are used for in ST devices.

    I wonder though, what is the real issue here? What is it you are not able to do, or what is not working the way you expected? Please elaborate.

    Without understanding the root issue here, I wonder if the problem is that you see that after doing recover the flash is not empty, is that the case? If so, that is correct, and is because when you do recover a small piece of code is written to the device which unlocks the debug port to allow future programming and debugging. If the device flash is empty this will not be possible without a new recover, due to the APPROTECT mechanism in the nRF5340.

Children
No Data
Related