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.

CCS6 project settings for TI TXT inconsistent

Other Parts Discussed in Thread: TEST2, USB2ANY

I'm trying to generate TI TXT files for BSL loading. I've done this successfully with previous projects. In a project that I inherited, the tool insists on generating a file with the .hex extension even though it is configured for TI TXT. This .hex file appears to have the same format as a TI TXT file, but it causes the 'Python Firmware Upgrader' to crash. Can anyone explain why it does this? 

One of my original projects generates this output:

**** Build of configuration Debug for project msp430-hid-fifo ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Invoking: MSP430 Hex Utility'
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.5/bin/hex430" --memwidth=8 --romwidth=8 --ti_txt -o "msp430-hid-fifo.txt" "msp430-hid-fifo.out"
Translating to TI-TXT format...

The inherited project generates this output with the same Hex Utility settings:

**** Build of configuration test2 for project USB2ANY ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Invoking: MSP430 Hex Utility'
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.5/bin/hex430" --memwidth=8 --romwidth=8 --ti_txt -o "USB2ANY.hex" "USB2ANY.out"
Translating to TI-TXT format...

Thanks,

Ren

  • Hi Ren!

    I remember getting a .hex file instead of a .txt file from earlier days. And the program for flashing the file did not accept it. I simply renamed the extension from .hex to .txt and everything was fine. Did you try this already?

    Dennis

  • Hi Dennis,

    If I try to load the .hex file, I get an error from the Python Firmware Upgrader. The error happens immediately and appears to be related to reading the file. That's why I think the content is incorrect.

    Ren

    Opening HID device HID device (vID=0x2047, pID=0x0200, v=0x0109); Unknown manufacturer; @input.inf,%hid_device%;HID-compliant device, Path: \\?\hid#vid_2047&pid_0200#7&20ad9e4b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    Mass erase...
    Download full BSL...
    Programming...
    Programming: OK
    Waiting for BSL...
    closing HID device
    Closed!...
    Exception in Tkinter callback
    Traceback (most recent call last):
    File "C:\msp430usb\msp430_usb\imports\MSP430USBDevelopersPackage_5_00_01\Host_USB_Software\Python_Firmware_Upgrader\build\pyi.win32\Python_Firmware_UpgraderGUI\out00-PYZ.pyz\Tkinter", line 1470, in __call__
    File "<string>", line 278, in selectFile
    File "<string>", line 185, in doLoad
    File "<string>", line 254, in open_connection
    File "C:\msp430usb\msp430_usb\imports\MSP430USBDevelopersPackage_5_00_01\Host_USB_Software\Python_Firmware_Upgrader\build\pyi.win32\Python_Firmware_UpgraderGUI\out00-PYZ.pyz\msp430.bsl5.hid_1", line 108, in open
    ValueError: USB VID:PID 2047:0200 not found (not in BSL mode? or try --device)

**Attention** This is a public forum