DSC In-application Programming

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DSC In-application Programming

781件の閲覧回数
renanjohncañas
Contributor I

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();}

0 件の賞賛
返信
0 返答(返信)