hello every one
i am working on mc9s12xeg128MAL (or mc9s12xet256mal) for writing a bootloader. i am download the AN4258SW and use Bootloader_S12X example, but it seems this code is hanging.
i have multilink universal fx for debuging.
解決済! 解決策の投稿を見る。
Hi Javad,
I can see in the code that you commented out function CopyCodeToRAM(). However, the interrupt handlers are placed to RAM, so this won't work. Interrupt is triggered but there's no valid handler in this case.
Regards,
Lukas
Hi Javad,
I can see in the code that you commented out function CopyCodeToRAM(). However, the interrupt handlers are placed to RAM, so this won't work. Interrupt is triggered but there's no valid handler in this case.
Regards,
Lukas
thanks
I created the interrupt vector table with processor export and was able to set up the serial port.
I also did not need to create a code in the RAM section and replaced the following phrase
// # pragma CODE_SEG RAM_CODE
#pragma CODE_SEG NON_BANKED
I have read the documents required for bootloader, but I have trouble setting it up