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.
Hi,
Iam making a custom flash programming tool to re-program my TMS320F2812 flash module in SCI-A boot mode.
Issue:
I noticed when sending data over rs232 to bootloader that bootloader does not respond/acknowledge received data and no error messages are sent at all.
I'm using the provided test program to test comm is ok but the line is too quiet i think. There is no way to know whether data has been received on the bootloader side.
I've looked through the spru095c.pdf and there is no information about bootloader response messages/errors at all.
Am i missing something?
thanks
serge
Test Program as sent to bootloader:
Note: used Comport toolkit to send 2 bytes at a time (e.g. "10 AA")
10 AA ; 0x10AA 16-bit key value
00 00 ; 8 reserved words
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 3F ; 0x003F8000 EntryAddr, starting point after boot load completes
80 00
00 05 ; 0x0005 − First block consists of 5 16-bit words
00 3F ; 0x003F9010 − First block will be loaded starting at 0x3F9010
90 10
00 01 ; Data loaded = 0x0001 0x0002 0x0003 0x0004 0x0005
00 02
00 03
00 04
00 05
00 02 ; 0x0002 − 2nd block consists of 2 16-bit words
00 3F ; 0x003F8000 − 2nd block will be loaded starting at 0x3F8000
80 00
77 00 ; Data loaded = 0x7700 0x7625
76 25
00 00 ; 0x0000 − Size of 0 indicates end of data stream
Please check the GPIOF2, GPIOF3, GPIOF4, GPIOF12,
Set Processor to correct mode.
Detail information please reference the Page 34, Data Sheet.
try the eight bit header key instead of 16 bit, (use 0x08AA instead of 0x10AA).
Best Regards
Santosh
I tried but the problem still exist !!
And another question:
Could you please provide me with the Build step command to generate a .hex and .bin file please.
I'm using code composer studio Version: 5.5.0.00077 on Windows 7.
Cheers
i tried this in my post build step:
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd2000" "${CG_TOOL_ROOT}/bin/hex2000" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"
But it didn't work !
my tagert device: TMS320f2812
Thanks
Serge,
Please refer to the device boot ROM guide - http://www.ti.com/lit/pdf/spru095
also the boot ROM sources are available as well at http://www.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&tabId=1502&literatureNumber=spru095c&docCategoryId=6&familyId=1523
The command you are using looks like it is for Concerto M3 devices, and might not work for your device.
Hope this helps.