Skip to content

Commit

Permalink
anlogicCable: added pinout + link
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Feb 23, 2025
1 parent 4b008a0 commit a8d5247
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/anlogicCable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ using namespace std;

#define ANLOGICCABLE_FREQ_CMD 0x01

/* Pinout:
* PA0 - JTAG TDO
* PA1 - JTAG TMS
* PA2 - JTAG TDI
* PA3 - JTAG TCK
* ref: https://github.com/AnlogicInfo/anlogic-usbjtag
/
enum analogicCablePin {
ANLOGICCABLE_TCK_PIN = (1 << 2),
ANLOGICCABLE_TDI_PIN = (1 << 1),
Expand Down

3 comments on commit a8d5247

@whitequark
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 36 should say */. This broke the build.

@trabucayre
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed: fixed by c6e5ec9
Thanks and sorry, typo just before push :-/

@whitequark
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, downstream CI in openfpgaloader-web failed so I decided to investigate.

Please sign in to comment.