MC13224 serial bootloader

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

MC13224 serial bootloader

跳至解决方案
2,741 次查看
estratos
Contributor I

Is there any way to enable the serial bootloader on the MC13224 via software without having to set ADC2_VREFH pin to low and ADC2_VREFL pin to high?

 

Thanks,

 

Daniel.

0 项奖励
回复
1 解答
2,000 次查看
redbee
Contributor III

 


estratos wrote:

Is there any way to enable the serial bootloader on the MC13224 via software without having to set ADC2_VREFH pin to low and ADC2_VREFL pin to high?

 

Thanks,

 

Daniel.


 

Setting ADC2_VREFH low and ADC2_VREFL high on reset triggers a flash erase.

 

Setting UART1_RTS low on reset will cause the bootloader to watch UART1 if there isn't a valid image in flash, SPI, or I2C.

 

I suppose it wouldn't be too hard to find the ROM address for the UART1 bootloader and jump to there...

 

 

-Mar.

 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,001 次查看
redbee
Contributor III

 


estratos wrote:

Is there any way to enable the serial bootloader on the MC13224 via software without having to set ADC2_VREFH pin to low and ADC2_VREFL pin to high?

 

Thanks,

 

Daniel.


 

Setting ADC2_VREFH low and ADC2_VREFL high on reset triggers a flash erase.

 

Setting UART1_RTS low on reset will cause the bootloader to watch UART1 if there isn't a valid image in flash, SPI, or I2C.

 

I suppose it wouldn't be too hard to find the ROM address for the UART1 bootloader and jump to there...

 

 

-Mar.

 

 

0 项奖励
回复
2,000 次查看
estratos
Contributor I

Thanks Mar :smileywink:

 

Daniel.

0 项奖励
回复