Content originally posted in LPCWare by rmoss on Wed Feb 04 08:28:39 MST 2015
Hi Bavarian,
Regarding this post, I have submitted a post yesterday with similar issues. When you say "you can place const data into flash memory, but not variables", is this in the case of the SPIFI only? I have placed an entire object in the SPIFI and get the Hard Fault when the linker is placing the object from SPIFI to SDRAM. I have done this successfully using the LPC1788 and external parallel flash. My post from yesterday is "Linker copy SPIFI objects to SDRAM causes Hard Fault". Any thoughts on why the linker is behaving this way (IAR EW V6.6, LPC1857, Spansion SPIFI)
Thanks,
Robert