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 build code when code split between ROM/RAM

For the 8051 code space, if I have some code in ROM and some in RAM and I am using bank switching, how should I build my code? My specific question is with regards to RAM updates. I would want to be able to update the code in RAM and yet have the same ROM code.

What process should I follow for compilation, linking, data segments management etc? Do I need to create libraries? Any pointers will be helpful. thanks!

0