Juha-Matti Koopikka

LRAE doesn't execute downloaded S-rec on MC9S12C32

Discussion created by Juha-Matti Koopikka on Aug 24, 2007
Latest reply on Sep 11, 2007 by Juha-Matti Koopikka

I have been doing a bootloader for MC9S12C32 and I have some trouble when when code gets JMP command to downloaded s-record wich is located in RAM 0x3800. Code is dummy-code that just prints stuff at SCI and its compiled with PIC- and PicRTS-options , works fine if it is just uploaded stand a lone code via Multilink.

Calling code:

asm ldx    startAddress.word;
asm jsr    0,x;

The checksum is correct and still i get Illegal BP, I'm out of options.