手机版
你好,游客 登录 注册
背景:
阅读新闻

深入理解ARM体系架构(S3C6410)

S3C6410复位

[日期:2012-03-24] 来源:Linux社区  作者: 张同浩 [字体:大 中 小]

reset

S3C6410X has three types ofreset signals and SYSCON can place the system into one of three resets.

? Hardware reset: It isgenerated by asserting XnRESET. It is an uncompromised, ungated, total andcomplete reset that is used when you do not require information in system anymore. It fully initializes all system.

? Watchdog reset: It isgenerated by a special hardware block, i.e., watchdog timer. When the system ishanged due to an unpredictable software error, the hardware block monitorsinternal hardware status and generates reset signal to escape from this status.

? Wakeup reset: It is generatedwhen S3C6410X wake up from SLEEP mode. Since internal hardware states are notavailable any more after SLEEP mode, they must be initialized.

 

Hardwarereset

当XnRESET 引脚被声明后,系统内的所有单元(除了RTC 之外)复位到预先定义好的状态时,硬件复位被调用。在这段期间,将发生下面的动作:所有内部寄存器和ARM1176 内核都到预先定义好的复位状态。所有引脚都得到它们的复位状态。当XnRESET 被声明的同时,XnRSTOUT 引脚就被声明了。

XnRESET是不被屏蔽的,始终保持使能状态。XnRESET 的声明,无论先前为何模式,S3C6410 都进入复

位状态。XnRSET 必须持有足够长的时间允许内部稳定和传播。

 

The hardwarereset is invoked when XnRESET pin is asserted and all units in the system(except RTC) are reset to pre-defined states. During this period, the followingactions occur.

? All internalregisters and ARM1176 core go to the pre-defined reset states.

? All pins gettheir reset state.

? XnRSTOUT pinis asserted when XnRESET is asserted.

XnRESET isun-maskable and is always enabled. Upon assertion of XnRESET, S3C6410X entersinto reset state regardless of the previous mode. XnRSET must be held longenough to allow internal stabilization and propagation of the reset state toenter proper reset state.

Powerregulator for S3C6410X must be stable prior to the deassertion of XnRESET.Otherwise, it may damage S3C6410X and the operation is unpredictable. Figure3-17 is the timing diagram of power-on reset and pll turn-on sequence.

Watchdogreset

当软件挂起时,看门狗复位被调用。因此,在看门狗不能及时喂到时,就会发出超时命令。在看门狗复位期间,有以下动作发生:

除了ALIVE 和RTC 模块,所有模块进入预先定义好的复位状态。所有引脚都进入复位状态。在看门狗复位期间,nRSTOUT 引脚被声明。

在正常模式和闲置模式下,看门狗可被激活,并可产生超时信号。当看门狗定时器超时并复位使能时,其

可被调用。因此,下列依次发生:

1) WDT 产生超时信号。

2) SYSCON 调用复位信号,初始化内部IP。

3) 包括nRSTOUT 复位被声明,直到复位计数器RST_STABLE 被终止。

Watchdog resetis invoked when a software hang-up. Then, the software cannot initialize aregister within WDT and WDT makes time-out signals for watchdog reset. As theoccurrence of watchdog reset means that system has fatal problem, it behaveslike external reset except reset status register. During the watchdog reset,the

followingactions occur:

? All blocksexcept reset status register in ALIVE block go to their pre-defined resetstate.

? All pins gettheir reset state.

? The nRSTOUTpin is asserted during watchdog reset.

Watchdog resetcan be activated in NORMAL and IDLE mode, since WDT can generate time-outsignal. It is invoked when watchdog timer and reset are enabled. Then, thefollowing sequence occurs:

1. WDTgenerate time-out signal.

2. SYSCONinvokes reset signals and initialize internal IPs.

3. The resetincluding nRSTOUT will be asserted until the reset counter, RST_STABLE, isexpired.

 

Wakeupreset

Wakeup reset is invoked whenS3C6410 is woken-up from SLEEP by a wakeup event. The details are described inSLEEP mode section.


linux
【内容导航】
第1页:arm7,arm9,arm11区别 第2页:认识S3C6410
第3页:S3C6410存储映射 第4页:S3C6410系统时钟
第5页:S3C6410复位 第6页:S3C6410看门狗源码实例
第7页:PWM实例 第8页:UART实例
第9页:外部中断控制实例 第10页:系统时钟初始化实例
第11页:DRAM控制器初始化实例 第12页:LCD 显示图片
第13页:ad转化实例 第14页:rtc实例
相关资讯       arm  S3C6410 
本文评论   查看全部评论 (1)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款
第 1 楼
* armer 发表于 2012/9/12 0:59:28
不错,学习了。