Planering inbyggda system
From Datateknik
(Difference between revisions)
(→Labb 2) |
(→Labb 2) |
||
Line 36: | Line 36: | ||
Glöm inte att ändra till '''gcc för ARM''' | Glöm inte att ändra till '''gcc för ARM''' | ||
− | ==Labb 2== | + | ==Labb 2 - Blinky LED etc etc == |
* You can '''draw''' some awesome diagrams in [https://fritzing.org/home/ fritzing], but you can *NOT* '''simulate''' i.e. make the LED blink | * You can '''draw''' some awesome diagrams in [https://fritzing.org/home/ fritzing], but you can *NOT* '''simulate''' i.e. make the LED blink | ||
− | + | * [[File:LPC1768withUSBcable.jpg|x200px]] | |
==h2== | ==h2== |
Revision as of 14:02, 15 October 2019
prequel
Contents |
Kursböcker
LABBAR
Labb 1 - von Neumann & Assemblerprogrammering
von Neumann
- Fetch-Decode-Store CYCLE
- BBC: https://www.bbc.co.uk/bitesize/guides/z2342hv/revision/5 (Inqluding test!!)
- Flash: Click Next: https://www.hartismere.com/20398/CPU-Fetch-Decode-Execute-Animation
- Bra bok/Wiki KORT, med frågor -- https://en.wikibooks.org/wiki/A-level_Computing/AQA/Computer_Components,_The_Stored_Program_Concept_and_the_Internet/Machine_Level_Architecture/The_Fetch%E2%80%93Execute_cycle_and_the_role_of_registers_within_it
- https://www.ciss100.com/lecture-topics-modules/architecture-hardware/fetch-execute-cycle/
- ONLINE: https://tools.withcode.uk/cpu/
- Download: https://sourceforge.net/projects/johnnysimulator/
- CRAZY DETAIL: http://www.visual6502.org/sim/varm/armgl.html
- BAD??: https://www.mathematik.uni-marburg.de/~thormae/lectures/ti1/code/cpusim/index.html
- Artikel med referenser: https://www.tandfonline.com/doi/full/10.11120/ital.2010.09010100
ARM assembler
Vilken assembler passar till följande kod:
int square(int num) { register int temp; register float x; temp = 4; x = 3.1415; return temp + (int) x; }
Kontrollera på sidan https://godbolt.org/ Glöm inte att ändra till gcc för ARM
Labb 2 - Blinky LED etc etc
- You can draw some awesome diagrams in fritzing, but you can *NOT* simulate i.e. make the LED blink