Getting started with AVR and PlatformIO under Linux

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • Watch me loosing my sanity when trying to figure out the access rights to the USB serial port /dev/ttyACM0 under Linux Mint 18.
    But in the end I get both Visual Studio Code, PlatformIO and avrdude from the command line to do what I want.
    (the screen casting from the Linux laptop was done using obs.ninja/ resulting in a slightly blurred image - but the text on the screen should not be too important)
    Links:
    Linux Mint: linuxmint.com/ (an Ubuntu-based distro)
    Visual Studio Code for Linux: code.visualstu...
    PlatformIO: platformio.org/
    Linux command line tools: $ sudo apt-get install binutils gcc-avr avr-libc uisp avrdude flex byacc bison
    There was a comment placed under the video and then removed again, but I could rescue it. Directory name problems with PlatformIO are now documented here: docs.platformi...

Komentáře • 10

  • @Parad8n
    @Parad8n Před 3 lety

    Great video as usual, Uwe!

  • @melvynsmith2143
    @melvynsmith2143 Před 3 lety +1

    A 13 minute video and less than half of it an an understandable speed !!

    • @uwezimmermann5427
      @uwezimmermann5427  Před 3 lety +1

      Thank you for watching and commenting...
      well, the advantage of youtube is that you can play-back at your own speed, pause and fast-forward...
      I decided for your (or rather my students') entertainment to leave my solution-seeking process in the video, but at a fast forward pace...

    • @melvynsmith2143
      @melvynsmith2143 Před 3 lety

      @@uwezimmermann5427 just an observation, not a complaint, and a useful video none the less.

  • @skmplanet9591
    @skmplanet9591 Před 2 lety

    Can you please tell me how to use linux and platformio for AT89S52 programming ?

    • @uwezimmermann5427
      @uwezimmermann5427  Před 2 lety

      Sorry, no, I have no experience with x52-microcontrollers. Everything is different from the AVR-family. Perhaps you should look into more modern alternatives.

    • @skmplanet9591
      @skmplanet9591 Před 2 lety

      @@uwezimmermann5427 Those are cheap microcontrollers. Can you please suggest some other cheap alternatives. Thanks a lot.

    • @uwezimmermann5427
      @uwezimmermann5427  Před 2 lety

      @@skmplanet9591 ATtiny and ATmega are not expensive either - the price depends on the amount of IO and memory.

    • @uwezimmermann5427
      @uwezimmermann5427  Před 2 lety

      @@skmplanet9591 I don't know about street prices where ever you are in the world, but Microchip gives about the same price for an AT89S52 as for an ATmega16A which is quite an old member of the family but with the same size and number of IO, but twice the amount of flash memory.

    • @skmplanet9591
      @skmplanet9591 Před 2 lety

      @@uwezimmermann5427 thanks a lot