2016-03-03 02:38 AM
Hi,
I'm trying to program an STM32F469NI Discovery board with a default project from the Cube set of projects using IAR Embedded Workbench (v 7.50). The project builds fine, but while trying to program the device I get an error that says ''Writing outside flash memory at address 0x90000000''. I can ''program'' the device if I don't use the flash loader, but then any changes I make are not reflected on the device, i.e. I started with just trying to replace text that is visible on the screen with debug words to see if my changes were having effect, they're not. I tried to play around with the ICF file and other settings in the ''Project Options'' menu but to no avail. I would appreciate any assistance towards this issue. #stm32f4discovery2016-03-03 04:37 AM
Not an IAR user, but sounds like you need to specify an algorithm to program the external SPI Quad Flash. Is this a .mac file under IAR?
2016-03-03 04:51 AM
Sounds likely, but I don't really know how to set up an external flash loader. There are .board files used along with the flash loader but there is no specific one for this controller (469).
Does that help in any way?2016-03-03 08:45 AM
Perhaps you can discuss with IAR customer support?
The ST-LINK Utilities have an External Loader to handle the Quad SPI devices, that code is supplied as source, so might provide a path.2016-03-04 12:00 AM
Thank you, I think I will. It seems to be a very niche problem so I'm not surprised it's uncommon.