19 Star 80 Fork 34

半斗米 / RV-LINK

 / 详情

flash速度还是慢

已完成
创建于  
2021-01-08 16:21

这是riscv的速度(gdb输出):
Start address 0x0800015c, load size 31438
Transfer rate: 3 KB/sec, 849 bytes/write.

相较之下使用swd的f103可以达到8 KB/sec。是SOC的flash慢,还是JTAG的速度慢?差了近三倍,挺影响体验的。

评论 (5)

mxmxlwlw 创建了任务
mxmxlwlw 关联仓库设置为半斗米/RV-LINK
展开全部操作日志

Hi,
I am working on my own fork, and I do see other results. I did not change the JTAG interface handling (yet) and is based on GPIO. I reach the following speeds:

Loading section .init, size 0x236 lma 0x8000000
Loading section .text, size 0x3522 lma 0x8000240
Loading section .sdata2._global_impure_ptr, size 0x4 lma 0x8003764
Loading section .data, size 0x70 lma 0x8003768
Start address 0x800015c, load size 14284
Transfer rate: 12 KB/sec, 840 bytes/write.

@Micha Hoiting Where did you optimize compared with this resp?

Hi,
Here is my fork https://gitee.com/michahoiting/rv-link for my own project.
You can try it out, but I did not do any thing on optimization.
Maybe I can help to find out why your speed is only 3KB/sec?

I tested it again, it's totally ok now. Thank you!

mxmxlwlw 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
8526875 michahoiting 1609701767
C
1
https://gitee.com/zoomdy/RV-LINK.git
git@gitee.com:zoomdy/RV-LINK.git
zoomdy
RV-LINK
RV-LINK

搜索帮助

53164aa7 5694891 3bd8fe86 5694891