cancel
Showing results for 
Search instead for 
Did you mean: 

USART bootloader in motor control application

asterix
Associate II
Posted on September 08, 2008 at 11:20

USART bootloader in motor control application

4 REPLIES 4
asterix
Associate II
Posted on May 17, 2011 at 12:38

Hi,

STM32 motor control timer shares PWM output pins with USART1, which is fixed for bootloader. However I need embedded bootlaoder for Field upgrade without usig IAP and sacrify some pages from flash.

Remaping pins will not help, because in system memory boot mode (Application note AN2606) it can not be changed.

Do you have any idea how to use both in my application and without extra hardware ? Thank you in advance.

Asterix.

walterma
Associate II
Posted on May 17, 2011 at 12:38

I do this with an analog switch like this:

MAX4782

lanchon
Associate III
Posted on May 17, 2011 at 12:38

PA9 & PA10 map to high side outputs on TIM1. if you're driving say a BLDC maybe you could do nothing; it doesn't really hurt if the high side switches turn on if the low side switches are all off. or you could disable the high side gate drivers if they have an enable pin. or not power them. or not power the motor power bus and feed the stm32 from the field update device. just guesses...

st3
Associate II
Posted on May 17, 2011 at 12:38

Quote:

I need embedded bootlaoder for Field upgrade without usig IAP and sacrify some pages from flash.

Couldn't you use JTAG...?