Hi
It seems that some reason i don't get any replies, so let's get back to start.
Tools/Hardware:
MC9S12C32
FS CodeWarrior 4.6 (using Processor Expert)
PE Micro USB Multilink interface
Goal:
To make workin bootloader for CAN-analyzer via Serial connection (Actually USB, but converted by hardware) without extra buttons.
I Have read quite many of forum posts, and program examples. Both AN3391 and AllAcces-bootloader had nice features.
But I didn't get AN3391 work at all as i wanted, I modified the code and got SCI-connection, and even managed to write things to FLASH or RAM, but program execution was the problem. When was time to run loaded program, the processor started to jump radomly in memory.
AllAcces worked fine in our Hardware, but the problem is that we don't have chance to use extra button to "booting" , so would be nice to get signal via Serialport or somethin. I noticed that bootin route is made in start.c and therefore interrupts are dissabled and no RAM avaivable for variables? so i cannot use loop for scanning SCI? , and SCI-flags are out of question for marking arrived data?
So any of you wise men have any idea what kind of path is good to follow.