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.
hi, We are facing a problem in software (lpc3250 controller). Executable code is running from external nor_flash. We need to execute two statements from internal ram of processor then PC has to jump to nor_flash. Control of program counter (PC) has to move like this: nor_flash -> iram -> nor_flash implementing this in c language is possible?
Don't think of assigns to PC.
Think about use of function pointers or normal function calls.
You can even get the linker to set up everything to copy the contents of a function into RAM so the reset of the program can call this function without knowing it is located in RAM.