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.

C6745 update application code via UART port

Hi ,

 

I would like to know how to update C6745 application code to my external Flash ROM in production line ?

Because we could not buy so many simulators to update applicatioin code  via JTAG port for production line. 

A proper method for application code updating  is very important .

Can I use DSP UART port to realize my application  ?

PC RS232 ----> via DSP UART -----> update code to  DSP external Flash (SPI0 port)

If my ideal can realize , what are detail steps I can follow (including HW and SW preparation)?

By the way ,  I should point out  an important and basic status in production line  . 

Before we updating code via UART port  ,  DSP chip is blank except the orginal bootloader .   

 

Please give me your good suggestion .

Thanks and BR ! 

 jintao

 

  • Jintao,

    There may be a variety of ways you can implement a production line flow for your board.

    The features of the C6745 that could be useful are the bootmode selection pins which can be configured one way for application operation and another way for production programming. I would recommend also having a way to configure the board for the Emulation Debug boot mode during product development.

    In the production programming flow, you will configure the bootmode pins for UART0 or UART1 or UART2, as desired. The C6745 will then boot up looking for AIS data to be sent over that UART line.

    What you send across that UART first will be a programming algorithm. This programming algorithm will then will accept the application code and data data from the UART and will write all of that to the SPI0 Flash.

    There may be discussions of this process in the E2E Forum or there may be examples available in the TI Wiki Pages or support examples in the PDK for the device.

    Regards,
    RandyP