MC13224 serial bootloader

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC13224 serial bootloader

Jump to solution
2,900 Views
estratos
Fresh Out Contributor

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 Kudos
Reply
1 Solution
2,159 Views
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.

 

 

View solution in original post

0 Kudos
Reply
2 Replies
2,160 Views
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 Kudos
Reply
2,159 Views
estratos
Fresh Out Contributor

Thanks Mar :smileywink:

 

Daniel.

0 Kudos
Reply