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.

TMS320F28384D: invoke CM reset by CPU1

Expert 1700 points

Part Number: TMS320F28384D

Hi Team,

I would like use 2 images at CM. every image will reside in a different range in the flash. for example image 1 at sectors 0-3 and image2 at sectors 4-7

Is it possible to have the CPU1 reboot the CM once from sector 0 and once from sector 4 ? 

for example have CPU1 endless loop trough a sequence 

while(1)

{

 boot cm from section 0;

 do something;

 boot cm from section 4

 do something else;

}

I noticed that Device_bootCM has a few options , including BOOTMODE_BOOT_TO_FLASH_SECTOR0 and BOOTMODE_BOOT_TO_FLASH_SECTOR4

what will be the proper procedure to have CM re-booting in this case ?

  • Hi,

    I think this should be ok but you may have to take CM through reset cycle to boot from another sector. Basically when CPU1 need to boot CM from another sector, it can change the CPU1TOCMIPCBOOTMODE register value (refer Table 5-22. CPU1TOCMIPCBOOTMODE Register Details) and then issue reset to CM and bring it out of reset.

    Hope this helps.

    Regards,

    Vivek Singh