cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 link utility modify external loader N25Q-128A for demo board 746 EVAL

Professional
Senior

Hello,

STM32 link utility uses the C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.2\arm\config\flashloader\ST\FlashSTM32F7xx_QSPI_STM32F746G-DISCO.mac file to download soft into QUAD SPI N25Q-128Amemory. As our target uses a different interface for QUAD SPI , how can we modify FlashSTM32F7xx_QSPI_STM32F746G-DISCO.mac file ?

This file contains instruction to load into RAM

   /*Enable GPIOB & GPIOE & GPIOD*/

 Reg = __readMemory32(0x40023830, "Memory"); // RCC.AHB1ENR enable GPIOB & GPIOE & GPIOD

 Reg |= ((0x1UL<<4) | (0x1UL<<3) | (0x1UL<<1));

 __writeMemory32(Reg, 0x40023830, "Memory");

How is it generated ?

How can we modify it ?

thanks for any support

best regards

0 REPLIES 0