Panel | ||||
---|---|---|---|---|
| ||||
Can you tell me how to set the unit and chipselect in the luascript to flash files in different flash typesHow to use command line to read/write netX 90 internal/external flash? |
Panel | ||||
---|---|---|---|---|
| ||||
Please use the flasher command line option info to get the desired information. Example for netX 90 is shown below. enter inside a windows command line: > lua5.1.exe cli_flash.lua info enter number of the connected interface to the netX 90 look for the following information inside the output of the flasher
use this information for the parameter -b and -u use for the internal flash always -cs 0. The final netX 90 version will not have any support to program other pages of the internal flash than the main flash. This is cs 0. Please see also the following examples of flashing a file: A file can be written in "flash" mode. The offset in flash is 0 by default, which corresponds to the beginning of the memory area. This can be changed with the option "-s". Examples: Flash the file "firmware.bin" into memory on bus 1, unit 0, chip select 0 and offset 0:
Flash the file "firmware.bin" into memory on bus 1, unit 0, chip select 0 and offset 0x1000:
Write to internal flash: parameter cs is always 0 for netX 90 to address the internal flash memoryCOM area: at offset 0x3000
The Flasher CLI is an open-source command line application for Linux and Windows. It is licensed under GPL-2.0. This tool is integrated into netXStudio. The Flasher CLI is designed to be used by an advanced user. A GUI interface for the Flasher is provided via the netX Studio. For more information, please refer to FAQ CLI Flasher |
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|