Dear TI experts,
I am trying to give a soft reset to a DSP 6748 using generic secure boot by manipulating RSCTRL register. But I have the same problem with
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/158002.aspx
Could you give us some hint how to do a soft reset with secure boot? I flash the encrypted image in SPI memory and boot firmware from there.
this is the code I used for soft reset
unsigned int val;
val = REG(SOC_PLLC_0_REGS + PLLC_RSCTRL);
/* unlock reg */
LOG("Before unlock PLLC_RSCTRL = 0x%x\n", val);
val = val & ~(0x0000FFFF);
val = val | 0x5A69;
REG(SOC_PLLC_0_REGS + PLLC_RSCTRL) = val;
val = REG(SOC_PLLC_0_REGS + PLLC_RSCTRL);
LOG("After unlock PLLC_RSCTRL = 0x%x\n", val);
if((val & 0xFFFF) == 0xC)
{
// reset;
LOG("Reset\n");
val = 0x5A69; \\ val=0x0;
REG(SOC_PLLC_0_REGS + PLLC_RSCTRL) = val;
}
These are the printings:
Before unlock PLLC_RSCTRL = 0x10003
After unlock PLLC_RSCTRL = 0x1000c
Reset
Thank you very much for your help!
Best regards,
Tuyen Nguyen