[SOLVED] Read manipulate and write fuse settings using J-link Commander Script Commands

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

  • [SOLVED] Read manipulate and write fuse settings using J-link Commander Script Commands

    Currently we use a python script to read the Fuses (in effect 8 bytes) of a Microchip SAMD20J family chip (utilising AtmelStudio commands). We then manipulate a couple of bits using Python and re-write the fuses (8 bytes) again using Atmel Studio commands

    We can do a similar thing calling J-link Commander instructions.

    However we would like to do everything within a J-Link script and not rely on Python to do the 'bit' manipulation (of the fuse settings)
    Is this possible and can you give an example
  • Hello,

    Thank you for your inquiry.
    A JLinkScript can be used for something like this.
    You can use the MEM_API calls for this e.g. JLINK_MEM_WriteU32
    More information can be found in the J-Link user manual Um08001.
    Examples of JLinkScripts can be found in the J-Link install folder under /samples/JLink.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.