element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
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
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
STM32F4DISCOVERY Expansion Boards requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 9 replies
  • Answers 7 answers
  • Subscribers 6 subscribers
  • Views 731 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 3 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.

  • Reply
  • Cancel
  • Cancel

Top Replies

  • shabaz
    shabaz over 3 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 3 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 3 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…

  • koudelad
    0 koudelad over 3 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
    • Up +2 Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jpnbino
    0 jpnbino over 3 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
    • Up +2 Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • shabaz
    0 shabaz over 3 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
    • Up +4 Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • koudelad
    0 koudelad over 3 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
    • Up +2 Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 3 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
    • Up +3 Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • koudelad
    0 koudelad over 3 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
    • Up +3 Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jpnbino
    0 jpnbino over 3 years ago in reply to koudelad

    Thanks for the insights,

     

    Those are pieces of information I was looking and I couldn't find without others experiences.

     

    By reading other comments I'm looking forward to knowing more about that...

    • Cancel
    • Up +2 Down
    • Reply
    • Verify Answer
    • Cancel
  • elil1975
    0 elil1975 over 3 years ago

    I have been UNFORTUNATELY using Atollic since a few months ago. Before then I had used mostly IAR for ARM. I can tell you that while IAR or Kail GUI look outdated , their debugger is perfect. Atollic, in contrast, is based on GDB Debugger, and is an absolute CRAP. Nightmare...It is really a wasting time. If i were you I would buy a NUCLEO with Cortex L0+ of ST, like STM32L071, if there is a such and just use a free MDK. Otherwise, if you need M4 and not M0, consider using Embedded Studio of Segger. It is free for Education needs.

    Good luck!

    • Cancel
    • Up +1 Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • elil1975
    0 elil1975 over 3 years ago in reply to elil1975

    I'm writing to update that yesterday I tried Segger's Ozone Debugger and it worked very well for me, in contrast with the GDB Debugger of Atollic. For example, with compiler optimization on, GDB Debugger works absolutely improperly and one can take wrong decisions accordingly. The same optimized code worked properly for me with Ozone.

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube