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 Entrypoint

Other Parts Discussed in Thread: TMS320VC5502

Hi,


I have a project where an ARM processor is a main CPU and that bootsup the DSP via HPI.

that booting process is divided in 3 stages.Boot1,Boot2,MainApp.

at the startup of the system the DSP boot mode is configured as HPI and the ARM processor starts writing data in DSP's DARAM via HPI,

at the completion of data transfer the ARM gives indication to DSP to start the execution of Boot1 on DSP.

for that they have written following snippet(runs on ARM) which i am unable to understand.

UINT8 PDatabuf;//temp databuff

UINT32 Entrypt;//entrypoint address

//dsphdl:HPI Driver for dsp

pDatabuff[0]= (Entrypt >> 8) & 0xFF;

pDatabuff[1]= (Entrypt >> 0) & 0xFF;

ioctl(dsphdl, 4, 0x0061);

write(dsphdl, Pdatabuff, 2);

pDatabuff[0]= 0x00;

pDatabuff[1]= (Entrypt >> 16) & 0xFF;

ioctl(dsphdl, 4, 0x0060);

write(dsphdl, Pdatabuff, 2);

pDatabuff[0]= 0xFF;

pDatabuff[1]= (Entrypt >> 16) & 0xFF;

ioctl(dsphdl, 4, 0x0060);

write(dsphdl, Pdatabuff, 2);

 

What is this 0x0060 & 0x0061 addresses?

Thanks & regards,

Dixit