cancel
Showing results for 
Search instead for 
Did you mean: 

Fail to adress memory

mabess230
Associate

Hello,

I'm attempting to establish communication between an STM32L552CET6 microcontroller and an external flash memory.

When I manually initiate communication, the component responds to the microcontroller, indicating no hardware issues.

However, when I attempt to create a NAND filesystem, the read function places the data at an address inaccessible to the microcontroller. Despite attempts to modify the IRAM region in the scatter file, the issue persists.

Below is a capture of Keil µVision during debugging 

 

have you any idea about this issue?

 

Best regards,

flash memory issue.png

1 REPLY 1

Perhaps the address is wrong, or protected?

Does the MCU Hard Fault if you access this memory?

Where is this address coming from?

SRAM is at 0x20000000.. 0x2003FFFF surely?

NAND address space within an external memory is not directly accessible with the MCU's own address space.

Explain your situation better, perhaps also tag/topic the post properly, not a GNSS Community issue. Use the Edit, see "V" icon in upper right of post, right click for post options..

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