EWARM is nice but don't get too used to it unless you have a few K to spend on the full version once you need more code space.
Not sure if it's current but Future are showing $3395 for "baseline", which is up to 256K code.
Thanks for the video Dave, interesting to watch.
I note you're a big fan of opening new tabs, and wanted to point out that holding down CTRL while clicking a link does the same thing as rightclick and selecting "open in new window"
Ooh, and almost forgot to ask, what software are you using for the multi source screen capture? It seems to work really well.
Thanks for the video Dave, interesting to watch.
I note you're a big fan of opening new tabs, and wanted to point out that holding down CTRL while clicking a link does the same thing as rightclick and selecting "open in new window"
Ooh, and almost forgot to ask, what software are you using for the multi source screen capture? It seems to work really well.
Center click (mouse 3) on the link opens it in new tab also.
Atollic TrueSTUDIO is an Eclipse based GCC dev environment. I'm unwilling to go back and find the exact timestamp but the first document that mentioned GCC specifically mentioned Atollic TrueSTUDIO as the supported platform, Dave just didn't read the full line.
STCube only directly supports GCC via Atollic TrueSTUDIO, ie the only GCC version you get a proj file for is TrueSTUDIO. I suspect this is because TrueSTUDIO is a simple installer whereas any eclipse cdt environment requires multiple installs and configs (even though GNU ARM Eclipse is a totally awesome effort). Nice things about TrueSTUDIO include an unlimited version for even commercial development. Pro / paid version has features that even include features that GNU ARM Eclipse don't include: Live variables, ITM console support / profiling, ETB support etc.
Not a shill; got a job at a new company and had to evaluate EVERY major Embedded IDE and I found TrueSTUDIO the most cost effective and laughed at Dave running into every major confusion I had.
Aside quick reviews of major tool chains:
- Keil: Great config, probably great compiler. Great debug support. Editor sucks.
- Crossworks: Beautiful editor with fantastic configuration screen. Okay editor. Lacking Debug support.
- IAR: Editor sucks. Great everything else. Too damn expensive.
- TrueSTUDIO: Great compromise for the company I work for. They recently changed corporate strategy and seem to be in flux; bit of a risk but they have many debug features and their free version is awesome. Plus it's based on eclipse so tons of plugins.
- Eclipse + GNU ARM Eclipse: Really tolerable environment. Used it for 1.5 years before TrueSTUDIO. Free and many plugins tools to help / fix problems. Only issue is lack of advanced debug features and the fact that Liviu is likely stretched thin.
FINAL EDIT: We were looking for cross vendor ARM Cortex-M solutions so I didn't check out any vendor specific IDEs though SIlabs Simplicity and NXP both seem like feature-full options if you're willing to lock-in.
Great video!
Very recently (like five days ago) I went to the very same process for the NXP LPC824 (ARM Cortex-M0). Very quickly I got frustrated with LPCXpresso for exactly the same reasons as Dave in the video; and that makes me feel less stupid! One question for NXP: why do I have to register with you in order to use the GCC and Eclipse included with LPCXpresso? Aren't those two supposed to be free and open? Anyhow, I ditched LPCXpresso and went old school with GCC, makefiles, and linker scripts. It took me a couple of days to do what I wanted to do. I used GCC from
https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads. Now I want to do the same for the STM32F051 or a similar processor with comparable price and package options.
STM32 = Use TrueStudio!
I'm actually working designing µC PCBs and programming them using TrueStudio in the free version and it's great. No registration required, simply download and it's an eclipse based environment so supports standard plugins and the usual code navigation I love so much about eclipse. You can even get CubeMX as a plugin to run it inside TrueStudio
So yes, I'm a big fanboy of the CubeMX + TrueStudio combo!
Btw, the included FreeRTOS is awesome, too (freertos.org) and works a treat!
The Pro version offers some advanced features for debugging and code analysis but I've never needed any of those. Might come in handy for larger RTOS based firmwares.
Only downside to TrueStudio is that there is no (default) download and run button. All you an do is download and debug, so you have to stop debugging right away if you only want to download.
There is a way to fix it, though. Just let me know if you're interested.
So Dave (or anyone else), if you want to make your life easier, just use TrueStudio for your project
Btw, never despair when you encounter a 404. Just go to
www.archive.org. I took the link from digikey, pasted it into the WayBackMachine at
www.archive.org, and I got back the ZIP file containing the schematic as a PDF (which looks the same as the links already posted), plus original Altium .SchDoc files.
Dave, I must concur, use Eclipse (yes I said Eclipse) with GCC as per Carmine's excellent starter book Mastering STM32 linked somewhere here. I suggest reading it as an eye (and mind) opener. I'm not a shill, but a guy who was banging his head to understand the architecture, trying every compiler - tutorial - video how to, etc. before "the book". Thanks Carmine and keep up the good work
.
For STM32 development i use
SW4STM32 with STM32Cube, it does work pretty well (though the code generated by cube is really ugly). One thing I'd like is that stm32cube didn't generate main.c and let me just call their functions instead, so that i don't need to edit generated files, and so that regenerating from the cube does not (potentially) clobber my stuff and introduce a lot of changes for git.
Great video! Got a couple of discovery boards a couple of years back, and they have been living in a drawer since as I got totally confused about which IDE/compiler to use, where to get it and how to set it up. At that point I think the cube stuff didn't support GCC - which it does now?
Well the L1 series is quiet "old".
The new L4 series (M4) is much more powerful, and much more power efficient (~100µA/MHz vs 240µA/MHz).
Great video! Got a couple of discovery boards a couple of years back, and they have been living in a drawer since as I got totally confused about which IDE/compiler to use, where to get it and how to set it up. At that point I think the cube stuff didn't support GCC - which it does now?
It used to be the case, and STM32 is still very annoying due to the huge array of half assed choices to develop with the things. It definitely would be much better if ST put a higher priority on making a "premier" IDE available to everyone and support it officially, like Microchip does with MPLabX, TI with their Code Composer or Cypress does with PSoc Creator. On the other hand, SW4STM32 (which i linked above) seems to be something pointing in that direction, it's Eclipse/GCC based and freely available for Windows, Linux and Mac and it does work very well once you get it set up.
I note you're a big fan of opening new tabs, and wanted to point out that holding down CTRL while clicking a link does the same thing as rightclick and selecting "open in new window"
Or just click with the middle button.
https://youtu.be/mkx4qZCCHqI?t=1650https://youtu.be/mkx4qZCCHqI?t=1755The look of pure joy
I remember making an advanced excel sheet for a few days for pinmap hell, one month later they released their Cube tool.
Great video! Got a couple of discovery boards a couple of years back, and they have been living in a drawer since as I got totally confused about which IDE/compiler to use, where to get it and how to set it up. At that point I think the cube stuff didn't support GCC - which it does now?
Everybody has that drawer.
Using GCC is hell since there are dozens of different IDE's it can link with. And all the different flavours of Eclipse.
Not to mention the major revision you've missed if you shelf the project for a few months.
STCube only directly supports GCC via Atollic TrueSTUDIO, ie the only GCC version you get a proj file for is TrueSTUDIO. I suspect this is because TrueSTUDIO is a simple installer whereas any eclipse cdt environment requires multiple installs and configs (even though GNU ARM Eclipse is a totally awesome effort). Nice things about TrueSTUDIO include an unlimited version for even commercial development. Pro / paid version has features that even include features that GNU ARM Eclipse don't include: Live variables, ITM console support / profiling, ETB support etc.
Single install here:
http://www.openstm32.org/About+OpenSTM32Was mentioend by iomero, also someones already linked this to dave in the YT video, and he said he will try it out.
- Crossworks: Beautiful editor with fantastic configuration screen. Okay editor. Lacking Debug support.
What debug support is lacking in Crossworks? I'm using crossworks, just wondering if there is something I'm missing.
Glancing at the init code shown in the video looks like it sets up registers a bit(field) at a time instead of combining all bits in each register into words, or creating an efficient const array.
By all means include comments documenting the settings in case you need to tweak them, but just spewing out a zillion bit settings is so lazy & inefficient.