├── 1_Flash_library └── README.md ├── 2_ExternalLoader └── README.md ├── 3_CubeIDE_mapping └── README.md ├── 4_TouchGFX_mapping ├── README.md ├── Senzanome.png ├── designer1.png └── designer2.png ├── Dev_Inf.c ├── Dev_Inf.h ├── EL_linker.ld ├── LICENSE ├── Loader_Src.c ├── Post-Build command.txt ├── Program_linker_include.txt ├── README.md ├── z_flash_W25QXXX.c └── z_flash_W25QXXX.h /1_Flash_library/README.md: -------------------------------------------------------------------------------- 1 | **Piu' sotto, al termine della lingua inglese trovi il testo in italiano. **_ 2 | _**
Below the English text you'll find the Italian version**_ 3 |
4 |
5 |
6 | 7 | # 1) Using the W25QXXXX Winbond SPI Flash chip library 8 | Here you'll find documentation about handling a flash memory chip connected to a uC SPI port 9 | 104 | Having done what above shown, you can use all functions of the library handling flash.
105 | Each function has its own description and help, inside z_flash_W25QXXX.c file
106 |
107 |
108 |
109 | 110 | [Back to the home page](../.) 111 | 112 |

113 | 114 |
115 | 116 | ## GitHub Folders 117 | 118 | This guide is divided in 4 chapters following the above list.

119 | 120 | - [handling an external W25Q flash with this library](../1_Flash_library) 121 | - [creating and using an External Loader for the SPI flash](../2_ExternalLoader) 122 | - [mapping an external SPI flash on CubeIDE projects](../3_CubeIDE_mapping) 123 | - [using an external SPI flash in TouchGFX projects](../4_TouchGFX_mapping) 124 | 125 |
126 | 127 | 128 |
129 |
130 | 131 | --- 132 |
133 |
134 |
135 | 136 | 137 | 138 | 139 | # Gestire un chip SPI Flash W25Q di Winbond con questa libreria 140 | Qui trovi le informazioni su come gestire una memoria flash connessa alla porta SPI del uC 141 | 235 | Al termine e' possibile utilizzare le varie funzioni della libreria per gestire la memoria Flash
236 | Le funzioni sono autodescritte e commentate nel file z_flash_W25QXXX.c
237 | 238 |
239 |
240 |
241 | 242 | [Torna alla home page](../.) 243 | 244 |

245 | 246 |
247 | -------------------------------------------------------------------------------- /2_ExternalLoader/README.md: -------------------------------------------------------------------------------- 1 | **Piu' sotto, al termine della lingua inglese trovi il testo in italiano. **_ 2 | _**
Below the English text you'll find the Italian version**_ 3 |
4 |
5 |
6 | 7 | # 2) Creating an EXTERNAL LOADER for STM32CubeProgrammer and STM32CubeIDE 8 | External Loader is a plug-in for STM32CubeProgrammer allowing to read/write an external memory through an STM32 uC.
9 | Through the library shown above it is possible to create an External Loader for an STM32 project having a Winbond external SPI Flash chip .
10 | Next, you will see how you can use the same external loader program in STM32CubeIDE to program external Flash memory directly while creating a project: CubeIDE uses the CubeProgrammer modules to program uC internal and external flash memory. 11 | 12 | ## "How to" create an External Loader for a specific project: 13 | 110 | Now "Compile" the project: If everithing is good you'll find the file project_name.stldr into the project root folder

111 | THIS IS THE EXTERNAL LOADER

112 | 113 | ## "How to" add External Loader to STM32CubeProgrammer 114 | 115 | 125 | 126 | ## "How to" add External Loader to STM32CubeIDE 127 | 145 |
146 |
147 |
148 |
149 |
150 | 151 | [Back to the home page](../.) 152 | 153 |

