분류 전체보기 (42) 썸네일형 리스트형 95일차 11월 8일 펌웨어 보충 c언어 문법은 대충 알겠는데 코딩 시작이 막막하다 --> 왜 그런가? 국어 문법 안다고 작문에 능한 건 아니듯, 코딩 잘하는 법을 알 필요가 있다. 남 코드를 보는 것도 좋고, 이번 보충으로 배우는 리마인드도 좋다. --------- application 실행 : 외장디스크 -(실행코드, 변수, memory)-> RAM(Loading) CPU cf)외장디스크가 아닌 RAM에 올려서 실행하는 이유 : 속도 ; cpu 내부 cache 메모리말고 RAM이 주인 이유는 가격 때문. MCU의 경우는? 하나의 칩 형태인 경우가 많음. 어쨌든 내부적으로 나누면 위와 같다. 실행코드는 어디에 저장돼있는가? Flash memory로 들어간다. cf)ROM을 사용할 때는? ROM writer를 이.. 93일차 11월 4일 buzzer 설정 https://cosmosproject.tistory.com/255 Piano 음계별 주파수(Hz) notes notes 0 1 2 3 4 5 6 7 8 도 C 16.35 32.70 65.41 130.81 261.63 523.25 1046.50 2093.00 4186.01 도# C# 17.32 34.65 69.30 138.59 277.18 554.37 1108.73 2217.46 4434.92 레 D 18.35 36.71 73.42 146.83 293.66 587.33 1174.66 2349.32 4698.64 레# D# 19.45 38. cosmosproject.tistory.com https://m.blog.naver.com/PostView.naver?isHttpsRed.. 88일차 10월 27일 오늘은 입력 받은 온습도 수치를 그래프로 그리는 게 목표다. 새로 widget을 만들어서 우클릭하면 달라진 점이 보인다. QT += core gui QT += serialport # Add QT += printsupport # Add chart greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings # depend on your compiler). Please consult the docum.. 87일차 10월 26일 오늘의 목표는 STM32와 QT를 연동하는 것이다. https://components101.com/sensors/dht11-temperature-sensor DHT11–Temperature and Humidity Sensor DHT11–Temperature and Humidity Sensor components101.com serialport를 추가했음. QT += core gui QT += serialport # Add greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 # The following define makes your compiler emit warnings if you use # any Qt feature tha.. 86일차 10월 25일 signal은 event slot은 call back funtion #ifndef MAINWINDOW_H #define MAINWINDOW_H #include QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = nullptr); ~MainWindow(); private slots: int timer_update(); void on_pushButton_start_clicked(); void on_pushButton_2_clicked(); private: Ui::Mai.. 85일차 10월 24일 일정이 바뀌어서 FPGA 대신 QT 진도. 오전 https://github.com/316415/cpp_problem.git GitHub - 316415/cpp_problem: cpp pratice cpp pratice. Contribute to 316415/cpp_problem development by creating an account on GitHub. github.com 오후부터 QT 진도. QT를 왜 쓰는가? 개발환경과 상관없이 크로스플랫폼이 가능하여 임베디드 특히 전장 쪽에서 많이 쓰인다. ip 확인 후 MobaXTerm 연결 button 우클릭 go to slot --> cliked //mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDO.. 83일차 10월 20일 AXI4-Lite 이 인터페이스를 이용해서 peripheral을 간단하게 만들었다.(어제의 upcounter(FND) 및 led) -------- 실습. AXI에서 data를 보낸다. reset은 전체 시스템에 대한 초기화 on/off 는 FND에 대한 display를 조절하는 요소. clear는 FND controller 내부의 counter만 초기화. 레지스터 설정은 다음과 같이 한다. 즉, -------- https://github.com/316415/SoC_upcounter_clear_on_off_reset GitHub - 316415/SoC_upcounter_clear_on_off_reset: input clear only affects FND controller module. i.. 82일차 10월 19일 이 protocl 규격을 만든 건 ARM이고 이러한 버스들을 합쳐서 AMBA라고 부름. ARM의 AMBA에는 AHB 버스, APB 버스, AXI 버스 등이 있음. ------ https://www.mouser.kr/new/stmicroelectronics/stm32f103xf103xg/ ARM A시리즈 AXI channel (BUS read만 하거나 write만 하거나. 어제 8051로 설명했던 것처럼) MicroBlaze AXI4-Lite 그럼 기존과 4 라인은 뭐가 다른가? 채널을 독립적으로 사용할 수 있다. read와 write을 동시에 독립적으로 할 수 있음. ------- 다시 돌아와서, tick은 1ms 간격으로 +1 한 값. 32bit의 register 제공. 그러면 구조는 다.. 이전 1 2 3 4 ··· 6 다음