Gurus of STR9xx where are you ? If you have flash programming example please send it. But not the example from library (thats runs from ram). Need example that runs from flash.Please...
I do not know if this is your problem (I am not a Guru..), but you must keep in mind that writing to flash with a FMI_clock > 25MHz will give you unexpected results. So before writing to flash, yoy have to reduce the CPU clock-frequency. See datasheet errata 1.21 at page 11! Regards Luc Vercruysse
In Keil STR91x.s file i set MCLKSEL = fOSC (8 Mhz) it must be sufficient.
Also i tried to set MCLKSEL = fPLL (PLL =24 Mhz), PLL ENABLE, FMI clk = Rclk/2 (project work from ram but from flash it not work yet). I do some mistake but can not find it ?
Yes Example1 is the needed project. On my hardware when i compile it
to Flash area (to run from 0x0) it not work but when it run from RAM it work as expected. Thank you for help. Please answer me and explane me what is my mistake.
I use the Keil compiler and MCBSTR9 EVAL board to run the FMI example and find it is not working unless you compile the code in thumb mode instead of ARM mode. Can anyone give me a clue what difference between thumb and ARm mode? Why the FMI example can only work in Thumb mode? Highly appreciate any info.