We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
"works out to 4KB decimal limit that must be the SRAM that is refered to in the datasheet"
No.
As already noted, it is a limitation of the particular version of the Tools - it has nothing to do with any particular target chip.
And it's a limit on Code size - not data.
See: http://www.keil.com/demo/limits.asp
Ok Thanks
The number is C8051FX20-TB and is writen on the devlopment board. And the datasheet is in the back of one the books for the devlopment board.
Found another compilier, no way my institute will pay the $4500 kiel wants when I'm the only postgrad using embbed systems and 4KB is enough for the undersgrad projects.
If price is a problem, you might be interested in SDCC.
http://sdcc.sourceforge.net/
Michael; Did you really get a $4500 quote for PK51 from Keil? I was under the impression that Keil was very aggressive for educational pricing. AM I that wrong?
4KB is enough for the undersgrad projects.
Apparently 4K is Not enough if your program exceeds 4K. Bradford
need keil c51 and c166 for cheap prices,$100. contact me gogainet@yahoo.com
Your only (legal) hope at that price is to get lucky on ebay - but even then you'll be bidding against people who understand the value of these things...