Mario Costa

Trouble with FlashCli

Discussion created by Mario Costa on Aug 23, 2016
Latest reply on Apr 3, 2017 by Mario Ignacio Castaneda Lopez

I'm using the following command using the FlashCli command line utility to program JN5168 devices and the the MAC address to a specific value:


C:\>\Tools\flashprogrammer\FlashCLI -s -a -c COM10 -m 00:15:8D:00:00:02:00:05 -f  C:\NXP\bstudio_nxp\workspace\xxxxxx_xxx_xxxx_Build\Binary\0xXXXXXXXXu_xxxxxxx


It consistently fails with the following message:


NXP JN51xx Flash Programmer 1.8.9


Connecting to device on COM10.

Verifying connection to flash

Connected device Information:

Devicelabel:           JN516x, BL 0x00080006

FlashLabel:            Internal Flash (256K)

Memory:                0x00008000 bytes RAM, 0x00040000 bytes Flash

ChipPartNo:            8

ChipRevNo:             1

ROM Version:           0x00080006

MAC Address:           00:15:8D:00:00:DC:77:95

ZB License:            0x00.

User Data:             00:00:00:00:00:00:00:00

FlashMID:              0xCC

FlashDID:              0xEE

MacLocation:           0x00000010

Sector Length:         0x08000

Bootloader Version:    0x00080006



Saving MAC and license

Programmming file C:\NXP\bstudio_nxp\




Using MAC address '00:15:8D:00:00:02:00:05'

Program write once MAC address with: 00:15:8D:00:00:02:00:05

(yes / no) >


Traceback (most recent call last):

  File "", line 494, in CLIMain

  File "FlashUtils.pyo", line 1178, in bProgramJN615xMacAddress



Please explain what I'm doing wrong. I could not find any example showing how to program the MAC address using the command line tool.