Skip to main content
SPraj.15
Associate II
April 15, 2019
Solved

Load program using Micro-B USB

  • April 15, 2019
  • 2 replies
  • 1580 views

Hello,

I'm using STM32F030 series controller. currently we use JTAG connector to load a program into flash memory, using ST-LINK debugger externally.

Now i want to load a program into flash memory using Micro-B USB in my device without using any external debugger.

Please suggest suitable circuit and possible solution.

Thank you

This topic has been closed for replies.
Best answer by Vangelis Fortounas

" on-board USB"

The board may have a usb port but the STM32F030C6 definitely not have.

So, between the computer and the device must have an interface like STlink or other SW adapter or a usb to serial adapter.

Btw, what kind of board you use?

2 replies

Vangelis Fortounas
Associate II
April 15, 2019

Hi

STM32F030 can only be programmed by using USART on pins PA14/PA15 or PA9/PA10 or I2C on pins PB6/PB7 for STM32F030xC devices ,by invoking internal boot loader.

F070 devices have this capability to programmed from USB.

SPraj.15
SPraj.15Author
Associate II
April 15, 2019

Hello Vangelis,

Thanks for reply.

Can we load program using on-board USB in our device with STM32F030C6 if possible then please share a reference schematic.

Thank you

Vangelis Fortounas
Associate II
April 15, 2019

" on-board USB"

The board may have a usb port but the STM32F030C6 definitely not have.

So, between the computer and the device must have an interface like STlink or other SW adapter or a usb to serial adapter.

Btw, what kind of board you use?

Tesla DeLorean
Guru
April 15, 2019

Does AN2606 suggest the ROM supports DFU mode? Check also build size of user based DFU code, and if that and your application code will fit in device. ​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..