b. 임베디드/AVR

[AVR128DA] Bootloader

로봇쟁이 2021. 12. 1. 23:55

AVR128DA 시리즈는 Bootloader가 이미 제작되어 있습니다.

다만 python 으로 만들어진 업로더 프로그램이 조금 친절하지 않게 UI가 전혀 없어서 사용하기 번거롭습니다.

 

먼저 Code는 이미 

 

MPLAB 버전

GitHub - microchip-pic-avr-examples/avr128da48-cnano-bootloader-mplabx: This repo provides two MPLAB X projects, represent a basic implementation of a Bootloader and a Host Application example for the AVR-DA family

 

GitHub - microchip-pic-avr-examples/avr128da48-cnano-bootloader-mplabx: This repo provides two MPLAB X projects, represent a bas

This repo provides two MPLAB X projects, represent a basic implementation of a Bootloader and a Host Application example for the AVR-DA family - GitHub - microchip-pic-avr-examples/avr128da48-cnano...

github.com

 

ATMEL 버전

GitHub - microchip-pic-avr-examples/avr128da48-cnano-bootloader-atmel-studio: This repo provides an Atmel Studio solution which contains two projects, representing a basic implementation of a Bootloader and a Host Application example for the AVR-DA family.

 

GitHub - microchip-pic-avr-examples/avr128da48-cnano-bootloader-atmel-studio: This repo provides an Atmel Studio solution which

This repo provides an Atmel Studio solution which contains two projects, representing a basic implementation of a Bootloader and a Host Application example for the AVR-DA family. - GitHub - microch...

github.com

 

이렇게 친절하게 만들어져 있습니다.

사실상 사용만 하면 됩니다. ^^;

 

물론 저는 조금 해맸습니다....(ㅜㅜ 언제쯤 한방에 성공을 할런지....)

해맨 부분만 조금 정리하자면

 

AVR128DA48 Nano SW0 설정이 안되어 있어서 부트로더에 해당 부분을 설정해줘야 수월하게 동작합니다.

LED는 회로를 보면 알겠지만 LED_SET이 꺼지고 LED_CLEAR가 켜집니다...

 

저는 파이썬 UI를 적용해서 개인적인 사용용도로 만들어놨는데.. 공개하기에는 조금 창피하네요.

UI를 하는 사람도 아니지만 너무 개판으로 만들어서......ㅎㅎㅎㅎ

 

기회가 되면 공개하는 것으로 하겠습니다.

 

 

반응형