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.

TMS320F280021: Program flash with Boot ROM oscillator settings

Part Number: TMS320F280021
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Is it possible to program the flash of the F280021 using the boot ROM (SCI boot) clock setting?

If yes, what is the frequency value to be passed as second argument to Fapi_initializeAPI()?

Best regards

Johannes

  • Maybe I should add some more information...

    I'm working on a "second stage bootloader" based on TI's example flash_ex3_sci_flash_kernel from C2000Ware. The purpose of this "second stage bootloader" is to provide a function to test whether the firmware in flash is to be updated and a function to update it if necessary.

    As this second stage bootloader is loaded via SCI by boot ROM code on every system startup I wish to keep it as small as possible. That's why I want to avoid calling the clock setting functions from driverlib as they more than double the size of my bootloader.

    So my bootloader runs with the boot ROM clock settings.

    My question now is: What is the right frequency value to be passed to Fapi_initializeAPI() under these circumstances?

    Best regards

    Johannes

  • Anyone at TI willing to answer my question?

  • Johannes,

    Apologies for the delay, I missed seeing this post in my queue for some reason.

    When the BROM is complete it will be at INTOSC2 clock with PLL bypassed and divider = /1.  So you can pass 10MHz to the Fapi_initializeAPI() function as the CPU clock rate.

    Best,

    Matthew