-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some benchmarks table #87
Comments
What kind of target should use for the benchmark?
|
Target: another stm32f103 bluepill board. This discussion about performances was raised by some openocd maintainers, that would be good to have some numbers. |
Since you said, that dirtyjtag does not try to be fast, it is just dirty and works, is performance still an issue here? If yes, i could imagine reading a flash rom, as a proper benchmark. I intend to use dirtyjtag as a proprammer with flashrom. I have two boards bluepill, and one board raspberry pico. |
According to pico-serprog: A blue pill should be faster. |
Hi @KnorkFox, To give you the context, I started DirtyJTAG with the "I just want it to work, no matter how slow it will be" mindset, hence the "dirty" in DirtyJTAG. The project has since received significant contributions from @phdussud (and other contributiors IIRC) which have greatly improved performance (JTAG bitbang -> faster JTAG bitbang -> SPI whenever possible). While I'm not concerned about performance issues, it is still useful for users to be able to assess the performance of a JTAG adapter. When iterating on FPGA projects you don't want to spend 5 minutes on each bitstream flash. I haven't got the opportunity to find the motivation to work on this project, which is why this issue is still open, but I'd love to see someone tackling this issue! |
Me too. As you might have guessed, this is way beyond my possibilitys. We have to wait for someone else. |
To make progress, we need to pinpoint to a real scenario with a documented process: |
Speaking about speed limits. For my usage, 12 Mb per second would be enogh to read or write a memory chip occationally. I dont really need super high speed. |
I think you get close to this if you use OpenFPGALoader to write the memory. I don't know about other tools. It turns out that the sequence of DirtyJtag instructions is important to get good performance. |
Add some benchmarks table, comparing the speed with other dongles.
With a versaloon stm32 and openocd, flashing a file can take a minute, while it takes 1s with an FT2232H.
The text was updated successfully, but these errors were encountered: