Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE
I am attempting to utilize TI's serial_flash_programmer utility found within controlSUITE to apply a firmware update to my MCU while in SCI bootmode. However, I have been unable to establish a connection between my PC and the MCU.
I bring pins 58 and 9 low and leave pin 74 high to establish the MCU's SCI boot mode. I've power-reset the board and connected the MCU through pins 48 and 49 to an RS-232 connection which goes to a COM port on my PC. The following is my implementation of the utility, and said utility hangs on the f05_DownloadImage step for over an hour.
Both .txt files have been made as a post build step in CCS: "${CG_TOOL_HEX}" "${BuildArtifactFileName}" -boot -sci8 -a -o "${BuildArtifactFileBaseName}.txt"
When serial_flash_programmer is called, I receive one flash on an Rxd LED, confirming that at least one thing (which I assume is the autobaud lock character) is being sent from the PC to the device. There is no indication that the device ever transmits anything back to the PC.
I did go back into CCS and modify the kernel provided under controlSUITE from the default f28055 target to the appropriate f28052f.
I have also attempted debugging this implementation through Visual Studio and the program continues to hang at the same spot. I believe it may be due to a failure in receiving a confirmation of autobaud locking as I have included multiple print statements and believe the code stays in the following while loop:
However, I have also run ModScan on the device using the same setup (minus bringing pin 58 low so as to boot normally), and have been successful at obtaining a connection at multiple baud rates above and below the default 9600.
My device is unlocked and does not have set CSM keys.
I have also attempted to follow the scia_loopback example in CCS while in SCI bootmode, but am never able to complete debugging because of the following error code:
Is there anything that I'm obviously doing incorrectly? Why does my device not seem to want to connect/autobaud when the pins are set for SCI boot?
Thanks for any insight!