Hello,
The memory map address for external flash (EXT_FLASH) in TI is mapped and starts at 0xC6000000, but how this address is mapped with the external flash ?
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.
Hello,
The memory map address for external flash (EXT_FLASH) in TI is mapped and starts at 0xC6000000, but how this address is mapped with the external flash ?
Hi Shankar,
Start of Flash 0x0 is mapped to 0xC6000000 and so on. QSPI module must be initialized and setup for this mapping to work.
You can refer to the SDK, if you want a reference on how this works.
Regards,
Ajay
Thanks for reply Ajay,
QSPI module must be initialized and setup for this mapping to work --> I couldn't find any reference to set up this
It would be great if you can guide and explain more.
I am using the TI_FLS Driver with below info
Hi Shankar,
If you are using FLS, then in the configuration window you will see a checkbox to enable or disable memmap mode called "FlsMemMapMode".
There is no other special initialization required.
Regards,
Ajay
Hello Ajay,
Now after enabling that I can see Fls_Main_function() causing the access the HSM flash and corrupting this memory.
I am not sure what could be the reason as we checked if we comment out the Fls_Main_Function() HSM is working fine.
I request please suggest any feedback for this.
Thanks
Hi Shankar,
HSM does not have any internal flash, maybe you are referring to something else. Can you please elaborate so I can get a better understanding on what is happening?
Thanks
Ajay
Hi Ajay,
yes you are correct HSM is using external flash and mapping is shown below
when first time I am flashing the application the HSM memory region also getting modified randomly after that it's getting stopped but seems it's corrupting something in HSM area. I am sharing both screen shot attached before application run and after application run you can observe how the HSM is getting corrupted from Address range.
Memory mapping for Flash appl
after sw flash and before application run
After application run
Hi Shankar,
I request you to keep a memory watch point for this address and run it, so when the change happens the watchpoint will be hit and code will be halted.
Regards,
Ajay