Font Size: a A A

Arm Simulator Ⅱ C Module In The System Design And Implementation

Posted on:2013-09-04Degree:MasterType:Thesis
Country:ChinaCandidate:T LiFull Text:PDF
GTID:2248330374485971Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Currently, the embedded system has been widely applyed in all aspects ofour lives, from the systems as large as aerospace to a small chip of the mobilephone. Just because of this, more and more people want to study thedevelopment of embedded system in-depth, including the research about avariety of operating systems and some underlying softwares. However, given thecurrent situation, the research funding provided to the developers is limited, andthis will bring a range of issues, such as insufficient hardware developmentboard, or the incomplete environment for software development. Frequently,there is not a good solution to solve this program, so that the developers canfocus on the development of related software. At the same time, the instabilityof the hardware development environment will bring unexpected difficultiesinto the design about some higher-level software.In order to overcome suchseries of problems in software development, Developers had made every effortto solve them and had proposed some effective solutions, such as hardwareemulator and software emulator. In this thesis we realise a full system simulatorwhich is called ApSim, and it is a tool which can be used to run, debug, andverificate the embedded operating system and the related application softwares.The emulator simulate the real hardware in the form of pure software, inaddition it provides software developers a virtual development environment tohelp them get rid of the hardware environment which is difficult to be controled.This allows for better learning and developing of embedded software.The serial communication bus IIC has many advantages such as a simplestructure, less connections, good expansibility, and so on. It can be veryconvenient to build a multi-machine system and extend the peripheral devices.What’s more it is a good solution to solve the input and output interfaces betweenCPU and various kinds of IC devices, making the connections become verysimple. With these advantages IIC has got more and more attention in the fieldof embedded, so it is necessary for us to design and implement a reliable simulation about IIC to help the learners learn it well.Aiming at the above problems, this subject proposed a module for thesimulation platform: IIC simulation module solutions. Referring to thenormative standards of IIC device which described in the technical manual, wedivide the module into three sub-modules. In order to build its model with finiteautomata, we picke up the migration processes of a number of statuses form theworkflow of IIC. Then the thesis proposes the model simulation Algorithm, andrealise all of its functions by using C language. The module uses the unifieddevice management and Set aside interface, making it is easy to upgrade and addnew models. Finally we test the simulation module by transplanting U-boot. Thesimulation system is the master, and E2PROM is the slave. The IIC commands’successful operation in the ApSim system indicates the correctness of thesimulation.
Keywords/Search Tags:Embedded system, Simulator, IIC, E2PROM
PDF Full Text Request
Related items