-
Notifications
You must be signed in to change notification settings - Fork 312
Esp usb jtag Cable support #540
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- copy dirtyjtag to esp_usb_jtag, it compiles - copy protocol definiton, defines and private data/struct from openocd esp_usb_jtag.c - ulx3s_esp board with esp32s3 cable - esp_usb_jtag specify usb vid:pid in jtag.cpp - hardcode usb interface and endpoints - getting caps - set chip id (not applicable for fpga) - tms write done, untested - cleanup and toggle clk - 32bit counting - setting divisor (todo read base freq) - div range within 1-255 - base speed from descriptor - fix doc typo with swapped tms/tdi some cleanup but it doesn't work.
- esp_usb_jtag: added xfer method to handle/simplify libusb_bulk_transfer calls - src/esp_usb_jtag.cpp: simplify some operations - src/esp_usb_jtag.cpp: writeTDI: fixed rx buffer index, added a basic code to handle end transaction - src/esp_usb_jtag.cpp: writeTMS: store and uses _tdi & _tms - src/esp_usb_jtag.cpp: toggleClock: re-uses _tdi/_tms - src/esp_usb_jtag.cpp: writeTDI: ditto - esp_usb_jtag: fixed verbosity level/be more quiet - esp_usb_jtag: fixed writeTDI with end and tms transition: now integrated instead of distinct sequence. Fixed TDI value with tms transition. Working with ECP5 - esp_usb_jtag: added optional parameter to lower timeout error (useful when it's time to flush the device) - esp_usb_jtag: fixed writeTDI when tx is NULL
Contributor
Owner
Author
|
@emard I have added a note in source code to point to your repository. It's fine to you? Can I merge? |
Contributor
|
yes very fine! I'm happy it will merge
…On Sun, Apr 20, 2025 at 12:49 PM Gwenhael Goavec-Merou < ***@***.***> wrote:
@emard <https://github.com/emard> I have added a note in source code to
point to your repository.
It's fine to you? Can I merge?
—
Reply to this email directly, view it on GitHub
<#540 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4K2R6IWJOSSVJLQBS25ST22N3TBAVCNFSM6AAAAAB3MNIX26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJXGEYTCNZYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
*trabucayre* left a comment (trabucayre/openFPGALoader#540)
<#540 (comment)>
@emard <https://github.com/emard> I have added a note in source code to
point to your repository.
It's fine to you? Can I merge?
—
Reply to this email directly, view it on GitHub
<#540 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4K2R6IWJOSSVJLQBS25ST22N3TBAVCNFSM6AAAAAB3MNIX26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJXGEYTCNZYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Owner
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
see #501
cc: @emard @edanuff
Ref: https://github.com/emard/esp32s3-jtag
Note: may requires a documentation page to explain howto prepare an ESP32.