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.

C5409 bootloader problem

hi, all,

I had a bootloader problem on VC5409 by using parallel method from flash.

DSP checked the flash data and decided to download the code from it but DSP can't stop anymore due to the data in the flash was incorrect.

Is any mwthod to stop the bootloader and using HPI module to download a new code for VC5409?

Thx in advance!

FYI

  • Hi,

    Have you seen the TMS320VC5409 Bootloader Technical Reference?

    See the NOTE in Section 2.2.3 Parallel Boot Mode:

    "If a parallel boot is not desired, the data pin D0 of the ’C5409 can be pulled high with a weak pullup resistor to avoid inadvertently booting from data or I/O space. This will prevent the bootloader from reading the keyword AAh from data space.  Otherwise, some other method should be used to ensure that a valid keyword in not read unexpectedly."

    Do you have JTAG access to the DSP? You can connect to the device at this point and load a program to write a different image to the flash.

    It should also be possible to boot from HPI instead of parallel flash. HPI is the first boot source checked. INT2 must be active to enter the HPI boot.

    Alternately, you could prevent the bootloader from running by pulling high the MP/MC pin at RESET - The bootloader program located in the ’C5409 on-chip ROM is executed following reset when the device is in microcomputer mode (MP/MC = 0).

    Hope this helps,
    Mark

  • Hi, Mark,

    Thx for your reply.

    Yes, I could use JTAG to access DSP then used HPI to refresh the data in the flash.

    After that, DSP ran again.

    Due to hardware's limitation, I tried to find out a method let DSP leaved bootloader state without JTAG, MP/MC and D0 pin control.

    I read all data sheet and application and could not find method.

    Anyway, thx in advanced.