1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

stm32f4 discovery

Discussion in 'Microcontrollers' started by be80be, May 25, 2017.

  1. be80be

    be80be Well-Known Member

    Joined:
    Aug 23, 2008
    Messages:
    4,807
    Likes:
    135
    Location:
    morristown,tn
    Any one have any links on a ide and compiler
     
  2. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,228
    Likes:
    641
    Location:
    Derbyshire, UK
    The Arduino IDE is nice and easy.
     
    • Thanks Thanks x 1
  3. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,164
    Likes:
    910
    Location:
    Rochdale UK
    A few mentioned on the ST main site.. One sticks out CooCox Free IDE and C compiler..
     
    • Thanks Thanks x 1
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Cicero

    Cicero Active Member

    Joined:
    Nov 21, 2014
    Messages:
    335
    Likes:
    36
    Location:
    UK

    I use this http://www.openstm32.org/HomePage . Free, eclipse based, and supported by ST cube, and the driver examples etc.
     
    • Thanks Thanks x 1
  6. be80be

    be80be Well-Known Member

    Joined:
    Aug 23, 2008
    Messages:
    4,807
    Likes:
    135
    Location:
    morristown,tn
    I been looking but not found what I need to get it working with arduino use.
    I got some of them stm32f4 boards figured it maybe work too like the cheap board I got.
     
  7. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,228
    Likes:
    641
    Location:
    Derbyshire, UK
    • Thanks Thanks x 1
  8. be80be

    be80be Well-Known Member

    Joined:
    Aug 23, 2008
    Messages:
    4,807
    Likes:
    135
    Location:
    morristown,tn
    I been there there not much about the Discovery board
     
  9. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,228
    Likes:
    641
    Location:
    Derbyshire, UK
    What's different about the discovery board?.
     
  10. be80be

    be80be Well-Known Member

    Joined:
    Aug 23, 2008
    Messages:
    4,807
    Likes:
    135
    Location:
    morristown,tn
    Well I installed the stm stuff but the arduino ide doesn't list the on board programmer.
     
  11. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,228
    Likes:
    641
    Location:
    Derbyshire, UK
    Can't you just connect via the serial port?.
     
  12. be80be

    be80be Well-Known Member

    Joined:
    Aug 23, 2008
    Messages:
    4,807
    Likes:
    135
    Location:
    morristown,tn
    Well all the rest list a option for serial programming but it dont show any for the stm32f407
     
  13. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    If you go to board manager you'll find the STM32F4 board, but according to this the STM32F4 has limited support so far.
    http://www.stm32duino.com/viewtopic.php?f=39&t=40&sid=4202b1963028e7ff96a093f8cf8c710f

    Koduino is mentioned in there which might have more support, but it doesn't look all that great either.
    http://avikde.me/koduino/html/index.html

    STMF103 is the only one with decent support and it's an old chip.

    There's a few threads on the other forum that starts with eev about starting ARM Cortex development with free tools. I haven't tried it in about 6 years though, so no idea. I still pay for Crossworks. OpenSTM32 looks pretty good. There's so many compilers and programmers, it's tough to get started.
     
    • Thanks Thanks x 1
  14. be80be

    be80be Well-Known Member

    Joined:
    Aug 23, 2008
    Messages:
    4,807
    Likes:
    135
    Location:
    morristown,tn
    I know it's in the board manger but it doesn't list any usable programmer's like the stmf103 it has 4 programmers
    the stm32f407 has none.
    stm32f103.png
    and this is the stm32f407
    stm32f407.png
     
  15. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    I don't think that means none, it means you have no other option than serial and there are no ports available.

    Mine is different. Maybe my Arduino IDE is older. I don't get the option of the discovery as a target, only the Star OTTO. When I installed STM32F4 board to test, the installer loaded an STM32 USB driver. With the driver installed when plugged into the STM32 USB, you should get a serial port available.

    If not, I can't help anymore.
     
    • Thanks Thanks x 1
  16. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    • Thanks Thanks x 1
  17. be80be

    be80be Well-Known Member

    Joined:
    Aug 23, 2008
    Messages:
    4,807
    Likes:
    135
    Location:
    morristown,tn
    I downloaded the free stm compiler going to play with it it's c+
     
    Last edited: May 28, 2017
  18. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,164
    Likes:
    910
    Location:
    Rochdale UK
    Remember, C++ is backwards compatible... If you write in C it should compile..
     
    • Thanks Thanks x 1
  19. jimg

    jimg Member

    Joined:
    Jul 27, 2006
    Messages:
    98
    Likes:
    0
    Location:
    Eugene, Oregon
    Activity check
     
  20. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
  21. be80be

    be80be Well-Known Member

    Joined:
    Aug 23, 2008
    Messages:
    4,807
    Likes:
    135
    Location:
    morristown,tn
    I was going to burn the usb bootloader myself
     

Share This Page