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.
This is an MP3 Player application. I have a code of size 116k, which resides in the Program memory (On Chip -SoC with in built 8032 & DSP) upon boot up. This code initially resides in a external Nand Flash memory chip alongwith DSP code as an image file (Size:4mb). Once the system is On, the image file is parsed. I mean 116k of 8032 code is sent to 8032 Program memory and the DSP code to DSP's Program memory. I would like only 32k of 116k code to reside in the Program memory upon boot up. Please kindly suggest a method of doing the same. Can code banking be done ? If so how ?
The 8032 acts as an interface between user and the DSP. The s/w is written in the form of event driven co-operative kernel. Hence the code size of 116k
Still sounds like an awful lot of code for just a user interface! Does it really need to be that big?! "The s/w is written in the form of event driven co-operative kernel. Hence the code size of 116k" (my emphasis) Maybe I'm just reading too much into your English usage, but the above says that the size of the code is due to writing it as an "event driven co-operative kernel" (whatever that means). Could you not choose a more efficient implementation, and save yourself the grief of code banking?
Could you not choose a more efficient implementation, and save yourself the grief of code banking? naaah, he has not realized The '51 ain't no PC Erik
I thought I'd seen it before: http://www.keil.com/forum/docs/thread7519.asp#msg34757
ah, did not notice the therad was duplicate when posting both places Erik