ARM Cortex LED编程实验:S5PC100芯片I O控制与Eclipse环境应用.pdfVIP

  • 0
  • 0
  • 约1.87千字
  • 约 6页
  • 2026-02-07 发布于北京
  • 举报

ARM Cortex LED编程实验:S5PC100芯片I O控制与Eclipse环境应用.pdf

LED编程实验

【实验内容】

编写程序,控制实验平台的发光二极管LED1、LED2、LED3、LED4使它们有规律的

点亮和熄灭。代码分别在Eclipse的Debug环境下运行。

【实验目的】

掌握S5PC100I/O控制器、及最小C系统的

掌握如何通过Eclipse环境运行仿真程序

【实验平台】

FS_S5PC100

【实验步骤】

运行led_FS_S5PC100目录下的工程

1、首先打开Eclipse软件,指定工作目录。

2、导入已存在的工程,在File–import

3、指定工程的目录,点击完成。

4、运行工程,Run–DebugConfigurations

在Native的选项卡下,右击新建一个调试配置。

根据提示建立相应的配置选项,具体可查阅环境的文档。

再单击Debug窗口前,先运行开发板并FS_JTAG调试软件,后单击Debug后开始调试运行,

运行成功会出现LED灯的闪烁。

LEDProgra

mming

[ExperimentContent]Experiment

WriteaprogramtocontroltheLEDs1,2,LED3,and4ontheexperimentaltform,makingthem

lightupandturnoffinaregularpattern.ThecodeisrunintheDebugenvironmentofEclipse.

[ExperimentObjective]

MastertheI/OcontrolleroftheS5PC100chipandthesetupof

theminimalCsystem.Learnhowtorunsimulationprograms

throughtheEclipseenvironment.

[Experimental

tform]

_P0

FSS5C10

[rim

ExpeentalSteps]

__

RuntheprojectintheledFSS5PC100directory,

frstopentheEclipsesoftwareandspecifythei

workspace.

2Importanexistingproject,inFile–import

3.Specifythedirectoryfortheproject,t

henclickFinish.

Rtheproject,Run–DebugConfigurations

4un

UndertheNativetab,right-clicktocreateanewdebugconfiguration.Follow

thepromptstosetupthecorrespondingconfigurationoptions;refertothe

environmentsetupdocumentationformoredetails.

_

BeforeclickingtheDebugwindow,firstrunthedevelopmentboardandFSJTAGdebuggingsoftware,then

ichedebuggingprocess.Ifsuccessful,theLEDwillbegintoblink.

clkDebugtostartt

文档评论(0)

1亿VIP精品文档

相关文档