QSPI issue
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-02-12 3:31 AM
I am using STM32F746 controller and MX25L128 flash on a custom board.
I want to make external flash loader file for my custom board.
I followed the MOOC - External QSPI loader how to
I got error while memcmp
for (var = 0; var < SECTORS_COUNT; var++) {
if (memcmp(buffer_test,
(uint8_t*) (0x90000000 + var * MEMORY_SECTOR_SIZE),
MEMORY_SECTOR_SIZE) != HAL_OK) {
while (1)
; //breakpoint - error detected - otherwise QSPI works properly
}
}
Labels:
- Labels:
-
QSPI
-
STM32F7 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-16 4:14 AM
Hello @NMait.1,
Here are my two suggestions:
- I see that you are using a different memory from the one used in the project, can you please make sure that you have correctly configured the memory size "#define MEMORY_FLASH_SIZE 0x1000000�??
- Also during debug session, after enabling memory mapped mode, can you share a screenshot of the QUADSPI memory mapped region (starting from address 0x90000000) ?
Chahinez.
