-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wsl flash, serial work with confluence docs * working debug * fixup * works on linux * works again on windows * flash and debug ftdi works on windows
- Loading branch information
Showing
4 changed files
with
121 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
adapter driver ftdi | ||
ftdi vid_pid 0x0403 0x6010 | ||
ftdi_vid_pid 0x0403 0x6010 | ||
|
||
# Initial state: Assuming 0x0008 doesn't interfere with your setup | ||
# and 0x000b sets the required initial states for your other signals. | ||
ftdi layout_init 0x0008 0x000b | ||
ftdi_layout_init 0x0008 0x000b | ||
|
||
ftdi layout_signal LED_Tx -data 0x00F0 -oe 0x00F0 | ||
ftdi layout_signal LED_Rx -data 0x00F0 -oe 0x00F0 | ||
ftdi_layout_signal LED_Tx -data 0x00F0 -oe 0x00F0 | ||
ftdi_layout_signal LED_Rx -data 0x00F0 -oe 0x00F0 | ||
|
||
# Configure GPIOL0 (ADBUS4) as nSRST, assuming active low reset | ||
# Setting `-data` for active low, `-oe` to enable output. | ||
# If tri-state isn't supported, this configures the pin as push-pull. | ||
ftdi layout_signal nSRST -data 0x0010 -oe 0x0010 | ||
ftdi_layout_signal nSRST -data 0x0010 -oe 0x0010 | ||
|
||
transport select jtag | ||
transport select jtag |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$_TARGETNAME configure -event gdb-detach { | ||
reset run | ||
shutdown | ||
} | ||
|
||
init | ||
reset halt |