cancel
Showing results for 
Search instead for 
Did you mean: 

external loader Data mismatch found at address 0x90000000 (byte = 0x88 instead of 0x00)

MNapi
Senior III

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

2.png

 

instead of

1.png

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. 

4 REPLIES 4

Double check the mode the device is in and the read template for Memory Mapped mode, STR, DTR, DUMMY CYCLES

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

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

https://github.com/cturvey/stm32extldr/blob/main/h7_mt25q128/CLIVEONE-MT25QL128A_STM32H7XX-PB2-PC11-PH2-PH3-PG9-PG14.stldr

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.

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 ?

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

correct I tested

https://github.com/cturvey/stm32extldr/blob/main/h7_mx25lm51245g/CLIVEONE-MX25LM51245G_STM32H7X3-PB2-PB6-PA1-PF8-PF9-PF7-PF6-PD4-PC2-PC3-PD7.stldr

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

3.png