查看: 2605|回复: 3

[其他] 低功耗设计-怎么让调试器在低功耗下也不断开连接

[复制链接]

该用户从未签到

9

主题

41

帖子

0

注册会员

Rank: 2

积分
83
最后登录
1970-1-1
发表于 2015-12-14 16:38:53 | 显示全部楼层 |阅读模式
目前写的低功耗程序,只能烧录进芯片后,断开调试器,再上电直接运行,无法进行仿真。

根据飞思卡尔的一个文档:“To prevent
the debugger from losing connection, and therefore, possibly asserting a reset, the Nexus Development Interface (NDI)
module contains features to maintain a debugger connection. Debuggers may or may not implement this feature.
The controls to maintain the debugger connection are in the Port Configuration Register (PCR) of the Nexus Development
Interface module. These registers are not memory-mapped, and are accessible only through the debugger. Appropriate
debugger scripts must be used to configure these settings.”

文档的建议是通过调试器脚本来设置NDI模块的PCR寄存器。我的疑问是,怎么写这个脚本呢?有没有哪位仁兄有这个经验?
我知道答案 目前已有3人回答
回复

使用道具 举报

  • TA的每日心情
    奋斗
    昨天 21:34
  • 签到天数: 2454 天

    连续签到: 10 天

    [LV.Master]伴坛终老

    17

    主题

    5363

    帖子

    5

    金牌会员

    Rank: 6Rank: 6

    积分
    11302
    最后登录
    2025-7-22
    发表于 2015-12-14 20:23:41 | 显示全部楼层
    不懂,先看看。。。
    该会员没有填写今日想说内容.
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2024-1-6 07:38
  • 签到天数: 736 天

    连续签到: 1 天

    [LV.9]以坛为家II

    21

    主题

    3486

    帖子

    6

    金牌会员

    Rank: 6Rank: 6

    积分
    5093
    最后登录
    2024-1-7
    发表于 2015-12-15 08:20:50 | 显示全部楼层
    不懂,帮顶一下
    该会员没有填写今日想说内容.
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    9

    主题

    642

    帖子

    0

    高级会员

    Rank: 4

    积分
    748
    最后登录
    1970-1-1
    发表于 2015-12-15 09:12:59 | 显示全部楼层
    路过 顶一下
    logo.png
    回复 支持 反对

    使用道具 举报

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

    本版积分规则

    关闭

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

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

    GMT+8, 2025-7-23 10:03 , Processed in 0.095932 second(s), 26 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.

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