2008-09-08 02:20 AM
USART bootloader in motor control application
2011-05-17 03:38 AM
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.2011-05-17 03:38 AM
I do this with an analog switch like this:
MAX47822011-05-17 03:38 AM
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...
2011-05-17 03:38 AM
Quote:
I need embedded bootlaoder for Field upgrade without usig IAP and sacrify some pages from flash.
Couldn't you use JTAG...?