cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U585 Interface with External Flash(IS25LP064D-JKLE) in memory mapped mode.

Vijay_kumar
Associate

Hi guide,

I am working with stm32u585 interface with Ext-Flash. I have SBSFU code in that I am doing external flash initialization(Indirect mode) in Boot code (boot_platform_init) to check firmware is available for update or not . Then after switching to secure next Non secure. In Non secure part I am doing initialization(Indirect mode) again and Reading / writing / erasing is working. after that I am switching to Memory map mode and I am getting memory map enable success command  and trying to read the data at address 0x70000000, then program got stuck here . 

can anyone help me , what may be the issue?

1 REPLY 1

>>I am getting memory map enable success command  and trying to read the data at address 0x70000000, then program got stuck here.

Stuck where? Are you getting a Hard Fault or Mem Fault? Would you know? Do the handlers output any diagnostic information so that you'd be aware.

Is it stalling the MCU doing the External Flash read? It there are timeout? Can you program this memory normally via an External Loader?

The Memory Mapping should use a template equivalent to a Read command you might issue normally, just with the MCU masking and stuffing the address into the transaction. Review what you're providing as a template, and test it.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..