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.

TMS320F28069F: when trying to download flash via serial flash programmer , download is not finished.

Part Number: TMS320F28069F

Dear TI members,

I have developed custom ACI motor driver with F28069.

I'm in trouble with serial flash downloader.

please take look at following capture of serial flash procedure

As you may see, download was not proceeded, just hold in this point, over 10 minutes, so I stopped.

Would you please let me know what is wrong with my trial ? 

Best Regards,

Hae Ryong

  • Hi,

    It may be due to using such a high baudrate. The device on a power on reset will be running at 10MHz, so baudrate of 115200 may be too high.

    Please try using 9600. And also search the E2E forum first if you have related questions.

    sal
  • Hi sal,

    Thanks for your response.

    I have tried 9600 and 38400 baudrate, but same result as following capture.

    What else I have to look into ?

    Best Regards,

    Hae Ryong

  • Hi,

    Please see www.ti.com/.../sprabv4b.pdf

    You need to ensure that you have properly connected to the GPIOs which are used by the SCI boot loader you have selected. And you need to make sure you have properly selected the SCI boot loader, such that the device has booted to the SCI boot loader.

    Please also search the E2E threads. There are many questions on this that have been answered and many successful stories on here of customers getting this to work properly and easily.

    Hope this helps,
    sal
  • Hi Sal,

    Thanks for your response.

    I have checked GPIO34 and GPIO37 as you commented.

    please refer to following capture.

    As you see, GPIO34 is always 'H', and GPIO37 is normally in 'H', and it went to 'L' with jumper in JP1 for flash programming.

    I think, it seemed to go to bootloader mode correctly, becasue I have made LED blinking in my application, but LED is not blinking when I tried flash download

    please take a look at the circuit of my custom board, let me know your idea.

    my steps to download flash as follows

    1. power off board.

    2. put jumper on JP1 for bootloader mode when power up.

    3. power on board

    4. run serial_flash_programmer with proper serial connection.

    5. programmer was hang as you saw in capture of this thread.

    I have tried to search E2E to find similar issues, but I could not find proper one. 

    please help me to resolve the issue. 

    Best Regards,

    Hae Ryong

  • Hi Hae,

    The next thing to do is to test that the SCI boot loader is running and you have SCI properly connected.

    When the SCI boot loader is running, it first waits for an autobaud lock. When an ascii 'A' or 'a' is sent to the SCI, the SCI will autobaud lock. After the autobaud lock, the device will send back the 'A' or 'a'.

    Please get this working first with a COM port and not the serial flash programmer. Once you can confirm you have this working, the serial flash programmer should work fine.

    Please see the Boot ROM chapter of the technical reference manual for your device for more information on the SCI boot loader.

    sal
  • Hi sal,

    I could successfully flash download with newly built serial_flash_programmer with 19200 baudrate.
    There maybe something wrong with my serial_flash_programmer tool.

    Thanks for your kind support.

    Best Regards,
    Hae Ryong
  • Glad you got it working.

    sal