2010-10-12 08:45 AM
hi.
i have ageneral question: what are the options to program the stm32 in mass production with minimum hardware? i would rather progrming would be after the unit was assambled. thanks.2010-10-12 09:25 AM
what are the options to program the stm32 in mass production with minimum hardware?
i would rather progrming would be after the unit was assambled.
thanks. i have ageneral question:
Generally you can a) Get a stand-alone JTAG programming pod that downloads an image to the target. b) Use the PC and serial port to use the USART1 Boot Loader, and use the documented serial protocol, or example applications to send a hex/binary image to the target. c) Use another STM32 with the firmware image stored on it to connect to the target via the serial port, and again use the USART1 Boot Loader. d) Use a PC and JTAG tools. The trick will be to expose the JTAG pins, USART1 and BOOT pins, as a header or test points to meet your specific needs. Generally you'll always want to be able to get to JTAG pins so you can actually debug and troubleshoot production hardware. The method you choose will depend a lot on budget, speed, serialization, tracking and calibration requirements.
2010-10-13 11:49 PM
2010-10-14 05:55 AM
if i choose the USART1 i need the program the STM32 with aBootloader first right? so i need JTAG in order to program the bootloader?
No, the USART1 method uses the ROM base boot-loader that comes preprogrammed in the STM32. You can program code into Flash, as well as RAM, and execute code.2010-10-14 06:30 AM
ok so where can i download such programer?
2010-10-14 08:40 AM
From ST's site, or a quick google?
http://www.st.com/mcu/familiesdocs-110.html
Flash loader demonstratorhttp://www.st.com/stonline/products/support/micro/files/um0462.zip
http://www.st.com/stonline/products/literature/um/13916.pdf
2010-10-20 04:05 AM
hi
i tried the bootloader you suggested but it does not work i connected the uart from the pc to the USART1 (PA9,PA10) and press next but it sais --------------------------- STMicroelectronics flash loader --------------------------- No response from the target, the Boot loader can not be started. Please, verify the boot mode configuration and the flash protection status, Reset your device then try again... --------------------------- OK --------------------------- what am i doing wrong? (by the way the pc is not connected directly there are to FETs to transfer Voltage level. i used the same connection to test my USART3 program and it worked.) thanks.2010-10-20 05:35 AM