Skip to main content
artvolk
Associate III
January 5, 2011
Question

Moving from AVR to STM32 -- starter questions

  • January 5, 2011
  • 18 replies
  • 3743 views
Posted on January 05, 2011 at 12:18

Moving from AVR to STM32 -- starter questions

    This topic has been closed for replies.

    18 replies

    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    ''I do want simple debugging support out of the box''

    I can confirm that the free Keil Evaluation download will do this.

    I would very much suspect that IAR will, too (but haven't tried it).

    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.
    artvolk
    artvolkAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    Thank you all for the responses!

    I do want simple debugging support out of the box, that's one of the reasons I've ordered ST32VL-Discovery (haven't got it yet, though).

    As far as I can tell from these and other forums, I have two possibilities to get OnChip debug support:

    - Use STM32 Discovery with IAR or Keil (limited free versions or commercial)

    - Use CoLinkEx (free, but works at least with F103 line)

    Have I missed any options?

    artvolk
    artvolkAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    Thank you for the quick and accurate responses! Can't wait when my STM32VL-Discovery arrive :)

    Tomas DRESLER
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    Wrong piece? Nowadays Keil, IAR and others support ST-Link as a debug tool, too, and they have libraries for it integrated!

    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    ''i`m using usbscarab and oocdlink debuggers, both with usb + codesourcery + openocd + eclipse + zylin''

    That's a whole lot of stuff that you've had to obtain, configure, and integrate!

    And that is my point: when you get Keil or IAR (probably others), you get a complete package; with ''free'' (sic) open source, it seems to me, you have to put (a great deal of) effort into obtaining and assembling a ''system''

    With the paid-for open-source offerings, it seems to me that the thing you pay for is having the supplier do all this work for you... 

    Again, this is just the impression of one having looked at it, but not actually done it.

    ''there is huge tutorial''

     

    It is just ''huge'' because it's so complicated...?

    ;)

    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.
    leszek2
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    i`m using usbscarab and oocdlink debuggers, both with usb + codesourcery + openocd + eclipse + zylin.

    there is huge tutorial but unfortunatelly in polish, but you can translate it with google:

    http://www.freddiechopin.info/index.php/pl/artykuly/35-arm/59-arm-toolchain-tutorial

    those debuggers are very cheap, below 20$, the rest are free to download and use from internet.

    lastsamurai
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    Hey,

    What happened?  I also started using it, and works well for me..

    Cheers,

    Sam

    stm2399
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    Not excactly a Linux port of ST-Link

    How about Versaloon ported to run on the JTAG part of the STM8S or the STM32VL.

    I just ported versaloon (SWD only) to the above board , and now i can program my STM32VL - value-line chip , on Ubuntu 10.04.

    Using just the STM32VL  USB cable & versaloon vsprog or OOCD

    See

    http://www.versaloon.com/bbs/viewtopic.php?f=2&t=17&start=0

    /Bingo