2010-06-12 12:50 PM
In application programing - available in every fresh bought micro ?
2011-05-17 04:54 AM
Hi, you're getting confused with ISP (In System Programming). IAP is where your program (typically running from User Flash Memory) writes to internal flash memory on its own. ISP is where the bootloader (running from System Memory) writes in to User Flash Memory. Look up the reference manual for the functionality of the BOOT0 and BOOT1 pins. For normal operation (your code) tie both bins low. To run the factory bootloader BOOT0 is pulled high. These pin states are inspected coming out of reset.
Every device will have a bootloader in the area of memory known as System Memory. Using that, you are able to use ISP to program a device without ever using JTAG. The factory bootloader listens on USART1. Grab the ''Flash loader demonstrator'' from the ''Documents and files for family STM32'' from the ST site. This will provide the PC program that talks to the micro and performs the programming.