Trouble with FlashCli

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trouble with FlashCli

636 Views
mariocosta
Contributor I

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

_Router_JN5168_DEBUG.bin

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.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00

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\

xxxxxx_xxx_xxxx_Build\Binary\0xXXXXXXXXu_xxxxxxx

_Router_JN5168_DEBUG.bin

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) >

y

Traceback (most recent call last):

  File "FlashCLI.py", line 494, in CLIMain

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

FlashUtilsError

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.

Thanks

Mario

0 Kudos
1 Reply

411 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

 Hi Mario,

I recommended to you, check the JN51xx Production Flash Programmer User Guide, use the JN51xxProgrammer.exe

3.5 Set MAC Address of JN51xx Device

http://www.nxp.com/documents/user_manual/JN-UG-3099.pdf 

Regards,

Mario

0 Kudos