cancel
Showing results for 
Search instead for 
Did you mean: 

load widjet to 25q256 to keil and stm32h743iit6

mbagh.1
Senior

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

32 REPLIES 32
mbagh.1
Senior

Thank you very much if possible a sample code for me with the software keil or cubeide for stm32h743

If you're going to use CubeIDE: latest version comes with OpenOCD with stmqspi driver for external NOR flash built in. All you'd have do is to adjust ist the pin initialization (for proper AF setting) and the flash initialization. For that a good starting point is:

http://openocd.zylin.com/#/c/4321/7..9/tcl/board/nucleo-h743zi.cfg

Unfortunately ST had squeezed the setups for various disco boards into the single file stm32h7x.cfg ... So the stuff related to the disco boards has to be replaced by the config for your board. Would have been easier if ST had kept separate file for each board :(

mbagh.1
Senior

Thank you very much for your help, but I did not understand how to file .stldr To make my own schematic of the board

mbagh.1
Senior

Looks like a good starting point, you'll need to adapt to support the 25Q256 part

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

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
Up vote any posts that you find helpful, it shows what's working..
mbagh.1
Senior

True, but it's not clear how to create a file stldr

Ok, but it is a small .ELF object, much like a DLL, which is loaded into RAM and accessed via a number of exported functions.

It doesn't have a main.c or main() entry point.

Basically the Dev_inf.c / Loader_Src.c, BSP code to support the QSPI device, and HAL library files to support the hardware used.

Posted a .STLDR for the W25Q256 earlier in the thread, yesterday.

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

Thank you very much. Can you put the address of that post?

Comes up as the last post on the first page of this thread.

This Salesforce forum software lacks the ability to cite a specific post in a specific thread. Or index posts from a specific users.

#DefectiveByDesign

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