Skip to end of banner
Go to start of banner

Configuration File

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

The first startup of NXP-Flasher shows a window with default settings. After you adjust the settings to your needs and close the application, the settings will be saved in the configuration file. This allows retaining previous settings after restarting the application.

It is possible to save many more configuration files to the location you specify. It is possible to recreate a given configuration by loading a previously saved configuration.

Configuration file content

The configuration file mainly contains parameters for commands sent to the MCU bootloader or Flashloader

The table below shows the list of parameters that are in the configuration file:

Parameter

Limitation/Range

Description

Usage

Flashloader_FileName

supported files: .bin

Absolute path to Flashloader binary file

Image_FileName

supported files: .bin, .s19, .sb

Absolute path to Image file

OTP_FileName

supported files: .json, .bin

Absolute path to fuse data file for OTP memory

MCU_name

supported families: RT10xx, RT11xx

Target_EN

0-255

Interface

USB HID only

Host computer connection interface with target MCU

OTP_WrAutoProgramEn

0 or 1

OTP_LockAutoProgramEn

0 or 1

Flashloader_Default_Setup

0 or 1

Flashloader settings relate to the load address, jump address, and binary file. This option means choosing between the settings: 1 - default 0 - user defined

UserMemoryOptions

0 or 1

Selection of address ranges for read delete and write operations. 0 - Defined by image file, 1 - User defined

EraseAll

0 or 1

Boot_Dev_Type

0,1,2

0 - Nor Flash
1 - SD
2 - Nand

Memory_Configuration_Address

Load Address for Memory_Configuration_Word1

F_MemoryConfig()

Memory_Configuration_Word1

External Flash configuration word

F_MemoryConfig()

Memory_Configuration_Word2

External Flash configuration word2

F_MemoryConfig()

Memory_ID

0 … 0xFF

External memory ID

F_MemoryConfig()

Memory_Size

Property_Tag

0 … 0x20

F_GetProperty()

Property_Value

0x0000 0000 … 0xFFFF FFFF

F_SetProperty()

Read_Start_Address

0x0000 0000 … 0xFFFF FFFE

Read memory start address.

F_Read() if UserMemoryOptions = 1

Read_Stop_Address

0x0000 0001 … 0xFFFF FFFF

Read memory end address

F_Read() if UserMemoryOptions = 1

Write_Erase_Start_Address

0x0000 0000 … 0xFFFF FFFE

Start address for Eraase and Write operations

F_Erase() if(UserMemoryOptions == 1 and EraseAll ==0)

Write_Erase_Stop_Address

0x0000 0001 … 0xFFFF FFFF

End address for Eraase and Write operations

F_Erase() if(UserMemoryOptions == 1 and EraseAll ==0)

Flashloader_Load_Address

Internal RAM address range

Flashloader_Jump_Address

Internal RAM address range

Flashloader_VID

0x0000 … 0xFFFF

USB Vendor ID of Flashloader running in MCU

F_Connect(), F_Load_OS() if (Flashloader_Default_Setup == 0)

Flashloader_PID

0x0000 … 0xFFFF

USB Product ID of Flashloader running in MCU

F_Connect(), F_Load_OS() if (Flashloader_Default_Setup == 0)

MCU_VID

0x0000 … 0xFFFF

USB Vendor ID of MCU

MCU_PID

0x0000 … 0xFFFF

USB Vendor ID of MCU

  • No labels