AN3275 Bootloader Problem

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

AN3275 Bootloader Problem

ソリューションへジャンプ
670件の閲覧回数
cokezero
Contributor I

I must be missing something, because the serial bootloader is causing bizarre behaviour on my HCS12 dev board:

 

I have a very simple test app that toggles pins on PORTB (MCS12DG256).  The code compiles and runs as expected when flashed via the BDM.  However after flashing the code through a serial bootloader (unmodified AN3275), PORTB does not respond to output commands.

 

I code appears to be flashed properly, and the bootloader successfully switches to the app start location.  I have tested other ports and the serial connection, which all seem to be working fine. The problem for now appears isolated to PORTAB.

 

Is there anything that the AN3275 bootloader would do to affect PORTAB in a flashed application?

 

Thanks!

ラベル(1)
0 件の賞賛
返信
1 解決策
398件の閲覧回数
cokezero
Contributor I

Solved.

 

It turns out that the bootloader code I was using had been modified (a lesson on the importance of rev control!), causing the chip to boot in expanded mode which then overloaded the PORTB pins on the dev board. Booting in single chip mode seems to have solved the problem.

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
399件の閲覧回数
cokezero
Contributor I

Solved.

 

It turns out that the bootloader code I was using had been modified (a lesson on the importance of rev control!), causing the chip to boot in expanded mode which then overloaded the PORTB pins on the dev board. Booting in single chip mode seems to have solved the problem.

 

 

0 件の賞賛
返信