Comments (1)
Please have a look to the "config.script" file, you can change the FT2232 pin assignation and configuration :
Here is the current default configuration :
`
//
// Probe internal mapping
//
// Olimex ARM-USB-OCD-H JTAG signals example
//
// VREF – voltage follower input for the output buffers adjust
// JTAG signals as per your target board voltage levels
//
// The TCK/TDI/TDO/TMS signals are fixed to these pins
// ADBUS0 -> TCK; (out)
// ADBUS1 -> TDI; (out)
// ADBUS2 -> TDO; (in)
// ADBUS3 -> TMS; (out)
// ADBUS4 -> 0 to enable JTAG buffers; (GPIOL0) (out)
// ADBUS5 -> 0 if target present; (GPIOL1) (in)
// ADBUS6 -> TSRST in; (GPIOL2) (in)
// ADBUS7 -> RTCK; (in) (GPIOL3) (in)
// ACBUS0 -> TRST; (GPIOH0)
// ACBUS1 -> SRST; (GPIOH1)
// ACBUS2 -> TRST buffer enable (GPIOH2)
// ACBUS3 -> RED LED; (GPIOH3)
//
// Set the internal GPIO direction (0 -> input, 1 -> output)
//
set PROBE_FTDI_SET_PIN_DIR_ADBUS0 1 // TCK -> out
set PROBE_FTDI_SET_PIN_DIR_ADBUS1 1 // TDI -> out
set PROBE_FTDI_SET_PIN_DIR_ADBUS2 0 // TDO -> in
set PROBE_FTDI_SET_PIN_DIR_ADBUS3 1 // TMS -> out
set PROBE_FTDI_SET_PIN_DIR_ADBUS4 1 // Buffers enable -> out
set PROBE_FTDI_SET_PIN_DIR_ADBUS5 0 // Target presence : 0 if target present -> in
set PROBE_FTDI_SET_PIN_DIR_ADBUS6 0 // TSRST -> in
set PROBE_FTDI_SET_PIN_DIR_ADBUS7 0 // RTCK -> in
set PROBE_FTDI_SET_PIN_DIR_ACBUS0 1 // TRST -> out
set PROBE_FTDI_SET_PIN_DIR_ACBUS1 1 // SRST -> out
set PROBE_FTDI_SET_PIN_DIR_ACBUS2 1 // TRST buffer enable -> out
set PROBE_FTDI_SET_PIN_DIR_ACBUS3 1 // RED LED -> out
//
// Set the internal GPIOs output state
//
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ADBUS0 0
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ADBUS1 0
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ADBUS2 0
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ADBUS3 1
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ADBUS4 0 // JTAG buffer enable (active low)
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ADBUS5 0
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ADBUS6 0
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ADBUS7 0
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ACBUS0 0 // TRST
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ACBUS1 0 // SRST
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ACBUS2 0 // TRST buffer enable
set PROBE_FTDI_SET_PIN_DEFAULT_STATE_ACBUS3 0 // RED LED
//
// Set the internal GPIOs polarity
// 0 : Active High.
// 1 : Active Low.
//
set PROBE_FTDI_SET_PIN_POLARITY_ADBUS0 0
set PROBE_FTDI_SET_PIN_POLARITY_ADBUS1 0
set PROBE_FTDI_SET_PIN_POLARITY_ADBUS2 0
set PROBE_FTDI_SET_PIN_POLARITY_ADBUS3 0
set PROBE_FTDI_SET_PIN_POLARITY_ADBUS4 0
set PROBE_FTDI_SET_PIN_POLARITY_ADBUS5 0
set PROBE_FTDI_SET_PIN_POLARITY_ADBUS6 0
set PROBE_FTDI_SET_PIN_POLARITY_ADBUS7 0
set PROBE_FTDI_SET_PIN_POLARITY_ACBUS0 1 // TRST is active-low
set PROBE_FTDI_SET_PIN_POLARITY_ACBUS1 0
set PROBE_FTDI_SET_PIN_POLARITY_ACBUS2 0
set PROBE_FTDI_SET_PIN_POLARITY_ACBUS3 0
//
// Assign the TRST / SRST control pins
// 0<>7 : ADBUS
// 8<>11 : ACBUS
// Set to -1 when not available/used.
//
set PROBE_FTDI_SET_TRST_OE_PINNUM 10
set PROBE_FTDI_SET_TRST_STATE_PINNUM 8
set PROBE_FTDI_SET_SRST_OE_PINNUM -1
set PROBE_FTDI_SET_SRST_STATE_PINNUM -1
set PROBE_FTDI_SET_CONNECTION_LED_PINNUM 11
set PROBE_FTDI_JTAG_TRST_DELAY_MS 200
`
from jtag-boundary-scanner.
Related Issues (17)
- Please help addrinfo not found. HOT 2
- Guide on the serial bus emulation tool
- BSDL parsing bug HOT 3
- Another BSDL parsing error HOT 5
- Connecting a chain to the software HOT 1
- BSDL file crashes HOT 3
- User manual? HOT 1
- Cannot find JLink device HOT 7
- FT4232H Support? HOT 1
- How to use tool? HOT 1
- unable to connect to device HOT 3
- No output from Execute script HOT 8
- Python3 interface for library HOT 2
- Unable to parse external symbol setOutputFunc HOT 4
- Works with Digilent HS2 probe? HOT 1
- Log level understanding
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 jtag-boundary-scanner.