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.

TMS320LF2406A: Programming the Processor via SCI and Elpotronics XStream-ISO

Part Number: TMS320LF2406A

Hello, 

I want tu use a Elpotronics Adapter (XStream-Iso for TI's C2000MCU) for programming a TMS320LF2406A.
 
So far we flashed the chip via JTAG. 
With the new XStream-Iso we have to use SCI, because JTAG is not supported anymore.  
 
Now I have a couple of Questions: 
 
- For programming with JTAG we used a .out file. When I try to open this file in the Flash Programmer (FlashPro2000), 
I get an Error back (Converting file filename.out...              failed). Then I tryed to
   convert the File with Code Composer Studio and the hex2000.exe.
   When I open the file now it will be read succesfully, but the Code size = 0x0000 ( 0 ) bytes.
How does it have to be Convert to be Usable?
 
- My next problem is the CSM-Password. If I try to verify the CSM Password or 
  any other action th Flash Programmer returns me an Error.  
 
                               Communication initialization............          OK
                               CSM Password verification............             failed
                               CSM Password incorrect - the DSP cannot be unlocked.  
 
   I tried this with a chip which already programmed and with a new one without 
   any programm on it. 
  The empty processor should actually have a password from the data sheet
 
I hope you can help me. 
Jonas
  • I get an Error back (Converting file filename.out...              failed). Then I tryed to

    .out file is in COFF file (COFF stands for Common Object File Format). To program over SCI, the COFF file should be converted to a hex file. For support on Flashpro, you need to reach out to Elprotronic.

    When I open the file now it will be read succesfully, but the Code size = 0x0000 ( 0 ) bytes.

    Is the hex file empty or does it have any contents in it? Can you attach the hex file? Did you use -sci8 option?

    The empty processor should actually have a password from the data sheet

    You are correct that a new device should have the flash in an erased state and hence not secure. You need to get in touch with Elprotronic for support on this issue.

  • The Hex file is not empty. Below I included a code snippet of the generated file. 

    I used the hex2000.exe from the code composer studio 12.1.0  installation with the following command. "Hex2000.exe yourfile.out –boot –sci8 –a

    AA 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2C 01 40 00
    00 00 00 00 80 79 2C 01 80 79 02 00 80 79 E8 32 80 79 06 00 80 79 08 00
    80 79 0A 00 80 79 0C 00 68 8E 69 8F 00 BC 67 8A 6F 90 70 98 04 69 65 90
    B0 BF BF 00 04 90 40 BE 80 79 79 00 80 79 1C 00 80 79 1E 00
    E8 00 00 00 44 00 F5 00 F8 00 FB 00 FE 00 01 01 07 01 A2 00 CD 00 DB 00
    CA 00 E4 00 D5 00 A2 00 D1 00 D6 00 D5 00 B7 BE 90 BE 6C 00 BF 08 0C 03
    60 00 02 00 02 00 00 80 01 80 00 EF 00 BC 1F AE 01 00 64 AE 6B 00 63 AE
    00 00 63 AE 01 00 B7 BE 00 8B 00 EF 6F 90 70 98 04 69 65 90 B0 BF BF 00
    04 90 40 BE A0 B9 69 6D 69 90 69 0F 1F AE 67 00 66 8E 80 BF 7E 00 3C BE
    96 BE 0C B9 69 6E 63 6D 63 90 80 BF FF FD 66 6D 68 6E 68 90 67 76 6C 8A
    68 76 6D 8A 69 76 6E 8A 74 8A 74 76 00 BF 71 8C 72 8D 01 C0 73 8C 71 73
    01 C0 72 75 73 73 75 80 76 81 77 82 78 83 79 84 7A 85 7B 86 7C 87 62 AE
    60 66 1E 49 00 E2 A2 00 06 AE 40 00 1E 4A 00 E2 20 01 62 10 1E 4C 00 E1
    B7 00 62 1C 1E 4E 00 E2 B7 00 62 18 1E 4D 00 E2 B7 00 62 14 14 BB
    69 76 00 00 2C 01 08 BF 00 03 09 BF 00 03 42 BE 00 BF 47 BE 80 BF 95 77
    01 B8 88 E3 3A 01 89 7A 40 01 80 7A 55 01 89 7A 87 39 89 7A B3 01 02 78
    80 BF 95 77 88 8B A0 A6 01 B8 80 A6 90 02 8B 03 9A 7B 4E 01 89 8B 02 7C

  • Your hex file appears to be OK. I am afraid you need to reach out to Elprotronic for further support. There isn’t much I can do here.

  • Can I get a older Version of the hex2000.exe  somewhere?  from the CCS3.3 for example.

    I read that there can be problems with the Convertion if a newer version is used. 

  • In the days of LF240xA, HEX2000.exe was called DSPHEX. I have attached DSPHEX.exe. If your server does not block .exe files, you can download and give it a try. 

    Just FYI, although Eclipse-based CCS (v4.x and later) is free, CCS3.3 is not.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/171/7360.dsphex.exe

  • I tried to convert the file with the 7360.dsphex.exe. Now the file ist converted without errors.

    With the new File the Chip can be flashed succesfully.

    Thanks for your Support. 

  • Jonas,

       I am glad it worked for you. I am closing the post.