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.

HPI Boot Mode for C6748 - Application needs to be loaded into external memory

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

I have searched the forums and haven't found a definitive answer to the issue we are investigating.

We have an external controller connected to the C6748 DSP via HPI.

We want to use the HPI boot mode.

Our application is too large to fit in internal memory.

Issue:  PLL and External Memory need to be configured prior to loading the application.

Can we use the external controller to configure PLL/External memory via the HPI interface? 

Or must we have a secondary bootloader that does this and then signals the controller that it's now ok to load the real application?

 

 

  • Hi John

    The UHPI is allowed to access module MMRs including PLL and DDR2/mDDR controller registers, so the external controller can access both memories and peripheral configuration registers.

    However specifically to initialize external memory (DDR2/mDDR) you need to configure some registers in the SYSCFG module (specifically VTPIO_CTL register). Most of the SYSCFG registers need to be accessed in Privileged Mode, and on c6748 UHPI accesses are not privileged/supervisor (only DSP accesses are). So you cannot initialize external memory via UHPI. 

    So it is recommended to go the secondary boot loader route.

    Regards

    Mukul

  • Mukul,

    Thank you for the prompt response.

    John

  • I have encountered the same problem. Is there any chance that TI might be willing to provide such a 'secondary bootloader' along with instructions on how to use it? This worked well on the C6713 we used previously, without any need for a 'secondary bootloader'...

  • Did anybody succeeded in loading application from  hpi mode. i.e hpi boot .

    Basically, i'm testing ARM-DSP communication over GPMC-HPI interface.

    I have  connected OMAP-L138 evm to Beagle Bone Black. OMAP-L138 is connected in emulation mode.

    Basically, i need to boot the dsp from arm over HPI. Is it possible to get a secondary boot-loader which support HPI boot for dsp c6748 on omapl138.