cancel
Showing results for 
Search instead for 
Did you mean: 

STBLLIB usage

nickich
Associate II
Posted on November 28, 2009 at 08:38

STBLLIB usage

6 REPLIES 6
nickich
Associate II
Posted on May 17, 2011 at 13:31

Hi,

I need to make a GUI application to load the FW to STM32. I was thinking to use STBLLIB, but it seems to be impossible as the UART is hardcoded inside.

The idea is to use any custom USB to UART converter(like FTDI) to load the code.

Is that possible? What are the options?

Best regards,

Nikolay

nickich
Associate II
Posted on May 17, 2011 at 13:31

... nobody knows the answer ...?!?!

16-32micros
Associate III
Posted on May 17, 2011 at 13:31

Dear mate,

Yes, you can 🙂 FTDI chip is seen by the PC as a standard RS232 Com and you can link it to STBLLIB, There is already an example with source code in Visual C++ 6 and Visual 2005 of the Command line version that you can re-use in your GUI application.

Cheers,

ST1.

nickich
Associate II
Posted on May 17, 2011 at 13:31

Thanks ST1,

but I don't want to map it as RS232 COM, rather I'd like to use ftd2xx library in my project. One of the reasons for that is because I'd like to control the STM32's bootmode pins from the FTDI. Other reason is that I'd like the device to be seen like a custom edvice (not COM)...

Is there a way to use the library without the low level serial COM comunication interface?

or

Is there information about the low level protocol for the STM32 build-in loader?

Regards,

Nikolay

[ This message was edited by: nickich on 27-11-2009 13:08 ]

nickich
Associate II
Posted on May 17, 2011 at 13:31

Hi edison,

That's what I was looking for!

Cheers,

Nikolay

tomas23
Associate II
Posted on May 17, 2011 at 13:31

AN2606 - explains boot modes description and the protocol