TI E2E Community (Beta)
Welcome to the TI E2E (Engineer-to-Engineer) Community! We invite you to freely and openly interact with your peer Engineers, TI Engineers, and other experts in order to ask questions, share knowledge, explore ideas, and help solve problems.
More Search Options

USBSTICK works without a PC?

rated by 0 users
Answered (Not Verified) This post has 0 verified answers | 6 Replies | 5 Followers

Not Ranked
3 Posts
Community Member
Nemanya posted on 3 Nov 2009 4:29 PM

Hi everyone,

I have a USB current adapter that could be used to turn on the stick. The question is: The program that was loaded to the dsp from code composer is remained in the memory and just connecting the stick to the power (via USB adapter) that program is executed? Thanks for your replies. 

All Replies

Not Ranked
8 Posts
Texas Instruments Employee

Normal 0 false false false MicrosoftInternetExplorer4

Hi Nemanya,

When you load a program from Code Composer the code is getting placed directly into RAM, where it is read and executed by the DSP. Anything in RAM is volatile and will be lost when you remove power from the DSP.

If you want the DSP to run your program at power-on, you will have to load your code into the EEPROM. At power-on, the DSP’s bootloader will find your program in EEPROM and copy it into the RAM for execution.

You will need to use “hex55.exe” to convert the .out file to a binary file. Then you will need to run an EEPROM programmer on the DSP to write the binary file into the DSP’s EEPROM.

For the C5505, you must use “hex55.exe” version 4.3.3 or later. We are in the middle of releasing this version and the EEPROM programmer tool to the public. It will be available soon, and I will post the information here when it is available.

In case you need the tools urgently, please contact your local TI person (sales or FAE) and let the local TI person contact me.

 

To learn more about the bootloader, see the TMS320VC5505 Data Sheet (http://www.ti.com/lit/gpn/tms320vc5505) in section 4.4

To learn more about “hex55.exe”, see the TMS320C55x Assembly Language Tools Users Guide (http://www-s.ti.com/sc/techlit/spru280) in section 14

Similar Forum Post: http://e2e.ti.com/forums/p/10616/44507.aspx

Hope this helps.

 

Thanks,

Mark

 

Not Ranked
4 Posts
Community Member

Hi Mark,

 

I also need to load my code into EEPROM.

Can you give us an estimate as to when you expect the information to be available?

Milton Cram

Not Ranked
1 Posts
Community Member

If number of respondents counts, please count me as needing this fairly urgently. I'll contact my FAE but I have an app that is being demo'd on the ezDSP board minus the computer emulation. Thanks.

Not Ranked
3 Posts
Community Member

Any news on the programmer tool?

How do I get hex55.exe version 4.3.3 or later? I currently have 4.3.2.

 

Regards

Ricco

Not Ranked
8 Posts
Texas Instruments Employee

This EEPROM programmer is only for the C5505 eZdsp USBStick

I will leave this post on this forum until the EEPROM programmer is officially released. Then I will edit this post with a link to that release.

Download the zip file attached to this forum post:  Writing to EEPROM of C5505 eZdsp USBStick.zip

Inside of that file you will find two files:
Writing to EEPROM of C5505 eZdsp USBStick.txt  -  Instructions on how to get hex55 and how to write to the EEPROM
programmer_USBKey.out  -  EEPROM Programmer object code - this runs on the C5505 DSP and prompts the user for a file to write to the EEPROM.

----------------------------------------------------------------------------------------------------------------------------------------
Using Hex55.exe and programmer_USBKey.out to load code to EEPROM of C5505 eZdsp USBStick:

* Install the C5500 Code Generation Tools (v4.3.3 or higher):
https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm#C5500

* Build your project with Code Composer and locate the COFF object file (*.out) placed in .\Debug\<Project Name>.out

* Run hex55.exe on your .out file to create a binary file:
Hex55.exe is located in <C5500 Code Generation Tools Install Directory>\bin\hex55.exe
For eZdsp USBStick, run it as follows:
Open the DOS CMD line and change directory to the location of hex55.exe
Run hex55.exe with the following options:
    hex55.exe -boot -v5505 -serial8 -b -i .\<COFF_OBJ_File>.out -o .\<Binary_Output_File >.bin

This will create an ASCII-hexadecimal binary file suitable for loading into the EEPROM
The command line should display the respective output:

    Translating c:\binaries\USBKey_LED.out to Binary format...
    "c:\binaries\USBKey_LED.out"   ==> .text     (BOOT LOAD)
    "c:\binaries\USBKey_LED.out"   ==> .cinit    (BOOT LOAD)
    "c:\binaries\USBKey_LED.out"   ==> .const    (BOOT LOAD)

* Connect to the USBStick in Code Composer

* Load the provided “programmer_USBKey.out” file to the target:
Target --> Load Program… (CCS4.0)
File --> Load Program… (CCS3.3)

* Run the loaded program:
When prompted to “Input your binary file path...” enter the full path to the binary file just created.
The programmer should display the following output:
   
    Input your binary file path...
    c:\binaries\USBKey_LED_v435.bin
    SPI EEPROM...
    Writing data to device...
    Opening c:\binaries\USBKey_LED_v435.bin...
    Input file opened
    Programming Complete

* Now your project will be found in the EEPROM by the DSP’s bootloader and should begin executing as soon after the device performs a Power on Reset

Not Ranked
3 Posts
Community Member

Thanks.  It was the new version of hex55.exe I was missing. 

Why is this not released with CCS4.0 (or the update)? 

Best Regards,

Ricco

Page 1 of 1 (7 items) |

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY TI. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.