Tool/software: TI-RTOS
Hello again,
I have a question about using OCMC RAM in my user application after the PDK bootloader has completed. Specifically, please see the following picture, which is from this link on the wiki: http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_BOOT_AM57x#Application_Integration
The wiki page has the following notes under this image:
- Once the application boots and is running it is free to use the SBL_MEM region .
- During the Board initialization, applications are not supposed to modify the first 192KBytes of the OCMC region starting from 0x40300000 to avoid pinmux data corruption.
- The reserved memory area contains Pinmux and IO delay configurations code and data area and should not be used for other purposes.
My first question is: After the bootloader has run to completion and my board has been completely initialized, am I able to use the entire OCMC RAM in my application code, or must I not use the "reserved mem" part between 0x40300000 and 0x40330000? If the answer is that I cannot use the "reserved mem" portion, then I would like to understand why that is the case.
My second question is: I noticed that when I build the bootloader and look at the MAP file, the BOARD_IO_DELAY_CODE and BOARD_IO_DELAY_DATA sections are not allocated to the "reserved mem" area; they are actually in the other part of MSMC RAM. This leads me to ask, shouldn't these two sections be allocated to OCMC_RAM1 in pdk_am57xx_1_0_9\packages\ti\boot\sbl\soc\am57xx\linker.cmd? I think this omission might be a minor bug in the PDK.
Thanks as always,
Dave