cancel
Showing results for 
Search instead for 
Did you mean: 

Reading and writing QSPI flash

HPark.5
Associate

Hi,

I have a question about QSPI flash loader

I am currently using Custom External Loader for QSPI flash with STM32H753

and at first it looked like working well, but found out that there are some issues.

One of issue is reading a qspi memory by memory mapped mode, and it looks like the reading on the CubeIDE and CubeProgrammer is different.

As you can see the pictures below, I wrote 0x0A to from the address 0x91000000 to 0x91000100 and so on.

the first one is the result that I want, but the second one is not.

  

What I want to do is writing a binary from the Cube Programmer and reading it from the STM32H753, but when I tried to do this, this time, the reading from cubeIDE is not aligned,

So I have no idea, which one is wrongly configured, even though the configuration code is same.

Does anyone have idea about this?

I found out if I change the dummy cycle to the 12, it seems like the byte align is moving.

Thanks in advance.

1) reading on CubeIDE

0693W000001srmyQAA.png

2) reading on Cube Programmer

0693W000001srn8QAA.png

1 REPLY 1
HPark.5
Associate

Problem solved,

Just used wrong custom bootloader that was built before, and new built one copied to wrong place, not to the cube Programmer, but to the ST Link folder

It took me a full of day to figure out.

Thank you