Notifications
Clear all

PlatformIO's download mode

 

 hdzx
(@hdzx)
New Member
Joined: 3 years ago
Posts: 4
Topic starter  

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.


   
Quote
dchaver
(@dchaver)
Member Admin
Joined: 3 years ago
Posts: 81
 

@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)
Active Member Guest
Joined: 3 years ago
Posts: 6
 

@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 3 years ago by hdzx

   
ReplyQuote
dchaver
(@dchaver)
Member Admin
Joined: 3 years ago
Posts: 81
 

@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