Skip to content

Commit

Permalink
testprobe
Browse files Browse the repository at this point in the history
  • Loading branch information
felias-fogg committed Sep 18, 2023
1 parent bbaf18d commit 7c75dca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pcb/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The current design of the *dw-link probe* is more ambitious, but far from an ind
* reasonable loads on the SPI lines, e.g., an LED and a 1 kΩ series resistor (but no stronger resistor),
* no capactive load on the RESET line of the target,
* no loads higher than a 10 kΩ resistance on the RESET line,
* minimum target MCU clock frequency of 16 kHz.
* minimum target MCU clock frequency of 4 kHz.

If these constraints are met, the dw-link probe should work. Otherwise, one might encounter strange behavior and/or error messages.

Expand Down
4 changes: 3 additions & 1 deletion testprobe/testprobe.ino
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ void setup()
Serial.println(F("\nTesting dw-link-probe " VERSION));
pinMode(SYSLED, OUTPUT);
pinMode(TMISO, OUTPUT);
// initially switch the two SPI lines to GND in order to discharge any stry capacitance
// initially switch the two SPI lines and the RESET line to GND in order to discharge any stray capacitance
pinMode(TARMOSI, OUTPUT);
pinMode(TARSCK, OUTPUT);
pinMode(DWLINE, OUTPUT);
delay(100);
pinMode(DWLINE, INPUT);
pinMode(TARMOSI,INPUT);
pinMode(TARSCK,INPUT);
printHelp();
Expand Down

0 comments on commit 7c75dca

Please sign in to comment.