- 收藏
- 点赞
- 分享
- 举报
rv1126执行io命令修改寄存器无效
[root@RV1126_RV1109:/]# io
Raw memory i/o utility - $Revision: 1.5 $
io -v -1|2|4 -r|w [-l Examples: Note access size (-1|2|4) does not apply to file based accesses. [root@RV1126_RV1109:/]# io -4 -r -l 4 0xfe010050 通过io命令修改寄存器无效,有人知道怎么回事吗?-v Verbose, asks for confirmation
-1|2|4 Sets memory access size in bytes (default byte)
-l <len> Length in bytes of area to access (defaults to
one access, or whole file length)
-r|w Read from or Write to memory (default read)
-f <file> File to write on memory read, or
to read on memory write
<addr> The memory address to access
<val> The value to write (implies -w)
io 0x1000 Reads one byte from 0x1000
io 0x1000 0x12 Writes 0x12 to location 0x1000
io -2 -l 8 0x1000 Reads 8 words from 0x1000
io -r -f dmp -l 100 200 Reads 100 bytes from addr 200 to file
io -w -f img 0x10000 Writes the whole of file to memory
fe010050: 00001177
[root@RV1126_RV1109:/]#
[root@RV1126_RV1109:/]# io -4 -w -l 4 0xfe010050 0x333333
[root@RV1126_RV1109:/]#
[root@RV1126_RV1109:/]# io -4 -r -l 4 0xfe010050
fe010050: 00001177
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
-
2020-06-18 09:58:52
-
2020-02-29 18:15:07
-
2020-11-22 14:56:40
-
2017-09-25 16:59:41
-
2018-12-07 16:28:15
-
2017-05-08 10:11:53
-
2020-12-02 13:02:27
-
2025-07-02 11:04:08
-
82018-09-29 10:14:23
-
2023-08-07 15:49:08
-
42015-10-21 11:12:48
-
2021-04-07 14:58:24
-
2018-08-09 15:18:15
-
2018-08-16 09:16:11
-
2020-03-24 11:08:09
-
2020-06-15 19:57:17
-
2020-11-13 14:14:20
-
2021-09-13 19:15:47
-
2017-07-30 16:09:00
-
5hisi3516cv610 + gc4336p 夜晚很模糊
-
5AIISP(功能演示,SC4336P为BGGR,强制转RGGB,会导致颜色异常)
-
5rv1106使用luckfox的SDK,设备树和驱动都写好了,结果设备文件没有生成
-
5海思3516cv610中如何进行SD卡升级,根据官方文档操作,烧录进板子时,走的默认uboot,没有执行uboot升级。
-
5G610Q-IPC-38E 夜晚很暗 有什么办法解决吗 已经补光了
-
10转换模型时,SoC版本里没显示hi3516cv610芯片
-
5hisi3516cv610 使用 yolov8n 模型训练 要如何提高 这里识别的是人
-
10有人在海思平台接过SC035HGS吗
-
5关于hi3519dv500,以SD卡虚拟 U 盘操作
-
5ss928 sample_venc代码移植到openEuler24.03上执行报错 [sample_comm_vi_start_dev]-1068: vi set dev attr failed wi
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明

微信扫码分享
QQ好友
这个寄存器31:16是write_enable,想写低16位的哪一位就要把write_enable对应位置1。按照你想写入的0x333333,高十六位的0x33表示只有1:0和5:4被允许写入,原本寄存器已经是0x00001177,1:0和5:4已经是你想写入的0x3了,所以看起来没有用