154 | 155 |
156 | 157 | --- 158 | 159 | --- 160 | 161 |
162 |
163 | 164 | # creare un EXTERNAL LOADER per STM32CubeProgrammer e STM32CubeIDE 165 | External Loader e' un plug-in per STM32CubeProgrammer per leggere e/o programmare un chip di memoria gestito attraverso da un uC STM32.
166 | Attraverso la libreria di funzioni indicata sopra e' possibile creare un external loader per un progetto STM32 che ha una memoria SPI Flash Winbond esterna .
167 | Lo stesso plugin puo' essere utilizzato in STM32CubeIDE per programmare la memoria Flash direttamente durante la creazione di un progetto: CubeIDE usa i moduli CubeProgrammer per programmare la memoria flash interna od esterna del uC. 168 | 169 | ## "How to" come creare an External Loader relativo ad un progetto: 170 | 265 | "Compila" il progetto: se tutto e' andato bene trovi il file "nomeprogetto".stldr nella cartella di root

266 | Questo e' l'external loader

267 | 268 | ## "How to": come aggiungere un External Loader a STM32CubeProgrammer 269 | 279 | 280 | 281 | ## "How to" add External Loader to STM32CubeIDE 282 | 300 |
301 | 302 | [Torna alla home page](../.) 303 | 304 |
305 | 306 |
307 | 308 | -------------------------------------------------------------------------------- /3_CubeIDE_mapping/README.md: -------------------------------------------------------------------------------- 1 | **Piu' sotto, al termine della lingua inglese trovi il testo in italiano. **_ 2 | _**
Below the English text you'll find the Italian version**_ 3 |
4 |
5 |
6 | 7 | 8 | # 3) "How to" setup an STM32CubeIDE project mapping an external flash memory 9 |
STILL UNDER DEVELOPEMENT 10 |
11 |
12 |
13 | 14 | [Back to the home page](../.) 15 | 16 |

17 | 18 |
19 | 20 | --- 21 | 22 |
23 |
24 | 25 | 26 | # "How to" configurare un progetto STM32CubeIDE mappando una memoria flash esterna 27 |
ANCORA IN SVILUPPO 28 |
29 |
30 |
31 | 32 | [Torna alla home page](../.) 33 | 34 |

35 | 36 |
37 | 38 | -------------------------------------------------------------------------------- /4_TouchGFX_mapping/README.md: -------------------------------------------------------------------------------- 1 | **Piu' sotto, al termine della lingua inglese trovi il testo in italiano. **_ 2 | _**
Below the English text you'll find the Italian version**_ 3 |
4 |
5 |
6 | 7 | # 4) "How to" setup a TouchGFX project mapping an external flash memory 8 | 9 | Setup a TouchGFX project (following https://github.com/maudeve-it/ILI9XXX-XPT2046-STM32)
10 | then:
11 |
  • on CubeMX:
    12 | 33 |
  • on CubeIDE:
    34 | 70 | 154 |
    155 | 156 |
  • on TouchGFX Designer:
    157 |
    158 | 166 | If you move fonts over the external flash memory, you ALWAYS MUST set fonts as "unmapped" in TouchGFX Designer configuration:
    167 |
    168 | 169 |
    170 |
    171 | 172 | --- 173 | > 174 | > WARNING 175 | > 176 | > External SPI flash memory is MUCH slower than uC internal flash.
    177 | > Consider to move to the flash what you really need due to the limit of the uC internal flash 178 | 179 | --- 180 | 181 |
    182 |
  • add the external loader to CubeIDE 183 | 196 |
  • configure CubeIDE to use the external loader
    197 | 206 |
    207 |
    208 | 209 | [Back to the home page](../.) 210 | 211 |

    212 | 213 |
    214 | 215 | --- 216 | 217 | --- 218 | 219 |
    220 |
    221 | 222 | # "How to" come configurare un progetto TouchGFX mappando una memoria flash esterna 223 | Configurare un progetto TouchGFX (segui ad esempio https://github.com/maudeve-it/ILI9XXX-XPT2046-STM32)
    224 | poi:
    225 |
  • in CubeMX:
    226 | 247 |
  • su CubeIDE:
    248 | 283 | Editare lo script per il linker (file ):
    284 |