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.

CC3220SF-LAUNCHXL: UniFlash 4.1 OSX : invalid literal for int() with base 10

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Image Creator

Hi,

I have the CC3220SF-LaunchPad and I try to connect the board with UniFlash 4.1.1.1250 for MacOS in CC3220 image creator mode, I can't connect the board and browse the files in the SPI flash or update the service pack. I got this message: Operation failed: Unhandled exception: invalid literal for int() with base10: 'E0071001'

Do you have any success to connect the CC3220 with UniFlash on MAC? 

Thanks

  • Hi Patrick,

    We'll need to loop in our MAC experts.
    Please expect a response in couple of days.

    br,
    Kobi
  • Many thanks Kobi,


    Looking forward to see a fix soon. 

    Best Regards,

    Patrick

  • Hi Patrick,

    Please try to reinstall the uniflash. It was verified on MAC.
    Maybe it relates to the XDS driver on your machine.

    Please provide the exact versions of the OS and XDS driver.

    Thanks,
    Kobi
  • Hi Kobi,

    I found the issues. Now it's working.

    Before explaining the fix, I will answer your questions.

    OSX: MACOS Sierra Version 10.12.5
    XDS Driver version: 6.0.626.1
    CCSV 7.1.0

    I tested the CC3220SF-LaunchPad on a Uniflash 4.1 for PC and it was working well. But not on MacOS.

    The problem was the default serial number in the XDS110 programmer. Using the tool xdsdfu -m gave me the information on the programmer. Originally the information were this:

    Scanning USB buses for supported XDS110 devices...

    <<<< Device 0 >>>>

    VID: 0x0451    PID: 0xbef3

    Device Name:   XDS110 Embed with CMSIS-DAP

    Version:       2.3.0.8

    Manufacturer:  Texas Instruments

    Serial Num:    E0071009

    Mode:          Runtime

    And when I looked at the UniFlash error message, it said: Operation failed: Unhandled exception: invalid literal for int() with base 10:'E0071001'. I kind off linked the E0071001 with the serial number E0071009. Finally I changed the firmware serial number using xdsdfu -s 01234567 -r and now UniFlash is working.

    There is a difference in the PC and MacOS version of UniFlash when it's time to read the Serial Number of the programmer. It can be either a simple fix for the next version of UniFlash for Mac or my LauchPad was not programmed with the right serial number from the factory.

    Many thanks for your help. I really appreciated.

    Best Regards,

    Patrick