QSPI.mac of STM32F746 Disco board project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-15 10:49 PM
Hello,
When generating a project for STM32F746 Disco board a QSPI.mac is generated.
This file contains instruction to load into RAM
__hwReset(0);
__message "---- setup device ----" ;
Reg = __readMemory32(0x40023838, "Memory"); // RCC.AHB3ENR enable QSPI
Reg |= (0x02UL);
__writeMemory32(Reg, 0x40023838, "Memory");
....
How is it generated ?
How can we modify it as we uses different QUAD SPI on our target ?
thanks for any support
best regards
Solved! Go to Solution.
- Labels:
-
QSPI
-
STM32F7 Series
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-23 4:50 AM
Hi @Professional​,
Are you generating the project from within TouchGFX Designer? If so, which version of the application template are you using? I'm guessing 1.1.0. There is a 2.0.0 available.
The .mac files are only for IAR flashloaders, but i would suggest you simply program your application through ST-Link and choose the QSPI chip in there. Generally, we've moved away from IAR based flashloaders and sticking to ST-Link or STCubeProgrammer
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-23 4:50 AM
Hi @Professional​,
Are you generating the project from within TouchGFX Designer? If so, which version of the application template are you using? I'm guessing 1.1.0. There is a 2.0.0 available.
The .mac files are only for IAR flashloaders, but i would suggest you simply program your application through ST-Link and choose the QSPI chip in there. Generally, we've moved away from IAR based flashloaders and sticking to ST-Link or STCubeProgrammer
/Martin
