external loader Data mismatch found at address 0x90000000 (byte = 0x88 instead of 0x00)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-29 8:18 AM
The QSPI is working fine, I can write and read using the standard library.
But when using external loader, it can never write the data correctly, though I can read using Cube programmer.
this is the data I am getting
instead of
I am using the loader files for H7 devices and I followed the examples by STM and other. Theirs seems to be working but not mine. Like the data is twisted upside down. Must be something simple somewhere in the code but I cannot find.
- Labels:
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-29 10:45 AM
Double check the mode the device is in and the read template for Memory Mapped mode, STR, DTR, DUMMY CYCLES
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-30 1:37 PM
It was wrong driver/library, it only partially worked on
MT25QL128
STM32H743BIT6
I could read and write but with some errors.
I followed the STM video how to make the loader, it seems very simple.
I could never get this one to work
I couldn't read or write
So I tried my own. After getting the right library it works fine now, it is writing and reading errors free now.
I am not sure if it was STR, DTR, DUMMY CYCLES I did not check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-30 2:20 PM
The latter screen shot shows a MX25LM51245G OCTOSPI device on an STM32H7A/B device.
So you're post's about a MT25QL128 QUADSPI device on a STM32H743BIT6 ?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-30 4:00 PM
correct I tested
this one works fine.
MX25LM51245G
STM32H7A3IIT6Q
I showed how the data should look like once written to QSPI using OSPI. I did not have other working example.
The first shows how the data is misaligned.
this is how it looks today, it is working
