Thank you for your response. I had seen this previously as well. Is there an example that copies ALL of the .text from flash to RAM, and not just the bootloader and FAPI portions? I am trying to write a reprogrammer that executes from RAM. This reprogrammer calls functions that call functions that call functions, etc. These lower-level functions are used by both the reprogrammer and the application (non-reprogrammer) part of the code. I first attempted to copy to RAM only the functions that I needed, but then I kept uncovering other functions (some in the processor library code) that would also need to be copied. Instead of trying to figure out which functions to copy and which ones I don't need to copy, I was wanting to try just copying everything. Is there a way to do this?
↧