2009-11-27 11:38 PM
STBLLIB usage
2011-05-17 04:31 AM
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, Nikolay2011-05-17 04:31 AM
... nobody knows the answer ...?!?!
2011-05-17 04:31 AM
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.2011-05-17 04:31 AM
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 ]2011-05-17 04:31 AM
Hi edison,
That's what I was looking for! Cheers, Nikolay2011-05-17 04:31 AM
AN2606 - explains boot modes description and the protocol