Other Parts Discussed in Thread: C2000WARE
Hi there,
I am trying to program the flash of the TMS320F28377D using the flash programmer application from C2000Ware V1.00.05.00.
It fails downloading the kernel after a few characters. (see the output below)
I have tried different baud rates and that hasn't helped. The returned characters change but it still only runs for a few characters. I think this is because the CPU has started executing the flash program that is already loaded.
I tried connecting the JTAG debugger to see what is happening. I can't find the boot ROM symbols which makes things harder. So my first question is where is this file?
My next question is why the first character sent is 'a' when the kernel file "F2837xD_sci_flash_kernels_cpu01.txt" has 'AA' at the start. If the boot ROM doesn't receive a valid key value of 0x08AA then it jumps to flash.
So I formed the theory that it was trying to autobaud lock and this was 'using' this first 'A' in the kernel file. I added a 'a ' to the start of the kernel file text and now it downloads the kernel successfully. Why would this happen?
Output on command prompt:
>serial_flash_programmer.exe -d f2837xD -k F2837xD_sci_flash_kernels_cpu01.txt -v -a blinky_cpu01.txt -b 2400 -p COM4
C2000 Serial Firmware Upgrader
Copyright (c) 2013 Texas Instruments Incorporated. All rights reserved.
getting comm state
building comm DCB
adjusting port settings
calling f021_DownloadKernel CPU1 Kernel
Downloading F2837xD_sci_flash_kernels_cpu01.txt to device...
Attempting autobaud to load kernel...
Autobaud for kernel successful! Loading kernel file...
a==a
8==54
Data does not match... Please press Ctrl-C to abort.