跳转至内容
  • 版块
  • 最新
  • 标签
  • 热门
折叠
品牌标识

YunTu Forum

YTMicro.com
  1. 主页
  2. Discussion & Question
  3. YTM32B1L系列
  4. How to check Stack pointer error?

How to check Stack pointer error?

已定时 已固定 已锁定 已移动 已解决 YTM32B1L系列
lin%20stack
4 帖子 2 发布者 3.0k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • dangho3D 离线
    dangho3D 离线
    dangho3
    写于 最后由 编辑
    #1

    I have project with testing the stack pointer in 2 cases (Overflow and Underflow). When tested with Overflow and Underflow errors, I have injected errors, and they always lead to hardfault interrupt. Do you have any register show formation about these errors or specific interrupt when Overflow and Underflow happened?

    1 条回复 最后回复
    0
    • majorM 离线
      majorM 离线
      major YunTu
      写于 最后由 编辑
      #4

      These information are in CORE->SCB, however not much information will be recorded in Cortex M0

      1 条回复 最后回复
      0
      • majorM 离线
        majorM 离线
        major YunTu
        写于 最后由 编辑
        #2

        Hi,Cortex M0+ core not support SP limit function, if stack overflow, if return address changed, core will generate hardfault. Only core registers will record the hardfault information.

        1 条回复 最后回复
        0
        • dangho3D 离线
          dangho3D 离线
          dangho3
          写于 最后由 编辑
          #3

          Can you show me which core registers will record the hardfault information.

          1 条回复 最后回复
          0
          • majorM 离线
            majorM 离线
            major YunTu
            写于 最后由 编辑
            #4

            These information are in CORE->SCB, however not much information will be recorded in Cortex M0

            1 条回复 最后回复
            0
            • FrankieF Frankie 将这个主题转为问答主题,在
            • FrankieF Frankie 将这个主题标记为已解决,在

          • 云途开发生态介绍

            快速上手云途开发生态

          • 云途论坛规则/Yuntu Forum Rules

            发帖前请查看

          • YT CONFIG TOOL调查问卷

            帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...

          • can
            31
            demo
            26
            uds
            17
            lin stack
            13
            fbl
            6
            md14
            6
            yt-link
            6
            adc模块
            4
            Online Users
            KANGK
            KANG
            YQHY
            YQH
            远东牧场远
            远东牧场
            hjtH
            hjt
            carpeC
            carpe
            ZunZhangZ
            ZunZhang
            车友车行车
            车友车行
            yangkeY
            yangke
            FreyF
            Frey
            limanjiangL
            limanjiang
            占金占
            占金
            oneiotworldO
            四海万联
            zxx123Z
            zxx123
            wangyc123456W
            wangyc123456
            李富贵李
            李富贵
            • 登录

            • 登录或注册以进行搜索。
            • 第一个帖子
              最后一个帖子
            0
            • 版块
            • 最新
            • 标签
            • 热门