AN3275 Bootloader Problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

AN3275 Bootloader Problem

跳至解决方案
717 次查看
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 解答
445 次查看
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 回复
446 次查看
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 项奖励
回复