Fail to adress memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-05-06 8:17 AM - last edited on 2024-05-06 11:43 AM by Peter BENSCH
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,
- Labels:
-
OctoSPI
-
STM32L5 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-05-06 8:40 AM - edited 2024-05-06 8:41 AM
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..
Up vote any posts that you find helpful, it shows what's working..
