2019-04-15 10:44 PM
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