element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
STM32F4DISCOVERY Expansion Boards
  • Products
  • Dev Tools
  • STM32F4DISCOVERY Expansion Boards
  • More
  • Cancel
STM32F4DISCOVERY Expansion Boards
Forum Struggling to use Atollic TrueStudio v9.0.1
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STM32F4DISCOVERY Expansion Boards to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 9 replies
  • Answers 7 answers
  • Subscribers 8 subscribers
  • Views 3573 views
  • Users 0 members are here
  • atollic
  • stm development
  • truestudio
  • arm-none-eabi-gcc
Related

Struggling to use Atollic TrueStudio v9.0.1

jpnbino
jpnbino over 6 years ago

Hey there,

 

I've recently purchased a STM32F4DISC board and I'm having trouble to use the TrueStudio. I feel that is not enough documentation out there. Does anyone recommend it or can point to another tool?

I gave a try to Truestudio because its free ( fully- featured)

 

Oh, also, I haven't understood yet the folder structure so I can make a proper .gitignore file.

 

any help appreciated,

 

thanks

 

Edit:  I already used MDK and IAR to run some codes and I didn't have problems with them, they were pretty straight forward. It happens that both tools are limited and as David pointed out in the comments the TrueStudio was purchased by ST and made it all for FREE. Also, TrueStudio runs with GCC compiler and integrates with git, therefore I considered to use it for my projects, but it seems lack in proper documentation about itself ( I even haven't been able to program my target without debugging and it seems to run slow to compiler or navigate). I guess there is some configuration out there to make my experience more fluid.

 

Note1: My PC is a core-i5 7th gen, 8GB RAM DDR4

Note2: About run slow, I had been working with Cypress PoC Creator and MPLABX succesfully.

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 6 years ago in reply to jpnbino +4 suggested
    Hi João! I was curious too, I've never used STM32, but I ordered some recently to learn, so very interested to hear what IDEs you and David recommend. I've used IAR in the past on other processors, not…
  • dougw
    dougw over 6 years ago in reply to jpnbino +3 suggested
    I downloaded the TrueStudio software as well. It seems like it should work with this card, but I have not progressed far enough yet to be able to contribute any solutions. It appears all the demo software…
  • koudelad
    koudelad over 6 years ago in reply to dougw +3 suggested
    You are right - most (if not all) code examples are built in TrueStudio, Keil and IAR, with project files provided. All three were also used in their online courses. It is kind of fun that the presenter…
Parents
  • koudelad
    0 koudelad over 6 years ago

    Hello,

     

    Here is an official list of supported IDEs for STM32 microcontrollers: https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-to…

    IDEs in a green box are free. ST now recommends TrueStudio, because ST bought Attolic, company which develops TrueStudio: https://www.st.com/content/st_com/en/about/media-center/press-item.html/c2839.html

    The promise is that TrueStudio will support all STM32 microcontrollers without any limitations.

     

    David

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jpnbino
    0 jpnbino over 6 years ago in reply to koudelad

    Thank you koudelad,

     

    I should have specified better recommendations based on own experience. I already knew about the purchase and I took a ride in MDK and IAR IDEs and I could run codes and get to know folder structure and soon, but they are limited as you might know. So, could you tell me if you had experience programming STM32 using any IDE?

    I'm sorry for not specifying my question and telling some background, I will update right now.

    shabaz , I saw you were here too, so if you wanna look at the edition and know something would be awesome.

     

    João Paulo

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • shabaz
    0 shabaz over 6 years ago in reply to jpnbino

    Hi João!

     

    I was curious too, I've never used STM32, but I ordered some recently to learn, so very interested to hear what IDEs you and David recommend.

    I've used IAR in the past on other processors, not STM, and I loved it. However, it is expensive (although they will negotiate and cut the price down, but it's still too high for me).

    I've not used MDK with any processor unfourtunately. I think I'd want to use GCC if possible, I'll definitely install TrueStudio if you guys think that is the way to go. But I'm equally happy with CLI if TrueStudio doesn't work out.

    Hopefully I'll try installing Truestudio at least, this week (and keep you updated).

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • koudelad
    0 koudelad over 6 years ago in reply to jpnbino

    I haven't used the mentioned IDEs professionally, just for hobby use. Here are my observations, but you will have to do your own research depending on target applications.

     

    MDK is a general purpose IDE that can serve many target architectures. There is a free "unlimited" version for STM32L0/F0, however, if I remember correctly, these devices have Cortex M0/M0+ and not much memory. For other families is the code size restricted (16 kbytes?). I used this IDE for Tiva C family from Texas Instruments. I also had trouble to compile a program for L4 series, after installing the L0 licence - the IDE seems to lock itself after licence installation.

     

    If I wanted to compile some bigger code example from STM, I used AC6. Eclipse based IDE can hardly surprise anyone, all of them look similiar, just smaller adjustments are made. The sad story is many IDEs use Eclipse, but I haven't heard of anyone who can merge all these together, so there will be one common IDE with different toolchains for different vendors.

     

    I haven't used IAR, but this IDE was one of the featured in STM's online courses, so I guess even STM employees use(d) it.

     

    One thing to consider is the underlying compiler. I don't have that much experience, but my coworker told me that gcc based compilers have bad performace for Cortex M0/M0+ and other low end families. Some speed optimizations create actually slower code, some features are impossible to do in low end families (he specifically mentioned VGA signal generator - perfect in Keil, impossible on gcc).

     

    David

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 6 years ago in reply to jpnbino

    I downloaded the TrueStudio software as well. It seems like it should work with this card, but I have not progressed far enough yet to be able to contribute any solutions.

    It appears all the demo software was developed on commercial IDEs.

    I am still trying to find an example and better documentation on the camera interface.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • dougw
    0 dougw over 6 years ago in reply to jpnbino

    I downloaded the TrueStudio software as well. It seems like it should work with this card, but I have not progressed far enough yet to be able to contribute any solutions.

    It appears all the demo software was developed on commercial IDEs.

    I am still trying to find an example and better documentation on the camera interface.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • koudelad
    0 koudelad over 6 years ago in reply to dougw

    You are right - most (if not all) code examples are built in TrueStudio, Keil and IAR, with project files provided. All three were also used in their online courses. It is kind of fun that the presenter creates code in CubeMX and exports to different IDEs during a single lesson.

     

    I am curious, what kind of support will be in the other IDEs for new devices, when the TrueStudio will be the preffered.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube