Firmware 26

keil cubemx 없이 uart 추가.

수정 파일.. stm32l4xx_hal_conf.h => 해당 기능 주석 해제. #define HAL_UART_MODULE_ENABLED HAL_USART_MODULE_ENABLED 로 되는거 주의!! main.h => GPIO 추가. #define USART1_TX_Pin GPIO_PIN_6 #define USART1_TX_GPIO_Port GPIOB /* USER CODE BEGIN Private defines */ #define _DEBUG_MSG // 디버깅 메세지 삭제하려면 주석처리. 20210303 kts #ifdef _DEBUG_MSG #include #define MSG_LV 0 #if MSG_LV == 0 #define d_msgl(...) do{printf("#[%s %d] ",__FU..

Firmware/STM32 2021.10.09

플래쉬 프로그램 UNIFLASH Hex

TI 전용 다운프로그램 전달합니다. (CCS 프로그램으로 다운 불필요) https://www.ti.com/tool/UNIFLASH#downloads 다운 후 설치 실행하면 자동으로 디버그 장치 연결되고 해당 디바이스 선택 (28027) 스타트 버튼 활성화 되면 클릭 후 *.out 파일 선택 후 load image 버튼으로 펌웨어 업로드 정상적으로 펌웨어 다운되면 하기 콘솔창에 메시지 출력됨. CCS hex 만들기 C2000 hex 활성화, 메모리 16, 16 출력 모토로라 2

Firmware/TI_DSP 2021.07.16

cubemx CAN 속도 설정

보통 125~1000kbps 사용 UART와 다르게 여러 파라메터 조정하여 설정함. FCLK 클럭 확인 www.bittiming.can-wiki.info/ CAN Bit Time Calculation The following calculation sheet is mostly useful for classic CAN as defined in ISO-11898 before 2015. For the new CAN FD as defined in ISO-11898:2015 work is in Progress. CiA provides the document CiA 601-3 CAN FD bit-timing recommendations. By providing t www.bittiming.can-wiki.info S..

Firmware/STM32 2021.03.09

네오픽셀 RGB LED / esp8266 / nodemcu / 아두이노

보드 매니저 esp 시리즈 라이브러리 설치 https://dl.espressif.com/dl/package_esp32_index.json http://arduino.esp8266.com/stable/package_esp8266com_index.json github.com/arkhipenko/TaskScheduler Adafruit NeoPixel Library: Adafruit_NeoPixel Class Reference github.com/Links2004/arduinoWebSockets esp8266 소스코드 c:\Users\acer\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\variants\nodemcu\ // pins_ardu..

stm32 아두이노 블루필

1. STLink 로 아두이노 부트로더 적용. github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/binaries 패스트 부트로 다시 다운..23.03.12 리셋 누르고 다운시 떼면 다운되기는 함... boot 건들필요 없을듯... BOOT 0을 high로 점퍼 변경후 부트로더 다운로드. 다운 완료후 원위치. 아두이노 2.0버전은 다운 지원 안됨! 기존 1.8.15 버전은 지원안되었는데..아닐수도.. 19는 url 설치.... (23.03.12 추가) url 추가하고 stm32로 검색후 설치 http://dan.drown.org/stm32duino/package_STM32duino_index.json stm32 보드 컴파일러 수동 설치. g..

Firmware/STM32 2020.12.02