What is the proper routine or algorithm in enabling In-application programming for DSC (i.e. MC56f82748)?
I tried jumping to the bootloader _Entrypoint from the application main loop by using the jmp command in assembly but the Bootloader keeps on resetting itself to that entrypoint?
if (Term1_KeyPressed()){
Term1_ReadLine(hex);
//if(hex[0]=='f'){
// StartAddress = 0x7800;
// asm(move.l StartAddress, N);
// asm(jmp (N));}
Term1_ReadLine(hex);
//Term1_SendNum(10);
if( checker(hex,flsh)!=0)
{
Term1_SendStr("Going to Bootloader?[Y][N]");
Term1_CRLF();
StartAddress = 0x7800;
asm(move.l StartAddress, N);
asm(jmp (N));
}
else{
Term1_SendStr("Unrecognized Command");
Term1_CRLF();}