This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Example program requires NOR flash binary to be written first

I have a STM3210E_EVAL board and I have been going through most of the example programs. There is one example program with the name:FSMC_NOR_CodeExecute.

If I run this program it will cause a Hard Fault condition because the program is trying to execute code in the nor flash that has not been written yet. The readme file says I am supposed to program the nor flash at

Program the NOR memory with the example provided in the "binary" directory
@note You can use ST-LINK v3.4.6 tool and select NOR Flash memory in the external loader and then flash the binary file at @0x64000000.

Is it possible to use a ULINK2 and keil to program the nor flash.

I found the GPIO_toggle.bin file in the binary directory.

The second step is to download the main program to run the nor flash program.

Thanks, Gary

0