EEVblog

Поділитися
Вставка
  • Опубліковано 30 вер 2024

КОМЕНТАРІ • 469

  • @pllpsy665
    @pllpsy665 7 років тому +16

    This board is definitely very effective as a torture tool to use on EE undergrads. /bangs head against desk

    • @foxyrollouts
      @foxyrollouts 7 років тому +3

      when i was a sperm i had a lot to learn

  • @mikeselectricstuff
    @mikeselectricstuff 8 років тому +44

    Search EWARM on Findchips for IAR pricing. Be sitting down.

    • @qazqwezxc0
      @qazqwezxc0 8 років тому +3

      Yea, 5000-6000 for them. No thanks, Atollic Truestudio has a nice free/monthly ide though.
      Might even be worth looking into eclipse with an ARM GCC compiler for the board too. Probably one of the reasons why I've stayed away STM chips so far.
      On the other hand, Freescale/NXP Kinetis is nice cause their IDE is free, but the HW programmer is a bit expensive unless you get the J-Link Segger EDU for ~80 bucks

    • @vgamesx1
      @vgamesx1 8 років тому +9

      Well, you could work around their no limits free trial by installing it in a virtual machine, taking a snapshot after it's registered and simply reload that snapshot every month and save your projects onto a shared folder, though yeah probably best to find another program if you want the least hassle as possible.

    • @mrlazda
      @mrlazda 8 років тому

      But if you want to do any serious job with ARM microcontrollers you don't have many choices, you can pick IAR, Keil or TASKING (I suppose Dave should opt for TASKING as it is Altium product). IAR do negligible better job then Keil, I never used TASKING, but what I heard it is comparable to Keil (except it have support for MIRSA).

    • @hubmartin
      @hubmartin 8 років тому +1

      +qazqwezxc0 Atollic has now no code size limit free version. I use that instead of Eclipse, gcc, gdb custom made ide

    • @Einmal42undZurueck
      @Einmal42undZurueck 8 років тому +5

      There is also a genius GCCARM toolchain available for free: launchpad.net/gcc-arm-embedded
      The toolchain is maintained by Joey Je, an devloper from ARM.
      The toolchain is quite stable and we are using it for production use for more than 4 years now. The only thing is that the toolchain misses MISRA-C which makes safety-relevant development (SIL level according to IEC 61508 or Performance Level according EN 13849) difficult....at least the approval part...
      Nevertheless, it works far better than KEIL, IAR or HITEX.

  • @TheSurvivalSecrets
    @TheSurvivalSecrets 8 років тому +31

    I would crowdfund you Dave to design, build, and launch a Cubesat. Is that something you might, or have ever, considered? Would make for some fascinating and educational UA-cam videos for sure.

    • @EEVblog
      @EEVblog  8 років тому +10

      I have kind of considered it, but it's a huge amount of commitment.

    • @TheGodbaba95
      @TheGodbaba95 8 років тому +1

      I would gladly donate to that cause too.

    • @Blowcrafter
      @Blowcrafter 8 років тому +1

      me too. I really like the Idea

    • @TheSurvivalSecrets
      @TheSurvivalSecrets 8 років тому +1

      Its a miniature satellite which you can build and have it put into space
      during a supply mission to the International Space Station for example.
      Then when it is deployed you can control it and collect scientific data
      or do anything that you programmed it to do. He might have talked about
      it in EEVBlog #896.

    • @noahhastings6145
      @noahhastings6145 4 роки тому

      A cubesat that just points at earth and displays dickbutt on an lcd

  • @nomadic_rider42
    @nomadic_rider42 8 років тому +13

    Hi @eevblog, you might try out openstm32, which is eclipse based IDE and comes with arm-gcc

  • @malgailany
    @malgailany 8 років тому +11

    I'm impressed of how fast you managed to find you way to makeup things go-up and running for the first time. It took me days to figure out thing properly when I started using STM32 MCUs two years ago.
    Nice video, thanks.

  • @LucasHartmann
    @LucasHartmann 8 років тому +12

    Hey Dave! Look for SystemWorkbench, its a package (simplified installer) including Eclipse, gcc, programmer and debugger. STM32CubeMX generates code for it, look for SW4STM32 while configuring the project. Also, its free software: $0, completely unrestricted, forever, source available.

    • @EEVblog
      @EEVblog  8 років тому +2

      Yep, I'm going to check this out, maybe another video. Crazy that the manual for the dev board does not mention it or support it

    • @neddyladdy
      @neddyladdy 8 років тому

      I got it after the invention of a few new sear words using their site. Just downloaded it and there you go. Don't ever ask me how I found the link.

    • @hubmartin
      @hubmartin 8 років тому +1

      +EEVblog Dave, you can try no code size limit Atollic now. Theres just 3 second nag start screen. I am using that as replace for custom Eclipse gcc gdb pack. It has same functions, comfort plus examples for every board

    • @droelfdroelfify
      @droelfdroelfify 8 років тому

      This!
      Also thumbs up for the CubeMX code generator.
      BIG thumbs down for:
      - not directly recommending SystemWorkbench (a gcc based toolchain plus IDE is what most people want. It's 2016. We don't need no stinkin' proprietary compilers on ARM anymore)
      - not clarifying that you have to choose "SW4STM32" when generating code for SystemWorkbench
      - HAVING TO REGISTER FOR DOWNLOADS!!!1111 People will continue to create and publish fake accounts on bugmenot.com until st understands.

    • @Einmal42undZurueck
      @Einmal42undZurueck 8 років тому +1

      For me a big THUMBS DOWN for CubeMX initialization code. The code generator works in some way but the used HAL libraries are a mess compared to the "old" FWLIB when you look at code size and performance. The HAL library also uses several "dirty" programming tricks, i.e. intentional weak linkage for required callbacks and other stuff you do not expect.

  • @Aemilindore
    @Aemilindore 8 років тому +13

    I use Texas Instruments Tiva based Launchpads! They have been treating me superbly awesome.

    • @camthemanis2kool
      @camthemanis2kool 3 роки тому

      The TI forums are super helpful as well. Replies from their experts within 24 hours

  • @JerryWalker001
    @JerryWalker001 8 років тому +5

    Really interesting video. I have been developing embedded systems for 30+ years (most recently PIC32) and the GUI configuration tools are really handy although I still tend to do this the 'hard' way as I am used to doing it that way. I find the GUI more useful for pcb design rather than code. I would recommend that beginners at least try configuring a project or two from scratch using the spec sheet as this is a very good way of becoming familiar with the capabilities, pitfalls etc.

  • @mikeselectricstuff
    @mikeselectricstuff 8 років тому +9

    Last time I looked, IAR was free up to 32K, no limits but no library source. Problem is it's crazy expensive above that, like several K

    • @EEVblog
      @EEVblog  8 років тому +2

      Yes, that's in the video.

    • @bskull3232
      @bskull3232 8 років тому +1

      At least MDK is free and supported directly by ST.

    • @Psi105
      @Psi105 8 років тому +3

      32KB limit IAR is awesome until you select a few features in STM32 cube and it compiles 30KB of cube library's into your project to init the chip before you've written any code.
      Maybe it's better now but it used to do that.
      Cube IDE = excellent
      Cube generated code = bloated to hell
      I wish it would generate raw register code instead of library calls

    • @MarcinKurczalski
      @MarcinKurczalski 8 років тому

      Problem is when I couldn't even compile examples for my STM32F429-DISC1 without going 'pro' because with LCD it took like 36 kB... this made my start really slow, but now I'm sitting on nicely setup eclipse-based AC6 SW4STM with CubeMX plugin. IMO it's best go-for, since everybody knows eclipse is literally everywhere ;D

  • @martinsmithtimes637
    @martinsmithtimes637 6 років тому +6

    "DMA controller if you are into that kind of thinks..." Lol

  • @man125403
    @man125403 8 років тому +5

    Hi, Dave. You definitely should try SW4STM32 AC6 IDE. Runs out of box with CubeSW and st examples, and it is Eclipse - imo, only way, if you wanna make serious projects, not just flashing leds. i worked with Keil a lot, but will not use it anymore. may be compilers are better in Keil and IAR, but as for me, the way, i work with code and with other developers is more important, and Eclipse is the high-end code editor with all that features like projects management, syntax checking, static analyse. not glitchy like in Keil, but clear and usable.
    here is the link www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-ides/sw4stm32.html?sc=sw4stm32
    and you can work with other arm chips (thru SWD) with that setup. i worked with LPC micros with same IDE and discovery's st-link)

    • @Levisgil47
      @Levisgil47 7 років тому +2

      I'm a beginner and started with SW4STM32. All seems to work well with CubeMX. I like the way Eclipse helps out. I just need to figure out how to use all the firmware libraries generated by CubeMX to able to use more peripherals avaiable other than the GPIOs and find where to get more exemples of sw like on arduino IDE...
      It seems that there is a new comunity going on for the SW4STM32. Linky:
      community.st.com/community/stm32-community/stm32-forum

  • @AlexandreKandalintsev
    @AlexandreKandalintsev 8 років тому +2

    I wouldn't use metal screwdriver as a pointer -- an accidental touch of the pcb may damage the board. Or the user if it's a high-voltage application :)

  • @ElmerFuddGun
    @ElmerFuddGun 8 років тому +14

    Sell me the HARDWARE, don't make me pay for the SOFTWARE to program it! What a complete TURN OFF.

    • @DantalionNl
      @DantalionNl 3 роки тому

      I want to come back and emphasize that it now supports makefiles using GCC and the whole STM32 stack has also been integrated into PlatformIO

  • @ElmerFuddGun
    @ElmerFuddGun 8 років тому +11

    41:36 - only a 1 gigabyte download? Man, it is INCREDIBLE how much they can fit in such a small program! ;-) ... back in my day...

  • @rikassen
    @rikassen 8 років тому +2

    What can I say about ST Microelectronics? We developed an automotive ethernet camera around an STM8A micro. The development environment, IAR Embedded Workbench, costs about 2900 euros !!! per 'seat', that includes a source level debugger and it has the MISRA-C rules checker. It only runs with a USB dongle, so no dicking around there. And ST won't give you any information, apart from some example code and a datasheet of the micro. The total user or developer experience was way below average. For my latest project I switched to the Atmel SAMC21 ARM controller, uses GCC and the fantastic Atmel Studio 7 which is essentially Microsoft Visual Studio and I got the C21 Xplained demo board running within 10 minutes right out of the box. And there is a load of example projects, datasheets and Application Notes.
    That's the way you do it.

  • @kureigu69
    @kureigu69 8 років тому +2

    Would recommend Keil for programming the STM32 families, their pack installer makes everything really easy to work with.
    STM32s I've found are awesome in terms of capability, but the money you don't pay means that applications support is very lacking (almost non-existent). After 2 months I'm still waiting on someone to get back to me to resolve an issue I've been experiencing!

  • @rbaleksandar
    @rbaleksandar 8 років тому +1

    Microchip offers insanely shitty free development tools (I exclude the MPLAB-X IDE, which however also depends on those very same tools...). In fact the freely available compilers deliberately put crap in the produced ready for flashing code (you can find plenty of blog posts on this topic). I'm waiting for the Atmel toolset to slowly die off after the purchase by Microchip. Microchip has a history in doing crap for its dev community all the time. Christ, they even bought Hi-Tech (a company that provided paid much better dev tools for Microchip's own microcontrollers), discontinued their own in-house tools yet still kept pushing crap out of their sh@thole. For a company which earns most of its money from silicon sales providing shitty tools is a f@cking mystery to me and many others out there.

  • @AureliusR
    @AureliusR 8 років тому +1

    Dave, this video is far from your finest hour, as others have said. Complaining that things don't work when you don't follow the steps...? Not being familiar with an IDE and then not liking it on that basis...? Come on, man.

  • @Eletronicafg
    @Eletronicafg 8 років тому +4

    I really started enjoying these ST micros, it integrates rather nicely with GCC, GDB and OpenOCD, they provide low cost development tools (I've bought a Stlink V2 from china for less than 3$).
    I don't like code generation tools, I use the STM32CubeMX instead to organize what peripherals I'll use and how I'll configure the clocks.
    And I can develop entirely on Linux : )

    • @marcusjenkins
      @marcusjenkins 8 років тому +2

      Excellent, it's a shame that ST website only talks about Microsoft Windows. Any links on getting set up with the Linux development environment for this micro?

    • @LarsMacer
      @LarsMacer 8 років тому

      The sw4stm32 ide is free and Linux compatible

    • @Eletronicafg
      @Eletronicafg 8 років тому

      Marcus Jenkins I don't use IDEs, my toolchain is arm-none-eabi-gcc + arm-none-eabi-gdb + OpenOCD + Emacs. Here is my repository with code examples featuring the
      STM32F103C8T6 micro (for a different micro you I'll need to provide the correct headers, startup code and the linker script, you can borrow it from STM32CubeMX).
      github.com/Palmitoxico/STM32F103C8T6-Examples

  • @mikaelhermansson9338
    @mikaelhermansson9338 8 років тому +1

    Funny about the USB drivers in Windows.
    It just works in linux I guess SW4STM32 is using github.com/texane/stlink and it using GCC.
    Anyway my opinion:
    One bad thing with STMCube: I hate they choose to have Header files separated from Sources. I prefer to have them in same directory. Simply because I want to swap file header/source in Vim fast when developing.
    Compiler:
    Everything except GCC is no go for me. GCC has it's issues but there is no other compiler working on Linux hosts and I don't use windows or macos.
    Debugger:
    I use gdb and open source st-link daemon: github.com/texane/stlink
    Editor:
    Vim ofcourse :) Eclipse based IDE's is real pain

  • @martin2250
    @martin2250 8 років тому +1

    stm32s don't need a special compiler , standard arm-gcc works fine. CooCox IDE does a great job at getting all dependencies up and running.
    It worked right out of the box with my unsupported, cheap-ass minimum system board and counterfeit stlink-v2. Just make sure to get 1.7, not 2.0 beta for now.

  • @obiwanjacobi
    @obiwanjacobi 8 років тому +4

    I think that wasn't too bad of an experience. Nothing you can't figure out. Thanx for the informational video.

  • @danfo098
    @danfo098 8 років тому +2

    GCC and Eclipse for STM32 (and other ARM's): gnuarmeclipse.github.io/

  • @jeromevuarand3768
    @jeromevuarand3768 8 років тому +1

    I've used STM32 MCUs in a couple of projects, a small F103 for a super compact board and a big F4. After a lot of research I believe ST doesn't support any really free IDE/toolchain. In the end I found a decent arm-none-eabi GCC build and learned how to use OpenOCD, and starting from the Attolic stuff (which uses GCC inside their non-free IDE) and custom makefiles you can get by. But it's a pain compared to what others provide (for example Kinetis Design Studio or LPCXpresso).

  • @dwarf365
    @dwarf365 8 років тому +2

    Hey Dave! Good video, just noticed you always right click and go open in new tab. If you click your scroll wheel it does the same thing. Not that you will probably see this but oh well.

    • @dreamystify4748
      @dreamystify4748 5 років тому

      He may not have seen it, but I certainly did lol, cheers for the tip :)

  • @YouLCD
    @YouLCD 8 років тому +1

    STM32 is great, I always have a box of them on hand in case I need to prototype something
    I ended up just shelling out for VisualGDB, Visual Studio works really well as an embedded IDE

  • @billigerfusel
    @billigerfusel 8 років тому +1

    The Code wasn't running after download, because it halted at int main(...), waiting for you to press the continue button on the top left.

    • @alexmackuk
      @alexmackuk 8 років тому

      Yeah, hence my comment 'learn to read squeaky!' Complaining about the dev tool pausing when you click download&debug was lame, as was complaining about the schematics being missing and the fact that skipping steps in the process causes problems. Not Dave's finest hour.

  • @MrSwanley
    @MrSwanley 7 років тому +8

    Do a search for the STM32 "blue pill". It's available from Banggood for less than $4 - and free shipping! (at least to me). It's crazy how much processing power is available, and even the pro tools such as a ST-Link/v2 debug dongle are pretty cheap. I never use any third party libraries, so I'm not interested in Arduino compatibility or how good or bad the ST libs are: but there's a big community out there if you want those things. The drone community in particular seem to be heavily invested in STM32-ARM. [Edit] These are not the low power STM32L, but it's still much less hungry than I'm used to: each peripheral on the board has its own clock and so you only power the bits you need.

    • @pepe6666
      @pepe6666 5 років тому

      YES! this! i got the blue pill. its the way to go. $2US at the moment i think. i just got one up & running at the moment. trying to get led blink going - but my cheap chinese stlink is a bit drunk

  • @Brutaltronics
    @Brutaltronics 8 років тому +6

    i use CooCox IDE to program the SMT32F103, i think that IDE is compatible with most STM32 parts.

    • @joe14jt
      @joe14jt 8 років тому

      Me too for stm32f4discovery. A few years ago it didn't support c++, only c, but you can find some tutorials on the internet how to enable that... but I don't know about c++ support noways....

    • @Einmal42undZurueck
      @Einmal42undZurueck 8 років тому

      C++ works at least with the GCCARM toolchain which available for free: launchpad.net/gcc-arm-embedded
      The toolchain is maintained by Joey Je, an devloper from ARM.
      When using the nano specs, there is only ~1k additional code for all the C++ management stuff compared to plain C. When using C++ you should avoid exceptions ;-)

  • @Jenny_Digital
    @Jenny_Digital 8 років тому +3

    I use Crossworks for ARM and I'm decently impressed with the STM32's. I do take issue with the I2C interface implementation in the Cortex M3 parts however. I can't speak for the other families I2C however.

  • @chrisridesbicycles
    @chrisridesbicycles 8 років тому +1

    By the way, IAR know why they don't put a price on their website. The full-fledged ARM version is 6500 Euros. ;)

  • @kenjichanhkg
    @kenjichanhkg 7 років тому +1

    after you hit "download and debug", it actually stopped at the main(), and yes it is stupid to me too. why would most people want to stop there and not just run the code. I was so annoyed the first time I saw that. OK, so I remember I had to click F5 or some button to "continue" the execution.

  • @onurolce7389
    @onurolce7389 8 років тому +5

    Finally you made a Microcontroller programming video. Please focus on it more much and make new video series.

    • @slap_my_hand
      @slap_my_hand 8 років тому +1

      He should make a video about object oriented ptogramming.

    • @onurolce7389
      @onurolce7389 8 років тому +1

      first, microcontoller programming :)

    • @slap_my_hand
      @slap_my_hand 8 років тому

      onur olce Fuse bits, registers, interrupts, timers. that's everything you need to know.

    • @onurolce7389
      @onurolce7389 8 років тому

      Yes, of course. But these can be programmed in ANSI-C too. Therefore I said "OOP must not be". I hope you understand me.

    • @AureliusR
      @AureliusR 8 років тому

      Dave is far from a microcontroller expert. If you want to learn C, or learn about microcontroller programming, then pick up C In a Nutshell, and pick up Making Embedded Systems by Elecia White.

  • @krokotube
    @krokotube 8 років тому +1

    Visual Studio Community 2015 (free) + VisualGDB (74 EUR)

  • @trifidsagitarius
    @trifidsagitarius 7 років тому +1

    LOL When I saw the download link I immediately predicted Dave's reaction... LOL been there done that.
    Just register and be done with it. LOL
    BTW I think you can also use Eclipse IDE and the AC6 workbench ( I use it for the STM32F4) for developing

  • @stage666
    @stage666 8 років тому +1

    Dave do you have a newbie friendly board to recommend for learning embedded/ARM development? Maybe a recommend book as well? I am a new grad and is looking to get into this field. Thanks

    • @AureliusR
      @AureliusR 8 років тому

      Making Embedded Systems by Elecia White.

    • @AureliusR
      @AureliusR 8 років тому

      Also, pick up C In a Nutshell. If you know C, you can program microcontrollers.

  • @offensivebias3965
    @offensivebias3965 3 роки тому +1

    So u can use it on your product and sell it ?

  • @leppie
    @leppie 8 років тому +1

    Vanilla Eclipse for C with embedded plugin with gcc and openocd is my preferred setup. It takes a bit of setup time, but a hell of alot cheaper than commercial offerings.

  • @IanGeorge88
    @IanGeorge88 8 років тому +2

    Great presentation. Documentation is there for a reason. As I always tell my engineers READ, not sure READ,READ some more, before turning on the power!!.

  • @FıratDeveci
    @FıratDeveci 8 років тому

    You can use Keil for STM32F0 and STM32L0 series for FREE! STM32L0 series also has good features as L1 series.
    You don't have to use silly IAR or something else.
    ST has done good thing with Cortex M0 and M0+ series.
    For example STM32F072 has 1xCAN + Crystal-less (yes it is true) 1xUSB2.0 + 12bit ADCs + 2xDACs and lots of things with running @48MHz.

  • @mUbase
    @mUbase 8 років тому +1

    Arduino port for these boards here!!: github.com/rogerclarkmelbourne/Arduino_STM32

  • @TheAussiePirate
    @TheAussiePirate 8 років тому +9

    Is this sponsored?

    • @EEVblog
      @EEVblog  8 років тому +31

      No.

    • @pu1ypj
      @pu1ypj 8 років тому

      +Sharklops yes it is but you have no pain setting it up

    • @shodanxx
      @shodanxx 8 років тому

      You're just leaving the pain for later when you have to make you actual end product. There's no way around figuring this stuff out unless you're just dicking around.

    • @MarlosZappa
      @MarlosZappa 8 років тому

      I worked with a STM32F4DISCOVERY for a first prototype on some embedded sensing/communication circuitry for a knee exoskeleton built for measurements (not direct orthotics), and these things really pack a punch. The libraries are going through a slightly inconvienient period of slackening support for established code due to the introduction of the CubeMX/HAL drivers/libraries, which we'll probably (and hopefully) hear some entertaining rants about, but I consider these babies great for early development and maybe even learning, once they polish up the IDE and libraries a bit.

    • @TheAussiePirate
      @TheAussiePirate 8 років тому

      +EEVblog Cool. It's just nice to know:-)

  • @Ken8193
    @Ken8193 6 років тому +2

    I had to use a stm32 throughout my university degree... oh i remember the joys of the 1.5k page document

    • @noahhastings6145
      @noahhastings6145 4 роки тому

      Oh boy, we used PIC controllers and had to use mikroBasic because my professor was so hip and with the times.

    • @alles_muss_anders_werden
      @alles_muss_anders_werden 4 роки тому

      That's it !!!!!!!

  • @JohnSmith-bj7uc
    @JohnSmith-bj7uc 8 років тому +3

    I wish you made this video a month ago! I really needed it

  • @AltMarc
    @AltMarc 8 років тому

    Welcome to the ARM world. Get that Truestudio GCC suite, it's limited/not free BUT you can export from the CUBE-configurator to a GCC format.
    If you get bigger Projects download the ARM-eabi-GCC compiler, fiddle a makefile and run "make" of your project inside the CUBE-HAL directory structure, use st-link to upload.
    There are instructions how to bind that ARM-eabi-gcc compiler to Eclipse (TrueSTUDIO sell exactly this), CodeBlocks, Atom editor or even Arduino.

  • @jp_engineer
    @jp_engineer 6 років тому

    Atollic now belongs to ST. Then, TrueSTUDIO ( Atollic product ) which is an eclipse based application which integrates the GCC compiler is FREE, fully FREE. I'm testing right now with the STM32F4DISC board. Let's see how things go. version: v9.0
    BTW, I think Cypress solution is as cheap as well and better suitable for fresh beginners. The PSoC Creator IDE which is its programming environment is fairly complete in the sense that does not need any external program to generate code like CubeMx. Also, the example's window lets you promptly read the documentation.

  • @LarsMacer
    @LarsMacer 8 років тому

    +EEVBlog there is a page dedicated compatible IDEs (stm32 products) on st website :
    www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-ides.html?querycriteria=productId=LN1200
    True studio (free limited version & full payed version) and sw4stm32are (whole free) get GCC included.
    Of course in the list, others are provided with GCC but there are some to avoid (in my opinion).

  • @justrandom7214
    @justrandom7214 8 років тому

    Hi Dave
    Have a look at CooCox and the coIDE which is Eclipse / GCC based. There is a really great tutorial on how to use the Stm32CubeMx and the HAL layer from Aron Bauch:
    www.dropbox.com/sh/yg4iy7h6xmca7lk/AACouu73L44JaYNdtgqSV0pna?dl=0
    Great tutorial, he even provides some additional files for using the USB interface (which doesn`t work otherwise).

  • @michelfeinstein
    @michelfeinstein 8 років тому

    +EEVblog, I believe you would be more lucky on Keil instead of IAR. From their website: "ARM offers the fully-featured Keil MDK for STM32F0 and STM32L0 devices that is free of charge for end users.", so you get the full software for these two microcontrollers and even when you are not using them (which is your case now) at least you are already used with the IDE (and you will be changing one trial software for another, so not much of a difference there either).
    Also, you might want to try the free update Segger gave to the CubeMx (I don't know if it's compatible with your Discovery board). They made their flash and debug firmware JLink free for ST, they are faster and better as advertised by ST itself, and there are tutorials on how to get back to the original ULink in case you don't like it.
    I also always found Middleware a funny term, and the industry has some different meanings for it, usually is a group of software that implements a lot of usability that will control the device, not as much as OS and not as simple as a library, but sitting on the "middle" of the two of them, that's why ST is going to have a "driver" library for the SPI, but a "Middleware" package for the Ethernet communications.
    Last, there is a tiny square on top of the Digikey table, you can set your minimal unit purchase to 1 unit and it will filter to only show the prices for 1 unit, instead of the 1.500 and likes of it.
    These are my 2 cents on this video, keep on with the good work and good luck on your new project. ST is nailing and delivering and leaving the competition far behind.

  • @stereojos86
    @stereojos86 8 років тому +1

    you can use mbed, is a online program and support this board.

  • @j121212100
    @j121212100 2 роки тому

    Going down the rabbit hole... I'm probably going with STM32 series board. Then I can choose linux RTLinux or ThreadX or Azure RTOS

  • @hohm875
    @hohm875 4 роки тому

    hi, im a really beginer on this matter but i have a project of a musical sequencer and the project involves a "STM32F405" microcontroller card; do you have a video of how to figure out where to start when talking about programming microcontrollers? i mean i know im not going decode line by line of code (by now its just a bunch hieroglyphs to me) but actually what does it mean to program a microcontroller is it to send some electrons from the computer to a chip? also i have seen some ic device programmers on the market and some states isp capability but at the end i dont even know what kind of programer do i need for my project: my project finished can be found on youtube as Buchla 248 MARF, www.modularsynthesis.com/roman/buchla248/248marf.htm; i have built another modules but not with programming skills required. So it would be awesome to have a clue on this topic Best Regards & nice videos (^_^)/ i have seen some about how Not to blow my osciloscope and i helped a lot (^_*)b hehe .

  • @dedelefoudu88
    @dedelefoudu88 8 років тому +1

    what do you think of the ATSAML21J18B or the PIC24FJ256GB406 .

  • @TheChrisey
    @TheChrisey 4 роки тому

    "It's not for beginners" Well.. everything is not for beginners. Everyone can't focus on beginners, otherwise we wouldn't have any progress at all. They have obviously spent most of the time developing their IDE software and chipset

  • @Crowz
    @Crowz 8 років тому

    TRUESTUDIO uses gcc. The generator tools are for an IDE, not a compiler.

  • @Red_Fang.
    @Red_Fang. Рік тому

    Excuse me, does anyone have tutorial about using this STM32L Discovery Board ? thank you

  • @sunebrian1423
    @sunebrian1423 8 років тому

    The STM cube suck at USB device, use STMcube only reduce the time for initialization, but the STM standard peripheral still the best choice.

  • @marinhopduarte
    @marinhopduarte 8 років тому

    Easy ARM Cortex-M getting started? Go to Silabs or Atmel. STM32 are great, but not friendly for beginners.

  • @ljay0778
    @ljay0778 8 років тому

    TrueStudio has the"FREE UNLIMITED CODE SIZE' and it runs on an Eclipse IDE. I found Eclipse tough to get running using the free SDCC compiler for the 8051 core chips but; it compiled the STM32 EXAMPLES seamlessly.

  • @shakaibsafvi
    @shakaibsafvi 8 років тому

    This is exactly what happens when the chip manufacturer does not have its own Compiler &| IDE.

  • @lucazader
    @lucazader 8 років тому +1

    I use the STM32 chips on a daily basis and I find they are great to work with epscially with the cubemx which is an invaluable tool to quickly see if a chip will work for your porject and then auto generate a skeleton project!.
    Dave, you should look into the recently released STM32L4 series of processors, they are even lower power. Also take a look at some of the STM32F3/4 series (cortex M4 based), a few of them have similar low power performance to the slightly older L1 series you featured in this video.
    For development at work I use Keil, wich is great for almost everything.
    At home i use keil (code limited) if the project can live within the limits, or TrueStudio (which is GCC based) if I go over the 32KB limit.
    As a side not, for anyone who wants to get into cortex M0 micros, the STM32F0 series is great, and ST have done a deal with Keil to give everyone a 256KB code size version on projects using an F0 processor.

    • @NivagSwerdna
      @NivagSwerdna 8 років тому

      The STM32L476VGT6 is listed by Farnell as £8+ for a 1-off, whereas the one Dave showed was

    • @lucazader
      @lucazader 8 років тому

      STM32L433CCU6 on digikey is $5.7(USD) in orders of 1 and much cheaper in volume. I agree it is more expensive. but it is much more powerful as well. Also much more powerful in run mode (84 vs 185uA/MHz ), and similar power consumption in lower power modes.

  • @Mr.Laidukas
    @Mr.Laidukas 8 років тому

    +EEVblog Dave, that is why few years ago i chosen to go with LPC micros because they have software development platform that you simply click, download and use with all peripheral drivers and code examples. Embedded Artists do all the development platforms and software/code/examples for NXP LPS's. STM32 seemed very convoluted and not straight forward was to frustrating as for a beginner.

  • @conorstewart2214
    @conorstewart2214 4 роки тому

    Its much easier now using the stm32CubeIDE which includes gcc and the gui interface and is really easy to get started

  • @CristiNeagu
    @CristiNeagu 8 років тому +36

    ARM isn't that used by hobby makers precisely because of all the problems you ran into. The Discovery boards are fantastic, but when you look at what you need to get it running... it's ridiculous. GCC isn't that great of an option, both IAR and Keil, while absolutely fantastic, will cost you an arm (no pun intended) and a leg. And then you look at an Arduino, which you connect to your PC, go to the free editor, and you're up and running.
    ARM is definitely not for beginners.

    • @EEVblog
      @EEVblog  8 років тому +21

      Seems that way unfortunately. It's ultimately not that hard, but certainly not hand holding beginner level.

    • @CristiNeagu
      @CristiNeagu 8 років тому +1

      EEVblog Well, now you have Cube from STM. Also, mbed is probably the closes thing to an Arduino. The kit i started with had almost no software documentation. I needed to find out what a startup.s file is and what to do with it.

    • @mUbase
      @mUbase 8 років тому +1

      Some clever bods from Melbourne have made a port for the Arduino IDE for the STM32 boards. github.com/rogerclarkmelbourne/Arduino_STM32

    • @CristiNeagu
      @CristiNeagu 8 років тому +2

      ***** PIC have slightly better software support, I think. Also, both of them have been mingling with the hobby community for way longer than ARM have. ARM only had to deal with major manufacturers up until a few years ago, and it wasn't them trying to find a new community, but rather the community wanting more capable controllers.

    • @rbaleksandar
      @rbaleksandar 8 років тому

      And the problems get even bigger and more if you try to do all that on Linux. Plus the libraries provided by the ST are poorly written and documented.
      I have this same board (bought it a couple of years ago) and it took me months until I found a decent way to develop for it on Linux. I would actually recommend using the Chibi OS (a RTOS) which supports the board out-of-the-box. It's also a neat way to get into RTOS as a topic.

  • @neonlightning8062
    @neonlightning8062 8 років тому

    Does anyone know where dave went to school? Or if he went to school at all? i know it doesnt matter, but im simply just curious.

  • @jhallenworld
    @jhallenworld 8 років тому

    So funny, I've been doing the same thing at work (I use Cygwin: install arm-none-eabi-gcc, add to path, then use STMcubeMX to generate the Makefile (gpdsc when you build for generic) and linker script (when you build for trystudio)). One hint: do not edit the generated code. Instead go back to STMcubeMX and find what you want to modify there. For example UART baud rate / no. data bits are GUI parameters for the UART peripheral. You want to be in a state where you can rerun STMcubeMX without it deleting any of your own changes.

  • @reboot1337
    @reboot1337 2 роки тому

    how often stm32l151 normally die?

  • @38911bytefree
    @38911bytefree 8 років тому

    GCC is used by many toolchains, like Crosstudio. GCC is the compiler and those IDEs just call GCC when you hit compile or make. GCC is not and IDE on its own. Its a compiler. Kinetis Desgin Studio uses GCC too. You want the same GUI for init, with a free IDE and cheap (34 dollar with programmer, two USB and ETHERNET). Kinetis is for you !!!!!. IAR install dongle drivers because they offer hardkey type license and the hard key needs drivers. Sales people at IAR will contact you once you registered to ask about you project and ... what about of buying a license. They are ANNOYING !!!!!

  • @frozenicefox4671
    @frozenicefox4671 7 років тому

    Hey Dave,
    i recently had to work myself into the STM32F4 chips for master thesis. I just found this Video just after i got started...
    Just like you, i hate all those "Fill in here, get an account here, blablabla". It is so annoying... still today... They added the GCC part to the "get started guide", at least for the STM32F446RE Nucleo
    I found the easiest way to get started with GCC is to set up Eclipse C/C++, get the System Workbench_STM32 (AC6) and use CubeMX to generate the SW4STM32 project. But untill i found out i had to try all the other ways from the "get started" too because it is the last mentioned way...
    I also had some experience before and can say: Its not really beginnersfriendly!
    Cheers from Germany, i really love your Channel!

  • @damny0utoobe
    @damny0utoobe 8 років тому

    google stm32 book by g. brown. it's a free book that shows you how to get started with just gcc. good read.

  • @jaeholee3816
    @jaeholee3816 7 років тому

    The MDK for STMicroelectonics STM32F0 and STM32L0 is a license paid by STMicroelectronics. It is free-to-use for software developers working with STM32 devices based on the ARM Cortex-M0 and ARM Cortex-M0+ cores." - Bruce Abbott Mar 15 '16 at 20:54

  • @tHaH4x0r
    @tHaH4x0r 8 років тому +7

    I personally prefer the NXP/Freescale product more, now that they cleaned up their IDE a bit. The fact that you can snap off the development part of the devboards to make them just a programmer is great.

    • @qazqwezxc0
      @qazqwezxc0 8 років тому

      Which development boards allow you to break off their boards to make them suitable in-circuit programmer/debuggers? Only thing I know of is the Segger J-Link EDU that is vendor neutral for dev debug programming

    • @zm7160
      @zm7160 8 років тому +5

      Actually STM have the same thing going on quite a few of their boards (Nucleo-64s) have a break away STlink V2 on them.

    • @superdau
      @superdau 8 років тому

      You can break off the programmer on most of the nucleo boards. I've also routed off the programmer on discovery boards twice, because I wanted to fit the board into a certain case. The programmer was unuseable after that (would have required too much bodging to get it run standalone and when you can get an st-link for 3€ on ebay it's not really worth the effort), but the rest of the dev board was totally useable after mocing over the 3.3V reg from the programmer part and making a few small patches.

    • @tHaH4x0r
      @tHaH4x0r 8 років тому

      Yeah I know about the fact that ST has it as well, just thought i'd mention it. Every manufacturer should do that on every devboard in my opinion.
      But with regards to NXP/Freescale, they offer some parts the competition doesnt, like the LPC11cX4 series. They have a built in CAN transceiver, something no other manufacturer appears to have.
      I also really like the K series of the kinetis microcontrollers for their many PWM lines.

  • @xDR1TeK
    @xDR1TeK 5 років тому

    I still can't add the toolchain to eclipse, the System Workbench for STM32 launches eclipse and it works there, haven't compiled anything there yet. I got the compiler also from ARM site. They have 2 links, one being the compiler, the other being the toolchain. Not sure what the difference is yet. Eclipse lately has some new packaging system that uses xpack and node stuff. Getting things to download and run was just terrible. The missing out of the box experience is just slowing things down and raising that learning curve steaply.
    EDIT: use the Eclipse market place (Help menu) to locate the GNU MCU ECLIPSE 4.6.1. It will ask you to select your controller manufacturers. I am sure there are many steps for multiple options. I would suggest to stick to SWSTM32 for now, unless you can get IAR or KEIL uVision MDK. Most importantly, the ARM Compiler would prove useful. One day.

  • @DanShepherd72
    @DanShepherd72 4 роки тому

    STM has a free eclipse based IDE called System Workbench

  • @codebeat4192
    @codebeat4192 5 років тому

    Had the same experience with a STM32 Arduino Nano look-a-like, didn't get it working, it is in the bin now. Cheap however frustrating. Had also the same awful experience with NXP ARMmbed stuff, takes me two days without any result. Online compiler not working, wrong links to outdated setups for offline compiling, needs tons of software and configuration, awful. Skip it.

  • @hinkelstein4six
    @hinkelstein4six 5 років тому

    stm32duino is for beginners. it uses GCC. Nowadays you can use STMCubeMX-IDE but I think that´s no beginners solution because of its complexety. By the way good job well done.

  • @jhallenworld
    @jhallenworld 8 років тому

    I've been trying Ambiq's super low power Apollo ARM MCU. The dev. board is expensive, but in many ways nicer than STM32L- the peripherals are better for low power and the HAL is much nicer (mainly because Ambiq has only one chip at this point).

  • @Q_Ultimas
    @Q_Ultimas 8 років тому +1

    I used one of the STM32 ARM developer boards for my micro controller class. Pretty awesome!

  • @AureliusR
    @AureliusR 8 років тому

    You should check out the PIC32MX1XX/2XX series instead... lower power. The 3XX/4XX are much more powerful and power-hungry.

  • @warlockd
    @warlockd 7 років тому

    The API is ridiculous. The majorty of is purpose is to make sure to lock hardware resources when in use for the Rtos. Otherwise the amount of code just to send a few bytes to the SPI is staggering. While the CubeMX makes it much
    Its just the STM32 features are soooo nice. The CubeMX, for its problems, does make configuring and re-configuring the board a snap. That DMA is great once I figured it out and faster than the fifo thats in the ESP8266. Not to mention soo cheap. I just wish they made some better librarys if they keep slapping the Arduino header on their boards.

  • @tomjones9137
    @tomjones9137 6 років тому

    I want to take that fake paper cut out microphone and tear it to pieces...very engraging indeed.

  • @damnedattendant2536
    @damnedattendant2536 6 років тому

    Sir … when I purchased the stm32F072rbt6 discovery and set it up, all the software and stuff … It felt like the board was telling me fuck Arduino as the cost of the chip was 2.28$ !!! I'm from India and a engineering student … ST Microelectronics …. Thanks ….

  • @henricoderre
    @henricoderre Рік тому

    Hi Dave. STM32Cube is a combination of software tools and embedded software libraries: A full set of PC software tools addressing all the needs of a complete project development cycle. By the way, I can't know when this video was posted because I don't see the date anywhere. If you posted this video years ago, you might have found out by now, so I'm no help at all.

  • @zman552625
    @zman552625 6 років тому

    try EMBITZ as IDE (former EMBLOCKS), it is a good free alternative to commercial IDEs, and it is using GCC

  • @Test-tz8pg
    @Test-tz8pg 5 років тому

    19:32 100% agree! I absolutely hate having to sign up. I will spend hours trying to get around signing up, because it's stupid. Why do you need my email, DOB, address, etc?

  • @pivotmastex
    @pivotmastex 8 років тому

    One problem that I have found with CubeMX is that it doesn't enable the (not always present) FPU and I am not able to find an option to do so. Maybe I am just blind, because having to paste some assembly code to the init file doesn't seem right. (especially since CubeMX overwrites the file entirely when generating code!)

  • @kalhana_photography
    @kalhana_photography 8 років тому

    Been using STM32 since 2009. I would recommend ARM uVision Keil.That CubeMX is garbage for setting up most of the peripherals as it adds a lot of bloating. ST should have made it like TI's HALCoGen for Hercules series, much more lean code.Although CubeMX is ok for Ethernet, and also for planning pins.

  • @gabiold
    @gabiold 5 років тому

    Code::Blocks + arm-none-eabi-gcc + libopencm3. Takes some experimenting to set it up (as opposed to out-of-the-box bundles), but after that it is stable, the IDE is lightning fast, the libopencm3 is incredibly clean and not bloated (like the CMSIS HAL). I probably not using the full potential of debugging in this setup, but it works with J-Link for me.

  • @sprybug
    @sprybug 8 років тому

    OMG, the amount of hoops you have to jump through to get it to do what you want to do. No thanks. Thanks for going through all that pain in the ass stuff for us. It lets me know just to stick with Arduinos and Raspberry Pis.

  • @ChrisLeeX
    @ChrisLeeX 6 років тому +1

    love your enthusiasm, got me excited for ARM

  • @richfiles
    @richfiles 8 років тому

    I am consistently blown away by how low power some of these devices are made these days. Man... I mess with vintage calculators, so I se RDL (resistor diode logic) and RTL (resistor transistor logic) from time to time ... It's SO inefficient, power wise. Amazing how far we've come!

  • @DantalionNl
    @DantalionNl 3 роки тому

    I want to come back and emphasize that it now supports makefiles using GCC and the whole STM32 stack has also been integrated into PlatformIO.

  • @carlosruizmora3111
    @carlosruizmora3111 5 років тому

    Well, when I began with ARM it was kind of puzzling but ST website was tremendously useful to understand how to begin. I just read the getting started pdf without making that much of a drama, downloaded the STM32CubeMX, TrueStudio from Atollic (which is Eclipse and GCC based and it is fully functional and FREE for STM32)... hooked up a small STM32-Nucleo board and voilà!!! I was ready to begin to code and play with the hardware. I think that STM32 is an excellent platform for beginners and it is extremely low cost. Maybe it isn't as intuitive as Arduino, but once you sort out the first one or two bumps on the road, you are light years ahead from Arduino hardware capabilities. Just give it a try and *please* RTFMs!!!! Pura vida from Costa Rica!!!

  • @Michael-ze6oz
    @Michael-ze6oz 8 років тому

    Dear Dave, you use a webcam for Pickture in Picture but why? You look in the camera and monitor, it's confusing for the viewer where to look at. You point your mouse at what you discuss, so.. why keep yourself in the picture? You show the development board even when you don't use it. Small PDF view as a result..
    Your original format was so good, why changing it for .. which reason..?
    I love your program but it's losing it's strenght lately

    • @EEVblog
      @EEVblog  8 років тому +6

      People like to see my face. I think you'd be in the minority here. Before I had so many complains that I didn't have the webcam in the corner.

  • @mUbase
    @mUbase 8 років тому

    I've got the STM32 L152re Nucleo board whicj I still haven't done anything with... hmmmm......

  • @LordGarth6
    @LordGarth6 8 років тому

    the price was temping me to jumping and try out arm, only ever used fpgas pics and arduinos. all that jumping around through all the hoops is crazy.

  • @vasanth0x55tube
    @vasanth0x55tube 8 років тому

    Atollic TrueSTUDIO is gcc based, fully supports all STM32 micros, and comes completely free.

  • @xuio_
    @xuio_ 8 років тому

    you can use Stm32cubeMX with GCC. Just select TrueStudio, it should generate compatible startup and linker scripts. There is a Python script on Github which can generate Make files from cubemx files.

  • @AureliusR
    @AureliusR 8 років тому

    @ 16:16 what a brain fart. Seriously? You couldn't figure out that it wasn't measuring the current anymore?

  • @NelsonSantander
    @NelsonSantander 4 роки тому

    I really like your videos, I wanted to tell you that pressing the "F5" key will run your program, regards