Skip to main content
Giuseppe Cipriano
Associate
Mar 9, 2018 5:17 PM UTC
Solved

Help ! (First time with STM32)

Posted on March 09, 2018 at 18:17

Hi, i'm making some board with a STM32F042F6P6. Today i solder the board, i connected it with the USB cable but windows doesn't see it. Where am I wrong? Do i need to buy a ST-Link V2 Programmer? 

how do I connect it to the pins for the st link?

Thanks.. and sorry for bad english (google translate) and sorry again for the ignorance, it is the first time I use these STM.

This is the board 

    This topic has been closed for replies.
    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    Mar 10, 2018 7:48 PM UTC
    Posted on March 10, 2018 at 20:48

    Without code the USB will do nothing. Not sure if specific part supports USB and DfuSe in system loader. Would need to pull BOOT0 high to get into loader at startup. Loader should always support USART connectivity mode, where you'd use FLASH Loader Demonstrator. 

    For most any development you'd want a debugger pod like a ST-LINK, J-Link, etc

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

    4 replies

    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    Mar 10, 2018 7:48 PM UTC
    Posted on March 10, 2018 at 20:48

    Without code the USB will do nothing. Not sure if specific part supports USB and DfuSe in system loader. Would need to pull BOOT0 high to get into loader at startup. Loader should always support USART connectivity mode, where you'd use FLASH Loader Demonstrator. 

    For most any development you'd want a debugger pod like a ST-LINK, J-Link, etc

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Andrew Neil
    Super User
    Mar 11, 2018 9:41 AM UTC
    Posted on March 11, 2018 at 10:41

    First time with STM32

    Do you have any experience with other microcontroller(s)? With programming in general?

    For basic getting-started tips, see:

    https://community.st.com/0D50X00009XkWm7SAF

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Giuseppe Cipriano
    Associate
    Mar 13, 2018 5:06 PM UTC
    Posted on March 13, 2018 at 18:06

    Hi thanks to all

    A friend helped me, i soldered bad the usb connector
    Andrew Neil
    Super User
    Mar 13, 2018 8:22 PM UTC
    Posted on March 13, 2018 at 20:22

    So please mark your question as 'solved'.

    https://community.st.com/0D50X00009XkXxjSAF

     
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.