Comments (13)
@Disasm @elfmimi is this covered with the work done on FTDI? Or is there any other movement here? :)
from probe-rs.
The GD32VF103 is a RISC-V based chip, not an ARM chip, so we need to use JTAG for the connection.
from probe-rs.
Is this issue solved? What I want to say here is, ...
Why not open another issue to track support for GD32V ?
from probe-rs.
Thanks for your reply. If no one is working on it, then I'll happily do it. I can't estimate how long it will take though. I'll get back here when I get something ready to show you.
from probe-rs.
@elfmimi what is the progress on this? :) I think @Disasm expressed interest in this too. I'll go ahead and mark this as an oxidize impl days issue. Maybe you folks make sure to coordinate :)
from probe-rs.
Hi! Not much progress. I was playing around with GD32V bootloader.
Here is my progress on that side, if you are interested.
riscv-mcu/gd32-dfu-utils#5
As for probe-rs, I could proceed to the point ram_download example completes successfully.
The difficult part is that, I mentioned this before, that GD32V has two entities in its jtag chain.
So it is required to come up with acceptable modification to the existing framework which I suppose unlikely to end up small. I'm kept back here.
If Disasm-san or anyone is to get this done, I won't be pissed at all. No worry there.
from probe-rs.
To support GD32V flashing we need three things:
- JTAG support for CMSIS-DAP. This one needs (preferably common for different probe types) a JTAG machinery that exists only for FTDI right now. Unfortunately, I still didn't find time to implement this.
- GD32V debug support. I checked GD32V debugging through FTDI and it didn't work well, apparently due to the GD32V<->FE310 debug module differences.
- GD32V flash algorithm
from probe-rs.
@Disasm Could you try debugging the GD32V again? I recently fixed a small issue (see #423), and it should work better now.
from probe-rs.
Is this still an issue or could you fix this by using JTag as a protocol @luojia65 :)
from probe-rs.
This is not implemented yet, we don't support raw JTAG for RISC-V using CMSIS-DAP.
from probe-rs.
Oh I am sorry, I completely forgot that JTag is not supported on CMSIS-DAP yet.
from probe-rs.
Thew problem here is that JTag is not implemented for CMSIS-DAP. If you want to put in the effort, please feel free to do that, I would gladly accept a PR. But it's so rarely used I don't see fit to put my time into it :)
from probe-rs.
@Tiwalun I tried running cli with cargo run --features ftdi debug --chip riscv
, but no success: https://pastebin.com/90bYeuQq
This Target supports 0 breakpoints
looks suspicious, because I believe this chip does support breakpoints.
from probe-rs.
Related Issues (20)
- Latest git: reset not supported by WinUSB. HOT 5
- windows, cmsisdap: incorrect "Probe was not found" error if wrong driver bound with zadig. HOT 5
- Don't assume test logic reset when performing jtag scanning HOT 2
- Ability to add/modify parts of binary being downloaded HOT 1
- STM32G431KBT erase fails HOT 2
- is `probe-rs list` supposed to take 83 seconds? HOT 4
- Confusing `probe_type` on `ProbeFactory` HOT 2
- NXP MCU-Link Probe was not found HOT 2
- `rtthost` nRF52840 Multiple control blocks found in target memory.
- STLink V2 do not work with Raspberry Pi Pico (PR2040) HOT 5
- `probe-rs info` failed show info on Armv8-M
- RPi Debug Probe: "Failed to open the debug probe." HOT 1
- Add the ability to reattach to a target that lost debug connection
- `--probe` renamed to `--probe-selector` HOT 1
- `dap-server` default register `restricted_read` value block viewing register value on STM32H5
- Panic handler not capturing all stack frames HOT 8
- ESP32 Pros3 using EspJtag HOT 3
- ESP-WROVER-KIT - Stepping into / Stepping Over code errors HOT 4
- Temporarily attaching to cores in low-level interface HOT 3
- nrf52840-dongle core is locked, -> erase -> connection unsuccessful/lack permission erase_all HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from probe-rs.