Skip to main content
hisham23
Associate III
May 18, 2012
Question

STM32F105 Programing tool

  • May 18, 2012
  • 5 replies
  • 1521 views
Posted on May 18, 2012 at 14:08

Hello, this is my first project using stm32F105 microcontroller, and i want to start developing application using this micro controller, so i want to ask about the compiler that i should use, and how can i use it with keil development tool.

Regards,
    This topic has been closed for replies.

    5 replies

    emalund
    Associate III
    May 18, 2012
    Posted on May 18, 2012 at 15:51

     i want to start developing application using this micro controller, so i want to ask about the compiler that i should use, and how can i use it with keil development tool.

     

    well, if you want to ''use it with keil development tool'' the I guess that you need the Keil compiler.

    Erik
    alok472
    Associate
    May 19, 2012
    Posted on May 19, 2012 at 05:26

    the STM32 website shows several tools that can be used.

    the 32K version on Keil and IAR are free. You can download them.

    if you already have Keil, it supports the STM32.

    all IDE provider provide their own JTAG debugger and programming tool. You can also use very cheap ST-Link. All IDE support ST-Link

    hisham23
    hisham23Author
    Associate III
    May 21, 2012
    Posted on May 21, 2012 at 11:12

    I found this page http://www.keil.com/arm/selector.asp and i will choose one of the products that are listed.

    But i have another issue concerning the pins that i should use to program stm32f105, and the programmer that i should use.

    Please share your experience.

    Thanks
    hisham23
    hisham23Author
    Associate III
    May 21, 2012
    Posted on May 21, 2012 at 13:32

    What i want to know is how to download the program to the chip? i read about boot loader, but when i connect the usb cable between the microcontroller and pc, what i have to open in order to send the program to the microcontroller.

    Tesla DeLorean
    Guru
    May 21, 2012
    Posted on May 21, 2012 at 14:27

    For the USB, you'll need something like the DFU update tools, can't help you there.

    For the serial port, search for the ''Flash Loader Demonstrator'' application w/source.

    Normally when doing initial design/debug you'd use a JTAG pod attached to your IDE (Keil would support the U-Link, J-Link and ST-Link easily). Basically compile and debug, at the press of a couple of buttons.

    For wiring you'd need JTAG or SWD pins connected to a header, I would strongly suggest downloading and reviewing all the reference board schematics to get a clear understanding of how this might practically be achieved. I would also suggest working with an evaluation board for the part of interest until you have a more complete understanding of the functionality, and how that might impact your own design/implementation.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..