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.
Tool/software:
Hi Team,
I am unable to debug and check the flash Read Write Erase functionality of the AM62x GP board. Please help me how to run the code and check the example code.
It shows a statement saying DDR is not initialized.
Also please clarify if OSPI cannot be accessed by M4 core and NoRTOS and can be accessed only with R5 core and with FreeRTOS.
Also please clarify if OSPI cannot be accessed by M4 core and NoRTOS and can be accessed only with R5 core and with FreeRTOS.
That is a correct understanding as per what we currently support.
But you can do the porting if you want to access the OSPI Controller from the M4F core, it will be a bit of work for sure, for example enabling OSPI and Flash modules in the SysConfig tool for the M4F Application and so on. But this is currently not as a part of our support offering. We support OSPI access from R5F as of now.
I am unable to debug and check the flash Read Write Erase functionality of the AM62x GP board. Please help me how to run the code and check the example code.
Is your board a custom board? Or the TI evm?
Also how are you initializing the SoC? Which method are you using our of several listed here: https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/10_01_00_33/exports/docs/api_guide_am62x/EVM_SETUP_PAGE.html#EVM_FLASH_SOC_INIT
Regards,
Vaibhav
Hi Vaibhav,
Is your board a custom board? Or the TI evm?
I am Using the AM62x SK EVM (GP Board)
Also how are you initializing the SoC?
I have initialized using the SD CARD BOOT MODE.
Hi Vaibhav,
for example enabling OSPI and Flash modules in the SysConfig tool for the M4F Application and so on
How to enable using SysConfig? If i import empty workspace for M4 with NoRTOS, i cannot see the OSPI in SysConfig
Thanks and Regards,
Hamsa Lakshmanan
Hi Hamsa,
Thanks for your response.
i cannot see the OSPI in SysConfig
Yes that is the whole point of it. That you will not be able to see in the SysConfig so you would need to make changes.
For a reference, recently for AM62A, the OSPI MCU Access was added, I am sharing with you the commits made to enable MCU Access to OSPI possible for AM62A. You can try to mimic the changes for AM62x as well.
https://github.com/TexasInstruments/mcupsdk-core-k3/commit/97d72185ef2
https://github.com/TexasInstruments/mcupsdk-core-k3/commit/b8d4049ecfc
Regards,
Vaibhav
Hi Hamsa,
I am Using the AM62x SK EVM (GP Board)
Also how are you initializing the SoC?I have initialized using the SD CARD BOOT MODE.
Can you instead initialize using UART uniflash? And proceed to test out the applications you want to?
Regards,
Viabhav