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.

TMS320F28377S: Problem loading application to RAM with SCI

Part Number: TMS320F28377S
Other Parts Discussed in Thread: UNIFLASH

Hi everyone, 

I have problems with loading an application to RAM using SCI. I am using the development Kit LaunchXL-F28377S and trying to load an example project (gpio_toggle).

I followed the procedure described in the C2000 Bootlaoder tutorial found in the processor.wiki.ti 

I achieved steps 1, 2 and 3 but while trying to load the program with RealTerm v2.0.0.70 or UwTerminal, I send the character A, the target sends back the same character, then I try to send the file .b00, nothing happens:

the target doesn't send back the characters in the file neither execute the program

I created a .txt file and i sent it, the target responds very well. However any other type of file seems to be not accepted so I presume the application loading didn't succeed, Can you please help me with this ? 

Hear's a screenshot of the uwtemrinal inteface: 

Thanks 

  • The file extension should not matter. The file format, however, needs to be in the appropriate hex file format that the boot loader is expecting.

    This Application Report might help: www.ti.com/.../sprabv4b.pdf

    sal
  • Hi, 

    Thank you for your answer, it was quiete helpful. 

    When I don't use a development Kit, the SCI pins are not rooted by default to the bootloader, so I have to program BOOTCTRL in order to choose the right pins for SCI boot, put 0x5A in the key field and 0x01 in the BMODE (to choose SCI boot 0). I did this with Uniflash but it didn't work. 

    I'm not sure that the order of the SCI GPIO is important while programming the BOOTCTRL(bootpin0 and bootpin1), can you confirm this please? 

    The target doesn't reply : I send A character after configuring the baudrate and choosing the port but no answer. 

    Do you have any suggestions for me? 

    Thank you 

  • You don't select the individual SCI pins with BootCTRL. You only select which SCI boot option you wish to use. Those SCI pins are determined by the Boot ROM SW for each available option.

    Please see the Boot ROM chapter of the TRM to help more with this.

    Also, if you are using different SCI pins for the bootloader, you should modify the SCI kernel to use those same SCI pins as well.

    sal
  • I don't quite understand your reply, when i look at the BOOTCTRL in the TRM, I see this : 

    Can you tell me what do bootpin1 and bootpin0 refer to? and how to configure them? 

    Are you saying that the SCI pins for the bootloader shouldn't be used for another thing? how do I change the SCI kernel?

    Nothing in the boot ROM chapter helps me solve this problem, 

    Thank you

  • Bootpin0/1 determine which GPIOs will be used for determining the boot mode selected.

    You can use the SCI pins for other functions if you wish.

    You can modify the source code of the kernel and re-build it.