hello,
i write a bootloader program that do nothing, only jump to application program. when both my bootloader and application is RTX, there is no problem. but if i write bootloader a simple program(not RTX) and my application is RTX, my application not work. what's the problem. please answer me as soon as possible. thank you.
"please answer me as soon as possible."
You want extra super-duper priority? From whom?
Anyway - have you remapped the interrupt vectors to RAM, so your application and boot loader doesn't try to use the same interrupt handlers?
hi, thank for your interest. how can i remap my interrupt vector? only with setting of MEMMAP register? or other work is necessary? thank you
Put this in your ASM page of project settings:
RAM_INTVEC REMAP RAM_MODE
assuming you have an ARM7 type chip, not a Cortex !
hi, thank you very much. this solve my problem. i have another question, can i use same ram memory for both bootloader and application program? is it no problem?
Yes you can, as long as they don't run in parallel (i.e., the bootloader jumps to application and never handles any interrupt).