Week6 - Embedded Programming
Here are my week 6 assignment
What should I achieve in this week:
Group assignment:
- Browse through the data sheet for your microcontroller, compare the performance and development workflows for other architectures.
Individual assignment:
- Write a program for a microcontroller development board that you made, to interact (with local input &/or output devices) and communicate (with remote wired or wireless devices)
- extra credit: use different languages &/or development environments
- extra credit: connect external components to the board
Embedded Programming Notes
Architectures Van Neumann, use Harvard Architectures
- RISC - reduced instruction set, excute quickly
- CISC - one thing does many things
Microcontroll - in a little package: including processor and the memory and the communication and everything
FPGA - programmable logic
Silicon Compiler - Software design
Spatial - chips from scratch
Sam D11C - block diagrams(1 dollar with thousand pages) show its working principle.
Memory - where the processor operate
EEPROM - store data when power off
FLASH - store more data but not when power off
Peripherials - processor talks to the world around it:
Comparator - compare the voltages
USART,USB - modules the communicate
word size - operate at the same time
professor family - Pie calculating
RISC-V - open architecture, more and more popular lately
HEX code is actually running in the processor
C - most comment language
C++ - extens for C
Interpreters: Python: from the highest to the processor, more interative, but slower
The program loading to the processor
Assgniments: Input(like button) -> serial port info -> output -> serial port info.