Make ARM program using IAR Embedded Workbench IDE
Build a project: Project -> Create New Project.
After create a project, you can programm C code in file window. When you finish programming, you need to configure the project first.
Open project option: Project -> Options.
In the General Options category, you can configure the type of Processor Core or Chip Device. And click the third tab Code under sub category C/C++ Compiler, you can set the Processor mode: Arm or Thumb.
In the Debugger category, you can set the Diver for Simulator, J-Link, J-Trace, Third-Party Driver or something else.
If the Driver above, you choose Third-Party Driver, then in Debugger -> Third-Party Driver, you can choose the path of the Third-Party Driver.
After the configuration, you can compile and make the C code. Then click the button "Download and Debug", must beware not "Debug without Downloading".
Once entering Debug mode, you can see Register, Memory, and the most important item Disassembly in the View option. (Here beware again that before entering Debug mode, you cannot click button "Debug without Downloading", it has to be "Download and Debug").
Comments
Post a Comment