Other Parts Discussed in Thread: UNIFLASH
Hello,
I am trying to program the F28M35H52C we are using in our design over UART. The designed is verified to work and can be programmed using an XDSv100.
I am running Uniflash 3.4.1 (because v4 does not support UART programming for F28M35 series) on Ubuntu 16.04 LTS. The UART lines are connected to the PC through an FT4232H module. The UART lines have been tested at baud rates of 115200.
Does Uniflash expect to use the DTR or RTS lines? Or are the URX and UTX lines the only ones that are needed? I am doing a reset into boot mode manually first before running operations in Uniflash.
The clock I'm supplying during programming is 20MHz because of a previous problem I had seen with Uniflash (where it doesn't work with anything other than 20MHz source clock see: https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/494557/1788723).
I am putting the board into UART programming mode by setting the clock source to 20MHz and changing the boot pins to the following:
BOOT_0 = 0
BOOT_1 = 1
BOOT_2 = 0
BOOT_3 = 0
Then I reset the board.
My uniflash flash/clock settings are as below:
My serial settings are as below:
However, I am having no luck. What I see in the log is the following:
[23:58:24] Erasing flash sectors on Core 0 < C28x Serial Connection/Cortex_M3_0 > ...
[23:58:24] Begin Erase Flash operation.
[23:58:30] Cortex_M3_0: Loading Concerto M3 flash kernel, this may take a few minutes...
[23:58:34] Cortex_M3_0: Concerto M3 flash kernel has been successfully loaded.
[23:58:40] ERROR >> Cortex_M3_0: Error occurred during flash operation: Serial interface error
[23:58:50] ERROR >> Cortex_M3_0: Error occurred during flash operation: Serial interface error
[23:58:50] ERROR >> Cortex_M3_0: <!>Serial Communication exception: Please reset the device and try again!
[23:58:50] Unknown error
[23:58:51] Operation Erase Flash returned.
I am just trying to erase in this one. Loading a program does the same thing. The M3 flash kernel seems to be loaded fine each time, but the actual Erase or Flash operation does not work.
Please advise. I'm at my wits end. I can supply my .out file over email if necessary.
Thanks,
Aditya