FoRUmS

PlatformIO's download mode  

 

hdzx
 hdzx
(@hdzx)
New Member
Joined: 2 months ago
Posts: 1
14/12/2020 1:35 am  

I use the RVfpga platform to realize my project. Now I use the unused OpenOCD and download the program into my soft core through the load_image command. Now the compilation is normal, but the download is wrong.Where should I make changes? thanks.


ReplyQuote
dchaver
(@dchaver)
New Member
Joined: 2 months ago
Posts: 2
14/12/2020 10:07 am  

@hdzx

Hi,

Could you please elaborate a bit more on your question? It would be useful to know the specific example that you are trying to run and the instructions that you are following, and also to see the output that you obtain.

Thanks

Dani


ReplyQuote
hdzx
 hdzx
(@hdzx)
Guest
Joined: 1 month ago
Posts: 6
16/12/2020 2:10 am  

@dchaver

好的,我的问题是我现在使用platformio去适配另一个RISCV-SoC,参考RVfpga这个项目,使用的是相同的开发板,使用的是openocd去下载程序,该核是通过load_image命令去下载软件示例,通过开发板上的pmod接口连接的cmsis-dap仿真器进行下载程序,我现在已经把我的SDK添加到了platformio中了,想通过RVfpga项目一样去编译和下载我的软件示例,我现在下载失败,我需要在platformio中做哪些修改、需要搞清楚它的下载原理?谢谢!

Well, my problem is I now use platformio to fit another RISCV - SoC, reference RVfpga this project, using the same development board, use openocd to download the program, the nucleus is through load_image command to download software example, through the development board pmod interface to connect the cmsis- dap simulators to download program , I now add my SDK platformio, through RVfpga project as example to compile and download my software,I failed to download it now. What changes do I need to make in Platformio and how does it download?Thank you very much!

 

This post was modified 1 month ago by hdzx

ReplyQuote
dchaver
(@dchaver)
New Member
Joined: 2 months ago
Posts: 2
17/12/2020 11:33 am  

@hdzx

Hi,

- If you follow the exact instructions provided at Section 6 (PlatformIO) or Appendix A (command-line in Ubuntu) of the GSG, the examples should work. If you're doing things differently, these instructions may help you understand how to resolve your problems.
- Could you provide some more information, such as screenshots of the output obtained, more details on the example that you're doing and the precise instructions that you're following...?
- Something I do not understand is why you are using the "cmsis- dap simulators to download program".
- I could have a video call with you to see what you're doing and try to help you online.
 
Regards
Dani

ReplyQuote