Burn Bootloader - Atmega328P using Pololu AVR

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • Pololu AVR Programmer version - Quickly burn bootloader to Atmega328 TQFP 32 pin chip without having to use an arduino board as ISP. The Pololu AVR programmer allows you to connect the ISP programming connections as well as the serial console at the same time.
    Arduino Minicore URL: mcudude.github.io/MiniCore/pa...
    Breadboard Layout: github.com/kakushinAU/Atmega3...
  • Фільми й анімація

КОМЕНТАРІ • 20

  • @SebastianHernandez-cb6ry
    @SebastianHernandez-cb6ry 9 місяців тому

    This is the best video I could have found

  • @mungo9000
    @mungo9000 2 роки тому +1

    Brilliant video - you've just saved me a lot of work, thank you

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

    kakushin, buenas noches, quiero agradecerle por la informacion suministrada, me sirvio muchisimo, excelente video. Saludos.

  • @user-cb7ly2rt7q
    @user-cb7ly2rt7q 3 роки тому

    عمل رائع . شكرا جزيلا . Thank you 🙏

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

    thank you

  • @rudy5360
    @rudy5360 2 роки тому +1

    Great video! Clear and easy to understand, thank you 😀 Just one thing I am unsure about. If you burn a bootloader, then upload a sketch with the programmer, doesn't this wipe the bootloader?

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

      Thanks for the comment. No, uploading a sketch does not wipe the bootloader. Both the sketch and the bootloader are stored in the flash memory on the chip. The sketch is stored at the front section of the flash memory, and there is an special area at the end of the flash memory (about 512 bytes) which is reserved only for a bootloader.

  • @samk2630
    @samk2630 2 місяці тому

    Great video. What's the white PCB you have connected to the breadboard with Vin and USB?

    • @KakushinAU
      @KakushinAU  2 місяці тому

      Thanks. It’s a 3v/5v breadboard power supply.
      a.aliexpress.com/_mtGlRrg

  • @RonaldRosete-ei1vn
    @RonaldRosete-ei1vn 2 місяці тому

    Can you use this adapter if my microcontroller has no leads?

  • @sabri.73
    @sabri.73 3 роки тому

    Which smd atmega mcu would you recommend to program with Arduino IDE?

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

      I recommend the ATMEGA328P-AU microcontroller. They cost about $2 each and can be easily programmed with Arduino IDE. Here's the link to Digikey: www.digikey.com/en/products/detail/microchip-technology/ATMEGA328P-AU/1832260 There are other SMD Atmega MCU's but I haven't been able to program them with the Arduino IDE. Good luck!

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

    Hello brother, I'm from Mexico, where did you get the programmer and the base for the ATMEGA328pAU?
    or how can I find them?
    What are their names?

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

      Programmer
      - DigiKey $7.77 USD - Search for "Pololu 2183-3172-ND"
      Base
      - AliExpress $10.38 USD - Search for "SZYTF TQFP32 QFP32 TO DIP32 IC Programmer Adapter"
      The base comes with a DIP adapter. I cut mine off so that it can span across 2 breadboards. Otherwise it covers most of breadboard connections.

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

    Are you powering the atmega and the programmer from the power supply? Or are you setting the programmer to output current?

    • @KakushinAU
      @KakushinAU  Рік тому +1

      Both the Atmega and the Programmer are powered from the breadboard power supply. Pin VCC on Pololu AVR programmers are set as an input by default. (This is different from video ua-cam.com/video/VVK0aYcrnQc/v-deo.html where the programmer powers the circuit).

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

      @@KakushinAU Thank you for your response. I was having issues on my end and I suspected it was because I needed an external power supply.

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

      Good point. The video should have been more clear that the breadboard should be powered with 5VDC.

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

    Can you use serial to upload code to it after bootloader is burned?

    • @KakushinAU
      @KakushinAU  Рік тому +1

      Yes, the MOSI and MISO connections are a type of serial interface. However, I don't think you can program the Atmega directly to the serial pins without a programmer.