Part Number:TMS320F28335
Hi I'm trying to follow this tutorial :
With the following procedure you are able to send program data to the device RAM memory via the SCI. This procedure can easily be tested with a C2000 Experimenters Kit or any EMV that has an XDS100v2 emulator which provides a serial connection interface to the device.
- The programs .out file that you want to load first needs to get prepared to be able to send it to the SCI bootloader. With the HEX2000 utility the object oriented .out file needs to be converted to an binary file in the proper format. The tool can be found in the c2000 compiler folder of CCS, e.g. C:\ti\ccsv5\tools\compiler\c2000_6.2.5\bin. Copy the HEX2000 tool into the same folder as your program.out file.
- Open CMD and direct to this location. Now you can run the tool with the following command: hex2000 -boot -sci8 -b program.out.
HEX2000 will create a binary file called program.b00 in the same folder. This is the file that you will dump into the device serial port. - Power up your device with pins set this way:
TRST = 0
GPIO37 = 0
GPIO34 = 1
These settings tell the device bootloader to load what it receives on the SCI port into the RAM. On the C2000 ControlCard and experimenter kit there are jumper and switches to make this configuration. - Open a terminal program on your PC (RealTerm v2.0.0.70 or HyperTerminal should work fine, I had no success with TerraTerm). First send the character A (or a) to establish the baud rate. No other characters will do! If the device understands you, it will echo the same character back. If it does not understand you then try a lower baud rate (38400 baud or lower should work).
- Now dump the file program.b00 to the F28035. It will echo back every character.
- When the file has finished sending, the device will begin executing your program, based on the start address embedded in the .b00 file.
- Now keep GPIO37 = 1, so at reset your program will run instead of the bootloader. Later if you want to reprogram it, reboot with GPIO37=0 again and the serial bootloader will be waiting for you.
But is not working, which pin is TRST on the docking station? There is no GPIO37 on docking station either, where is it? By GPIO34 set to one means that i need to connect a cable from GPIO34 to 5v?
P.S earlier I loaded the project SCI_echoback.