2022-07-20 11:14 PM
I'm using Nucleo-G474RE + X-Nucleo-GFX01M2
I downloaded the X-Cube-DISPLAY package
I cannot find a flash loader file for the Nucleo-G474RE in the ExternalLoader folder. See below screenshot
Where to find an ExternalLoader file or can I use one of the below ones?
2022-07-21 05:12 AM
None of these are likely to work as they are board and architecture specific
I'll look to port the Macronix loaders to the G4 in the next several days as time/resources permit
https://github.com/cturvey/stm32extldr/tree/main/gfx01m2_mx25l6433f
2022-07-21 05:32 AM
The GFX02Z1 (NUCLEO-144) ones live here
https://github.com/cturvey/stm32extldr/blob/main/gfx02z1_mx25l6433f
I need to post the H7 ones
2022-07-21 05:52 AM
2022-07-21 06:02 AM
Mainly its the HAL libraries, but secondarily there are multiple QUADSPI pin combinations. I'll have to look at what the NUCLEO implements, or if it is just SPI pins.
The NUCLEO-144's at least had defined QUADSPI pins on the headers
2022-07-21 06:06 AM
2022-07-21 09:01 AM
Sure, I understand that, but its whether it uses QUADSPI_D0 and QUADSPI_D1 pins that would allow for the QUADSPI controller to work in 1-bit mode.
SPIB_NCS PA8
SPIB_MOSI(D0) PC3,PA4,PB5,PB15
SPIB_MISO(D1) PC1/PB9, PC2, PC11, PB14
SPIB_SCK PB12, PB13, PB3
PA4 SPI1/SPI3 NSS
PA8 GPIO-NSS
PB3 SPI1/SPI3 SCK
PB5 SPI1/SPI3 MOSI
PB9 -x-
PB12 SPI2_NSS
PB13 SPI2_CK
PB14 SPI2_MISO
PB15 SPI2_MOSI
PC1 -x- BK2_IO0
PC2 -x- BK2_IO1
PC3 -x- BK2_IO2
PC11 SPI3_MISO
2022-07-26 01:05 AM
2022-07-26 06:13 AM
Making progress. I have some NUCLEO-G474RE in hand and have a BSP reading, writing and erasing the MX25L6433F successfully.
In the process of porting a G4 GNU project for the loader.
2022-07-26 09:10 PM