cancel
Showing results for 
Search instead for 
Did you mean: 

I don't know How to use USB-VirtualCOM-IAP..

kimsk
Associate
Posted on May 09, 2012 at 07:05

Hello, I am a firmware engineer in Korea.

First of all, excuse me for my English skills.

I use STM3210E-EVAL(compiler: KEIL) which can do IAP(In-application programming) performance.

I executed IAP example at ST homepage.

This example uses USART.

But I want to use IAP through USB virtual COM port.

I saw datasheet of STM32F103ZE IAP(AN2557), and it said ''This feature allows the use of any type of communication protocol for the reprogramming process(such as CAN, USART, USB)''. (Page 1)

So, I ask you to use IAP through USB communication(Virtual COM port).

If USB-communication-IAP firmware examples exists, send them to me please.

I will appreciate. I will wait your response. Thank you for reading my notice.

e-mail:

mailto:kimsk@meerecompany.com

#vcom #virtual-com-port #virtual-com #usb #iap
1 REPLY 1
harinath
Associate III
Posted on May 09, 2012 at 09:43

Hello kim.sung_kyoung,

 

I'm also in korea working on stm32f103 micro. I guess you are talking about Device firmware upgrade(DFU). It is possible to upload firmware through USB to STM32 device. But there should be DFU image dumped at base adress 0x08000000. Your application can be located at base adress 0x08003000. There can be two ways to enter into DFU mode, Hardware & Software mode.

There are complete source files on ST web: 

http://www.st.com/internet/evalboard/product/250367.jsp

This firmware source uses FreeRTOS +IAR EW. I'm also trying to do the same in IAR embedded Workbench. I could be able to compile execute them.

You may use it to understand how it is done.  Application note AN2026 would help you.

Now I'm working on STM32-P103 Olimex board to use the virtual com port & DFU code of that, but getting some problems.

My problem: 

http://harinadha.wordpress.com/2012/05/03/olimex-stm32-p103/