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

YunTu Forum

YTMicro.com
  1. 主页
  2. Discussion & Question
  3. YTM32B1M系列
  4. YTM32B1MD14 - MPU Configuration for CorTst

YTM32B1MD14 - MPU Configuration for CorTst

已定时 已固定 已锁定 已移动 YTM32B1M系列
2 帖子 2 发布者 59 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • nguyan2N 离线
    nguyan2N 离线
    nguyan2
    编写于 最后由 编辑
    #1

    Hello everyone,

    I’m configuring the MPU following SafLib_User_Manual v1.1. I defined two memory sections, cortst_ram_data_target0 and cortst_ram_data_target1, and placed them both in the SRAM_U region for CorTst. I set the MPU policy to MPU_M33_PRIV_RWX_UNPRIV_NONE for these regions, but the MPU test always fails.

    Below is my configuration code. Is there any problem with my MPU setup or the chosen policy?
    0ce27a49-eed4-457b-b2c5-d339dbec87a9-image.png
    Thanks in advance for any hints!

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

      These two sections cannot be placed in the same MPU region. Specifically:

      • .cortst_ram_data_target0 should be placed in MPU_M33_PRIV_RWX_UNPRIV_RWX
      • .cortst_ram_data_target1 should be placed in MPU_M33_PRIV_RW_UNPRIV_NONE

      For more information, refer to CorTst_Demo. In the demo, the corresponding sections and their locations are as follows:

      cdad0734-1b40-401c-a535-080746140f3a-image.png

      eb69771a-637d-44c8-8648-be3662a64b1d-image.png

      a0a520ff-226f-4746-848e-2bee31033565-image.png

      1 条回复 最后回复
      0

    • 云途开发生态介绍

      快速上手云途开发生态

    • 云途论坛规则/Yuntu Forum Rules

      发帖前请查看

    • YT CONFIG TOOL调查问卷

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

    • can
      19
      demo
      19
      uds
      11
      lin stack
      9
      fbl
      5
      yt-link
      5
      adc模块
      4
      md14
      4
      Online Users
      jin_yiJ
      jin_yi
      EkkoE
      Ekko
      yysqY
      yysq
      • 登录

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