Skip to main content
August 26, 2020
Question

load widjet to 25q256 to keil and stm32h743iit6

  • August 26, 2020
  • 32 replies
  • 9106 views

Hello friends

My problem is I can not widgets load to 25q256 via qspi I do not know what the problem is in my program, I put the project for you to find the problem, thanks

This topic has been closed for replies.

32 replies

Tesla DeLorean
Guru
August 26, 2020

You'd need to build a Flash Algorithm (.FLM) to program the external memory device directly from Keil's debugger.

Might be easier to start with getting the read, write, erase validated on your QSPI device.

Provide a means of programming via a .HEX sent to your board, or XMODEM a .BIN, so you can test your TouchGFX app with all its data in place.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
August 26, 2020

Thank you for your answer

I do not remember what you wrote, if you can see the programming code I attached and modify it

Thanks

Tesla DeLorean
Guru
August 26, 2020

Not really looking to wade through a 70MB download and try to diff it.

Can you read/write the 25Q256 currently?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
August 27, 2020

Yes I can but for touchgfx I can not

August 28, 2020

Is there no one to answer my question?

Tesla DeLorean
Guru
August 28, 2020

The pool here is pretty shallow, most have their own jobs to attend too, and the pay here is awful.

No one has your hardware, so you're likely going to have to debug the situation yourself.

Not much to work with here. A "not working" report needs more specificity, perhaps showing what the debugger can see currently in working vs non-working cases.

If you have one app working with QSPI, and another not, you're going to need to go through the clock, pin and peripheral settings on the STM32 to see where they diverge.

If you can access the QSPI in the TouchGFX app, but there is not content, then you're going to have to find away to load the memory with the content generated by the toolchain.

Keil is not going to be able to write the QSPI from the debugger without a custom flash algorithm tailored for your board.

Similarly STM32 Cube Programmer will need a custom external loader.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
August 28, 2020

thanks a lot Can I do training for external loader find?

August 28, 2020

This is a schematic of my victory

Tesla DeLorean
Guru
August 29, 2020

So are you using a WINBOND W25Q256 or a MICRON N25Q256A ?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
September 9, 2020

External loader for W25Q256FV on CUSTOM (HSE:25 MHz, CS:PB6:AF10, CLK:PB2:AF9, D0:PE8:AF10, D1:PE9:AF10, D2:PE7:AF9, D3:PE6:AF9)

Note still some buggy behaviour with STM32 Cube Programmer v2.5.0, might need to Disconnect-Connect ST-LINK for the external loader Init function to be called properly. See: https://community.st.com/s/question/0D50X0000BRWFmKSQX/stm32-cube-programmer-v210-not-working-with-stm32h750bdk-qspi-external-loader

PayPal or Amazon Gift Cards to sourcer32@gmail.com

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
August 29, 2020

from WINBOND W25Q256 i use

August 29, 2020

Indicates the execution time of the white LCD program

August 30, 2020

Can I do training for external loader find? for keil

Tesla DeLorean
Guru
August 30, 2020

https://www.keil.com/support/man/docs/uv4/uv4_fl_flash_algorithms.htm

https://arm-software.github.io/CMSIS_5/Pack/html/flashAlgorithm.html

Keil has assorted examples and templates

C:\Keil528\ARM\Flash\_Template

C:\Keil528\ARM\Flash\S25FL128S\FlashDev.c

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
August 30, 2020

Thank you. I saw your content, but I did not understand whether it can be done by cube programmer external flash loader ?

Tesla DeLorean
Guru
August 30, 2020

Similar mechanics

STM32CubeProgrammer v2.5.0\bin\ExternalLoader\N25Q256A_STM32L476G-EVAL\Project\MDK-ARM

Some External Loader description

https://www.st.com/resource/en/user_manual/cd00262073-stm32-stlink-utility-software-description-stmicroelectronics.pdf

https://support.touchgfx.com/docs/development/board-bring-up/how-to/11-flash-loader/

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