查看: 1878|回复: 2

[求助] KEA64测试问题点

[复制链接]
  • TA的每日心情
    奋斗
    2019-6-9 17:24
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    21

    主题

    65

    帖子

    0

    注册会员

    Rank: 2

    积分
    178
    最后登录
    2019-7-18
    发表于 2014-4-17 15:19:30 | 显示全部楼层 |阅读模式
       MCU--SKEAZN64  CW10.5
    问题1:重新配置看门狗,总是引起MCU复位?(下面是看门狗重新配置代码,刷新的代码)
    /***********************************************************************************************
    *
    * @brief    ReWatchdog - Reconfiguring the Watchdog
    * @param    none
    * @return   none
    *
    ************************************************************************************************/
    void ReWatchdog(void)
    {
            /* Initialize watchdog with ~1-kHz clock source, ~1s time-out */
            WDOG_CNT = 0xc520;
            WDOG_CNT = 0xD928; /* write the 2nd unlock word*/
            WDOG_TOVAL = 0xE803; // setting timeout value
            WDOG_CS2 = 0x01; // setting 1-kHz clock source
            WDOG_CS1 = 0xA3; // Watchdog Enabled, 
                                             // Watchdog interrupts are disabled. Watchdog resets are not delayed, 
                                             // Updates allowed. Software can modify the watchdog configuration registers within 128 bus clocks after performing the unlock write sequence,
                                             // Watchdog test mode disabled,
                                             // Watchdog disabled in chip debug mode,
                                             // Watchdog enabled in chip wait mode,
                                             // Watchdog enabled in chip stop mode.
     
    }
    /***********************************************************************************************
    *
    * @brief    FeedWatchdog - Refresh watchdog
    * @param    none
    * @return   none
    *
    ************************************************************************************************/
    void FeedWatchdog(void)
    {
            DisableInterrupts; /* disable global interrupt*/
            WDOG_CNT = 0xA602; /* write the 1st refresh word*/
            WDOG_CNT = 0xB480; /* write the 2nd refresh word to refresh counter*/
            EnableInterrupts; /* enable global interrupt*/
    }
     
    问题2:用OPENSDA调试时,设置硬件断点不起作用?
    问题3:新建工程时,怎样加载自己定制启动代码?
    问题4:能否提供一段FLANH做EEPROM代码?

     
    我知道答案 目前已有1人回答
    回复

    使用道具 举报

    该用户从未签到

    124

    主题

    3600

    帖子

    0

    金牌会员

    Rank: 6Rank: 6

    积分
    5781
    最后登录
    1970-1-1
    发表于 2014-4-17 16:07:27 | 显示全部楼层

    RE:KEA64测试问题点

    你好,楼主!
    目前KE64产品目前处于样品阶段,所以建议你提交SR,而提交SR的具体流程请参考此链接。
    https://www.nxpic.org.cn/bbs/article_1280_578569.html
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    124

    主题

    3600

    帖子

    0

    金牌会员

    Rank: 6Rank: 6

    积分
    5781
    最后登录
    1970-1-1
    发表于 2014-4-17 16:11:52 | 显示全部楼层

    RE:KEA64测试问题点

    还有一点,楼主以后关于飞思卡尔产品的问题,请在【飞思卡尔FAE线上技术支持】板块中提出。
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /3 下一条

    Archiver|手机版|小黑屋|恩智浦技术社区

    GMT+8, 2025-7-19 09:00 , Processed in 0.087092 second(s), 23 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.

    快速回复 返回顶部 返回列表