打印

关于F2812的硬件设计问题

[复制链接]
2350|7
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
lijia199884|  楼主 | 2010-1-21 21:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
碧血黄花| | 2010-1-22 08:37 | 只看该作者
我没有专门查过这个脚,照你的时序,DSP这样做是合理的,防止外围器件电平非正常的情况下,DSP程序已经运行,所以DSP先保持复位几个ms

使用特权

评论回复
板凳
lijia199884|  楼主 | 2010-1-22 20:31 | 只看该作者
谢谢楼上的回答,是正常的。我也测了一下开发板的复位信号,也有这个现象,只要把仿真器接上,这个复位信号就不会出现了。

使用特权

评论回复
地板
lnint_dsp| | 2010-1-29 10:42 | 只看该作者
先关内部看门狗!!
这个文件DSP281x_CodeStartBranch.asm       


;//###########################################################################
;//
;// FILE:  DSP281x_CodeStartBranch.asm       
;//
;// TITLE: Branch for redirecting code execution after boot.
;//
;//###########################################################################
;//
;//  Ver | dd mmm yyyy | Who  | Description of changes
;// =====|=============|======|===============================================
;//  1.00| 11 Sep 03   | L.H. | Updated based on D.A source to allow
;//      |             |      | disabling the watchdog before branching to
;//      |             |      | the C init routine.  This is useful if the
;//      |             |      | watchdog is timing out before main() is reached.
;//###########################################################################        

***********************************************************************

WD_DISABLE        .set        1                ;set to 1 to disable WD, else set to 0

    .ref _c_int00

***********************************************************************
* Function: codestart section
*
* Description: Branch to code starting point
***********************************************************************

    .sect "codestart"

code_start:
    .if WD_DISABLE == 1
        LB wd_disable       ;Branch to watchdog disable code
    .else
        LB _c_int00         ;Branch to start of boot.asm in RTS library
    .endif

;end codestart section

***********************************************************************
* Function: wd_disable
*
* Description: Disables the watchdog timer
***********************************************************************
    .if WD_DISABLE == 1

    .text
wd_disable:
    SETC OBJMODE        ;Set OBJMODE for 28x object code
    EALLOW              ;Enable EALLOW protected register access
    MOVZ DP, #7029h>>6  ;Set data page for WDCR register
    MOV @7029h, #0068h  ;Set WDDIS bit in WDCR to disable WD
    EDIS                ;Disable EALLOW protected register access
    LB _c_int00         ;Branch to start of boot.asm in RTS library

    .endif

;end wd_disable

        .end
       
; end of file CodeStartBranch.asm

使用特权

评论回复
5
lnint_dsp| | 2010-1-29 10:49 | 只看该作者
2812默认的内部看门狗是上电就开放的,所以要么喂狗,要么关掉.要不然4.369ms就复位一次.
你没烧进程序去,当然会这样.

使用特权

评论回复
6
流金岁月| | 2010-3-27 20:44 | 只看该作者
是正常现象,我的没有程序也是这样现象

使用特权

评论回复
7
大秦正声| | 2010-3-28 16:18 | 只看该作者
关掉狗

使用特权

评论回复
8
chenailin1978| | 2010-3-29 10:39 | 只看该作者
仿真器都没接,怎么关狗啊,
这样是正常现象。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

2

帖子

1

粉丝