This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28069M: serial_flash_programmer stuck on download

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: CONTROLSUITE

Hi,

I have read some of the e2e threads on similar issues, but still wanted to summarize what I am running into when trying to use the serial flash programmer.

Right now the cmd output is stuck here:

C:\temp>serial_flash_programmer.exe -d f2806x -k C:\temp\f28069_flash_kernel.txt -a C:\temp\Example_2806xLEDBlink.txt -p COM9 -w -v

C2000 Serial Firmware Upgrader
Copyright (c) 2013 Texas Instruments Incorporated. All rights reserved.

getting comm state
building comm DCB
adjusting port settings

calling f05_DownloadImage
Downloading C:\temp\Example_2806xLEDBlink.txt to device...

Here is what I have done, could you look through this and let me know if I am missing something?

[] Using Controlsuite v3.4.7 and serial_flash_programmer from that, unmodified

[] Using LED blink example build for FLASH mapping. Validated that it runs fine from Flash on F28069M LP, in GET_MODE boot.

[] LP bootmode is set for SCI boot

[] LP J7 MUX_SEL is ON, J6 CH_SEL is OFF, this should lead to UART RX/TX pins being available on J5.3/J5.4

[] LP J5.3/J5.4 are connected to FTDI cable RX/TX pins, and GND is connected as well

[] PC enumerates the COM port here on COM9

[] Before running the above command, I am giving the LP a push button reset

Is there anything else I am missing?

Unfortunately I currently cannot use the existing Visual Studio project, as I only have VS 2010, and there are some other issues with that currently. 

Thanks,

--Gunter

  • Hi,

    Make sure that you are not connect to the device via the emulator. This will modify the boot ROM flow.

    You need to make sure that your are properly booting to SCI and you are using the right SCI pins.

    See my suggestions here: e2e.ti.com/.../2832719

    sal
  • Hi Sal,

    thanks! I validated the UART pins. It was a mis-interpretation of the Launchpad schematics, that led me to believe I needed a different J6 and J7 setting. The correct setting is to set J6=ON and J7=ON, which sets both MUX_SEL and CH_SEL to 0. With that the SCI boot mode pins are on GPIO28 and GPIO29. These are now on J1.3 and J1.4.

    Now the serial boot loader works.

    C:\temp>serial_flash_programmer.exe -d f2806x -k C:\temp\f28069_flash_kernel.txt -a C:\temp\Example_2806xLEDBlink.txt -p COM9 -b 9600 -v

    C2000 Serial Firmware Upgrader
    Copyright (c) 2013 Texas Instruments Incorporated. All rights reserved.

    getting comm state
    building comm DCB
    adjusting port settings

    calling f05_DownloadImage
    Downloading C:\temp\Example_2806xLEDBlink.txt to device...

    Kernel AutoBaud Successful
    Kernel Loaded
    Done Waiting for kernel boot...attempting autobaud
    Application AutoBaud Successful
    Application Load Successful


    Regards,
    --Gunter
  • Great! Glad you got it figured out.

    sal