bootloader protection

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

bootloader protection

ソリューションへジャンプ
1,688件の閲覧回数
chetu
Contributor I

hi

i am  chetan 

i am using MC9S12DP256 microcontroller in my bootloader project

 

1.please help me to protect bootloder area i.e. (3B,3F page)???

 2. how to jump from application to bootloader ??

 

thanks in advance 

ラベル(1)
0 件の賞賛
返信
1 解決策
913件の閲覧回数
isionous
Contributor III

chetu wrote: please help me to protect bootloder area i.e. (3B,3F page)???

 

 I'm looking at the MC9S12XDP512 data sheet and section 28.3.2.5 talks about the Flash Protection Register (FPROT).  The data sheet should have information on what you need to do.

 

 

 chetu wrote: how to jump from application to bootloader ??

 

If you're programming in C, use some inline assembly:

 

 

asm jmp BOOTLOADER_ENTRY

 

 Where BOOTLOADER_ENTRY is defined elsewhere to be the address of the entry point of the boot loader.  You might have to mess with the Project.prm to set the boot loader entry point to what you want.  Also, bootloaders are usually executed upon reset, so you could just have the microcontroller reset itself.

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
914件の閲覧回数
isionous
Contributor III

chetu wrote: please help me to protect bootloder area i.e. (3B,3F page)???

 

 I'm looking at the MC9S12XDP512 data sheet and section 28.3.2.5 talks about the Flash Protection Register (FPROT).  The data sheet should have information on what you need to do.

 

 

 chetu wrote: how to jump from application to bootloader ??

 

If you're programming in C, use some inline assembly:

 

 

asm jmp BOOTLOADER_ENTRY

 

 Where BOOTLOADER_ENTRY is defined elsewhere to be the address of the entry point of the boot loader.  You might have to mess with the Project.prm to set the boot loader entry point to what you want.  Also, bootloaders are usually executed upon reset, so you could just have the microcontroller reset itself.

 

0 件の賞賛
返信