call serial boot loader from user program

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

call serial boot loader from user program

1,404件の閲覧回数
bob_s
Contributor III
I am running CW 8.2.3 on a WinXP platform for a 56F8323. I want to call the boot loader program from my user program but have not been successful so far. Any suggestions? Thanks, Bob
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

851件の閲覧回数
Elar
Contributor I

I rewrote the serial programmer to do something similar. I set a byte in flash to either 0x0000 or 0x0001. On reset, the serial bootloader runs if that byte is equal to anything except 0x0001.  If I want to reload my code, my program sets this byte of flash to 0x0000 and causes a software reset. When my program initializes it sets it back to 0x0001. Has been working for me so far.

0 件の賞賛
返信