Search Results

Search results 1-6 of 6.

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

  • It seems like the extra sector is being erased whenever an erase call is done with the JLink. So JFlash and JLink commander both do the same thing. If I do an internal erase or use the nxp ISP interface, then the behavior is as expected. Maybe there is something in the erase abstraction that is causing an extra sector to erase?

  • We are debugging a Bootloader on an NXP lpc55s06 device and when launching the debugger, it erases the the size of the debugger + 1 extra sector of the application. How is the erase size determined? In our situation, we have a bootloader from 0 - 0x8FFF, and the application from 0x9000 and above. I then launch the debugger to debug the bootloader, but the first sector of the application is erased. The other sectors of the application have been confirmed to be okay and untouched by launching the …

  • Thanks Alex. Are there any website links that you can point me towards that could give some examples and/or guidance on developing ones own scripts with the InitTarget() and SetupTarget() functions?

  • Is there any way to handle the read/write protection pop up window in a JLink commander script? It is quite annoying that instead of having that question appear in the terminal, it comes up as a pop up. And I want a way in my Jlink script to answer "No", or ensure it is "No" if a user has remembered selected action as "Yes"

  • Just as a follow-up. It seems like I am able to program a device in single bank mode with the inbuilt device type "stm32g473ve" without even having to use the jlinkdevices.xml. Do I even need to use the custom xml? Also, the erase command is working even when the write protect option bits are set. I can't quite understand how this is happening. If I use the ST debugging tools, they will throw an error if I try to erase with the write protection on, but somehow the JLink is able to erase anyway. …

  • I am trying to use the JLink pro to configure, flash and then protect an STM32G4 microcontroller in single bank mode using a jlink commander cli script. I went to the stm32g4 wiki, but have some questions. Regarding the option bits. The note says that all the option bits should be configured at once. Does this have to be done using the loadfile command? Also, I configured a jlinkdevices.xml file as described in the wiki.segger.com/STM32G4 page, and used the provided flashloader elf file for sing…