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

YunTu Forum

YTMicro.com
  1. 主页
  2. Discussion & Question
  3. YTM32B1L系列
  4. Memory Address Protection disable

Memory Address Protection disable

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

    Hi, I noticed that in the manual:
    "Write 0 to EFM_PROTn is valid but write 1 to EFM_PROTn will not be effective.
    There are 2 ways to configure EFM_PROTn:
    • Write data to EFM_PROTn registers
    • Program data to 0x10000A04 and 0x10000A08 will set initial values for EFM_PROTn (effective after
    reset)."

    what data should I program to the 0x10000A04 and 0x10000A08 to reset the values for EFM_PROTn? For my case, I need to disable the address protection when need.

    Thank you

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

      Cannot directly assignment by means of pointers dueto in flash array.
      You may use the flash operation, such as FLASH_DRV_EraseSector.

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

        The address of 0x10000A04 is in CUS NVR.
        If it is necessary to restore the default values (Disable the address protection), it is sufficient to erase the CUS NVR (restored to: 0xFFFFFFFF).
        note If there is other data in the CUS NVR before (e.g. flag of Disable JTAG) it is necessary to consider whether the previous data should be reprogrammed.

        image.png

        vonh2V 1 条回复 最后回复
        0
        • vonh2V 离线
          vonh2V 离线
          vonh2
          在 回复了 run 最后由 vonh2 编辑
          #3

          run Thanks for the information,

          Is it enough if I used a pointer to 0x10000A04 and 0x10000A08 and set value for ADDR_PROT0/1?
          ex:
          18455414-2008-4515-bbe0-d0e24b8d57c5-image.png

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

            Cannot directly assignment by means of pointers dueto in flash array.
            You may use the flash operation, such as FLASH_DRV_EraseSector.

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

          • 云途开发生态介绍

            快速上手云途开发生态

          • 云途论坛规则/Yuntu Forum Rules

            发帖前请查看

          • YT CONFIG TOOL调查问卷

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

          • can
            28
            demo
            26
            uds
            14
            lin stack
            13
            fbl
            6
            md14
            6
            yt-link
            6
            adc模块
            4
            Online Users
            • 登录

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