Skip to main content
Visitor II
April 16, 2019
Question

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

  • April 16, 2019
  • 0 replies
  • 600 views

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

    This topic has been closed for replies.