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.

AM263P4: OCRAM memory initialisation AM263P vs AM263

Part Number: AM263P4
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hello,

I've had quite a few issues with accessing data placed in bank4 and bank5 of OCRAM on AM263P launchpad recently, mainly when running through the CCS debugger. 

I think one of the reasons is that the startup .gel file for AM263P setting up OCRAM (MSS_L2_Mem_Init) was only initialising the 1st 4 banks rather than all 6, by only writing 0xF (0b1111) to MSS_CTRL_L2IOCRAM_MEM_INIT rather than 0x3F (0b111111)

I have various programmes installed (CCS, CCS theia, Uniflash) and this seems to be the case for the MSS_L2_Mem_Init definition for all three cases:

For ccs2001:

For ccs theia:

For Uniflash:

So the fix there seems to be updating the register to 0x3F:

As the AM263P (with 6 banks of OCRAM) is based on the AM263 which had 4 banks of OCRAM it's obvious where this issue came from. 

Similarly, in revision of the AM263P technical manual, there seem to be a few remaining references to 4 banks of OCRAM vs 6, for example page 217

Possibly also on page 1492:

Could someone check this?

Thanks

  • Hello, does anyone have any pointers on this? If not, is another forum potentially more relevant for this question? Thanks

  • Hey Rens Bossers,

    Apologies for the delay.

    Thank you for pointing us to these errors!!

    The issue on the value of mem_init field in AM263Px_common.gel is fixed in the internal versions and will be part of next p2 update on CCS 12.8.1 version and CCS 20.2.

    I have notified the Documentation team regarding missing mentions of bank 4,5 in AM263P TRM. This also will be fixed in the next TRM release.

    FYI, MCU_PLUS_SDK for AM263x, AM263Px and AM261x is yet to be fully migrated to CCS Theia versions. As per current release plans CCS 20.2 will be having support for all AM26x devices (Tentative release date May 30/31)

    Thanks & Regards,
    Rijohn

  • Ok, thanks for the update Rijohn.