Part Number: TMS320F28377D
Hello Everyone,
I am trying to use usb_fash_programmer.exe application to upgrade the firmware in CPU1 and CPU2, working on CCS and JTAG emulator XDS200 with some problems.The command line I use is:
usb_flash_programmer.exe F2837xD_usb_flash_kernels_cpu01.dat blinky_dc_cpu01.dat F2837xD_usb_flash_kernels_cpu02.dat blinky_dc_cpu02.dat
1) Sometimes I can successfully send the first three files but when sending the fourth, CPU2 execution stops at instruction asm(" ESTOP0") in function c2Brrom_handle_idle_lpm:
Then, if I, quickly, resume CPU2 execution, I can also send the fourth file, so the upgrading is successful:
I can also see that CPU1 blinky and CPU2 blinky applications are running, because of the LEDs in the F2837x controlCARD R1.3 blinking.
2) Sometimes I can just send the first file, and then the Error enumerating device interface appears:
Then, if I stop CPU1 and CPU2 execution I can see the following in CCS:
CPU1 execution is stopped at while (g_UsbRxBuffer == 0) {;} in kernel function USB_GetWordData:
As it seems to me taht it is waiting for the USB buffer to be filled, I unplug the USB connector and plug it again. Then I try to resume upgrading by executing the usb_fash_programmer.exe application again:
usb_flash_programmer.exe F2837xD_usb_flash_kernels_cpu01.dat blinky_dc_cpu01.dat F2837xD_usb_flash_kernels_cpu02.dat blinky_dc_cpu02.dat
Then, the operation fails:
and I can see that CPU1 execution is stopped at Example_Error function in the Kernel:
Can anybody help me with these issues?
Many Thanks in advance,
Andreu