
IT/IoT | Hardware 2023. 4. 25.
Nextion HMI 시리얼 업로드, 펌웨어 업데이트 v1.2 파이썬 코드
넥시온 업로드 프로토콜 v1.2는 v1.1 프로토콜의 개선된 버전으로, 수정되지 않은 파일의 일부를 건너뛰어 넥시온/TJC 디스플레이에 TFT 파일을 더 빠르게 업로드 할 수 있습니다. 이는 사진과 글꼴과 같은 리소스가 변경되지 않은 경우 건너뛰게 됨을 의미합니다. 자세한 내용은 아래 글에서 볼 수 있습니다. 공식적인 것인지는 잘 모르겠네요. nxt-doc/Upload Protocol v1.2.md at main · UNUF/nxt-doc · GitHub\ GitHub - UNUF/nxt-doc: Documentation around Nextion Stuff. HMI files, TFT files, ZI files, ... Documentation around Nextion Stuff. HMI files..

IT/IoT | Hardware 2023. 4. 24.
Nextion HMI 시리얼 업로드, 펌웨어 업데이트 v1.1 파이썬 코드 예제
Nextion HMI 디스플레이를 시리얼로 업데이트 하는 파이썬 코드를 간단하게 작성했다. NEXTION HMI UPLOAD PROTOCOL v1.1 을 참고해서 작성하면 되는데, 많은 코드들이 github에도 많이 있다. 아주 간단하게 그냥 기본적으로 기능만 확인했는데, 일단 업데이트는 정상적으로 되는 것 같다. 코드는 테스트 전용입니다. 사용상 에러에 대한 책임은 없습니다. ㅋㅋ 무책임 버전이니 필요하신 분만 참고하세요. import os import serial import time ser = serial.Serial("COM8", 9600, timeout=1) while True: a = f"DRAKJHSUYDGBNCJHGJKSHBDN" print(a) ser.write(a.encode()) se..
IT 2015. 2. 3.
Upload hex file to Arduino Board with AVR Studio6
Upload hex file to Arduino Board with AVR Studio6아두이노 보드에 Arduino IDE 를 쓰지 않고 AVR Studio6 를 이용해서 업로드 하는 방법. 원본 출처는 Using Arduino Bootloader from AtmelStudio Determining Arduino Avrdude Arguments The exact avrdude.exe command that is used from within the Arduino IDE can be determined by the following steps. This can be useful to ensure that the correct arguments are used when avrdude.exe is calle..
