Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE,
I have been beating my head against the wall after six weeks of trying to use the TI utility serial_flash_programmer and the example program F2737xD_sci_flash_kernels_cpu01 to program the blinky example program to flash on a controlCARD. I am using C2000ware v4.01, and the most recent controlSUITE.
Today I ran across forum thread 4040934 titled "TMS320F28379D: F2837xD controlCARD SW1 Documentation Appears Incorrect".
Question #1: I have a controlCARD rev. 1.3 in which SW1 is installed upside down. If I interpret the referenced thread correctly, to get correct behavior when attempting SCI boot mode, I should treat the switch positions as though the switch were mounted right side up. Is that correct? To ask another way, should I treat position 1 as position 2 and vice versa, and should ON be interpreted as OFF?
Question #2. I have made no changes to the serial_flash_programmer utility. I have changed the source file F2837xD_sci_flash_kernels_cpu01.c in one place, to pass the parameter SCI_BOOT_ALTERNATE to function SCI_GetFunction to use GPIO 28 and 29 for SCI-A Rx and Tx. When I select DFU CPU1 from the menu, the program reports "NACK error with sending the Function Packet"... Please press Ctrl-C to abort". This occurs regardless of whether I set the switches on SW1 to match table 2 in the controlCARD manual or choose the opposite settings. Why is this occurring, and how can I fix it?
Question #3: I found a C2000ware example program titled flash_programming_cpu01. This appears very similar to F2837xD_sci_flash_kernels_cpu01, except that at the end of main(), it has explicit calls to functions EraseFlashSector and ProgramFlashSector. Am I correct in assuming that this program works similarly to F2837xD_sci_flash_kernels with the added feature that it immediately performs a DFU CPU1 operation after initializing itself, without the user having to explicitly request a DFU CPU1 operation?
When I run this program in the -k option for serial_flash_programmer, it displays the menu as F2837xD_sci_flash_kernels_cpu01 with no error message. But it produces the same NACK error message cited above when the DFU CPU1 menu option is selected. So this behavior seems consistent and repeatable, regardless of how SW1 switches are set and regardless of which flash programming program is selected for the serial_flash_programmer utility.
Can you assist me in getting this combination of tools to work correctly?
.



