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

How to store program code in flash?

Hello. I'm am a postgraduate engineering student and I'm currently working on a project that requires more than the available 1000H of program space and need to use the flash memory to store the program. I can't make the program any smaller at the and as it is barely functional as it current is with the code I've needed to remove.

I've never needed to use the flash memory in the past nor taught (I'm mechatronics major not electronics) and the lecturer that is an expert in the microprocessors has recently left and has not been replaced yet. Where would I find a step by step guide how to do it?

I looked through the support page for examples

www.silabs.com/.../mcu_applications_appnotes.htm

I found the example and notes about Code Banking but this does not say how to direct program code to the flash memory to start with and the code banking does not help as I'm using C8051FX20 micro that only has one bank.

Found the information about programming the flash memory with the JTAG but this seem to be example how to allow an update of the program while the micro is running

Any advice would be much appreciated

Thanks

Michael Edmondson

0