Working with ARM microcontroller using Keil uVision4
ARM Basics Advanced RISC Machine (ARM) is a family of reduced instruction set computing (RISC) architectures for computer processors, configured for various environments. Arm Holdings develops the architecture and licenses it to other companies, who design their own products that implement one of those architectures—including systems-on-chips (SoC) and systems-on-modules (SoM) that incorporate memory, interfaces, radios, etc. It also designs cores that implement this instruction set and licenses these designs to a number of companies that incorporate those core designs into their own products. Running ARM IC within simulator Download and install Keil uVision - MDK ARM Go to project in the menu bar anc click on new uVision Project. Select lpc2148 in the menu and click it. Disable startup file. Save the project in a new folder named something. This folder name can be changed accordingly but all the dependency file should correspnd to it. Within this folder create a newfile called as something.s. Copy and paste this code in something.s 1 2 3 4 5 6 7 8 AREA ONE, CODE, READONLY ENTRY MOV R0, #0X01 MOV R1, #0X02 ADD R2, R1, R0 L B L END Click one the source group on the left hand side and right click to add existing files… Add the something.s file, by checking the assembly files option Click translate first on the menu bar and then click build the second time. Now in the menu bar click on debug and then click start/stop debug session You can click run to run everything or click on step to run one line at a time More info about the lpc2148 The microcontroller lpc 2148 is a 32 bit memory controller. ...