This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220S: devMAC progrmming through SLImageCreator.exe

Part Number: CC3220S
Other Parts Discussed in Thread: UNIFLASH,

Hi team,

I was trying to program custom MAC address through CLI SLImageCreator.exe

I found it always showing unable to find the cfg.json file.

here's my cfg.json file content.

{
    "SimpleLink":
        {
            "devMac"    : "CC:BB:00:00:00:AA"
        }    
}

And the command line

C:\ti\uniflash_6.0.0\simplelink\imagecreator\bin>SLImageCreator.exe image program --file ..\examples\cc3220s_out_of_box_tirtos_Programming.sli --port COM95 --cfg_json ..\examples\cfg.json

I also tried absolute path but still showing cfg.json doesn't exist, please help!

  • Hey Jo,

    Thank you for pointing this out to us, we are currently looking in to it.

    We will update you next week when we have new information.

    Thanks,

    Paul

  • Hey Jo,

    That error messages seems to always appear. This a bug that's currently being tracked. However if you provide a correctly formatted .json file it should work despite the error message.

    In this case, the reason it's not correctly editing the MAC address is because you can not edit the MAC while programming the image. You need to reconfigure the .json file and create a new image to change the MAC. You can do this by using the reconfig command and then running create_image. Or you can simply run create_image with your .json file using the --cfg_json flag.

    Regards,

    Paul