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

ADuC ULOAD: Jumping to run downloaded code

I have an Analog Devices ADuC842, which has a large section of flash/EERPOM that can be reprogrammed while the uC is running from a smaller part. I've been able to do the reprogramming, but ran into problems with the next step: running the downloaded code.

I've searched here and found solutions that look good, but don't seem to work. All I want to do is jump/call the new code which is located from 0000h (the code already running used to comunicate and program the new code is in 6k from E000h). What seems to happen so far is it just returns to E000h, not to 0000h. Anyone know how I can force it to go to 0000h?

I do know some assembler, but haven't used it in this project other than a "#pragma asm" in trying to get this to work...

0