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

Code Banking

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 ?

Parents
  • 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?

Reply
  • 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?

Children