Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The first step is to select a microcontroller model

  2. Connect up to 8 devices to the USB ports and run a scan to identify the paths to the ports where the devices are connected. And check MCU connection after scan.

  3. Add the files to be programmed:

    1. Flashloader

    2. Image (.bin, .s19 or .sb)

    3. Fuses values programmed in OTP

  4. Memory Configuration

  5. Memory Erase

  6. Memory Read & Verify

Table of Contents

Selecting target MCU

...

The first mandatory step is to select the microcontroller you want to program. The variants supplied can be found in the field MPU/MCU/Board Type:

...

If the connection fails it will be indicated by (blue star) in the "Final" column

...

Browsing for

...

firmware files

NXP Flasher allows programming of all file types (.bin, .s19, .sb) provided for the iMX.RT family of microcontrollers, including OTP memory. Programming of images and OTP can only be done by connecting to a bootloader application called "Flashloader".

...

  • The "Current Value" column shows the fuse word values read from the selected target.

  • The "Required Value" column displays the fuse word values loaded from the OTP file

  • The window does not display all words at once, to view subsequent values, select the appropriate page by checking the checkbox "Page 1" or "Page 2".

...

Writing OTP

The configuration for writing and verifying values in OTP is in the "OTP Options" section.

...

The first step is to load the OTP data file by “Open OTP File“ button. Acceptable formats are .bin and .json. The .json file is parsed and its data is saved to the .bin file. The format of the .json file is the same as the output file from MCUxpresso Secure Provisioning software.

...

In the second step:

choose to unlock the “Write” button by “Button enable“ checkbox.

...

or allow OTP programming in the "Autoprogram" sequence.

...

In the third step, you can write the OTP values with the "Write" button if the Flashloader is loaded, or via the "Autoprogram" button

Locking MCU

MCU locking is accomplished by setting the fuse bits in the first word of the OTP memory area. This value is also in the OTP file, but is ignored when programming the OTP memory. Locking the processor is the last programming step and can be done manually or as the last "Autoprogram" procedure.

...

Manual CPU locking is available in the "OTP Options" field in the main window. First, make sure that the OTP file is loaded and that the value of the first OTP word is non-zero. Then unlock the "Lock" button by checking the "Button Enable" checkbox.

...

MCU Locking in Autoprogram

...