Programming STM32L0 in production
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-04 7:59 AM
Hi,
I've developp a small product based on STM32L051, and we have to start production, 100 product for the moment.
What is the best way to program STM32 after PCB mounting :
- using STlink tool, connect each board and download hex file
- using 5 or 10 Stlink in paralell?
What about about powering for programming? is it possible to use Power Pin from STlink tool because the battery isn't on the board in the factory?
Best regards
#stlink #production #flash-programming #stm32l0- Labels:
-
Flash
-
ST-Link
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-04 8:20 AM
ST Link monitors the target MCU supply instead of providing one.
For programming devices, ST Link or Bootloader are the simple one by one programming.
There should be professional programmers or maybe gang programmers to get more confortable.
A quick search bumps for example to this
http://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320165&productTab=1
Alternate scheme would probably be IAP (in application programming).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-04 10:21 AM
The serial based System Loader scales very cheaply/effectively. If you have a header that connects the USART, power and boot pins, all the better. Usual best to make these choices when first designing the board/schematic.
How you power it is going to depending on the circuit/connectivity. The external ST-LINK expects it's drivers to be powered by the Target
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-06 1:01 AM
To complement Clive's comment, for high volume production, similarly to Adafruit board testing/programming, using a SWD contacts for pogo (probe pins with springs) such as
would avoid the cost of a connector and enable high throughput.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-20 11:10 PM
What connections do you suggest for just programming using UART?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-21 5:51 AM
Check the app note, but USART1 on PA9/PA10 is typically at least one of the ports used by the System Loader.
Up vote any posts that you find helpful, it shows what's working..
