Skip to content

Commit

Permalink
Fix issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Wagner authored and Stefan Wagner committed Oct 28, 2023
1 parent c0b7eaf commit 07a32bf
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file modified picoISP_Programmer/software/picoasp/picoasp.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion picoISP_Programmer/software/picoasp/src/isp.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ uint8_t ISP_enterProgrammingMode(void) {
PIN_output(PIN_RESET); // RESET pin to output
ISP_HWSPI = 1; // start with hardware SPI
SPI0_CTRL = 0x60; // enable SPI interface, mode 0
SPI0_CK_SE = 0; // start with fastest speed
SPI0_CK_SE = 3; // start with ~1.5MHz
do {
if(SPI0_CK_SE == 255) { // already at slowest hardware speed?
ISP_HWSPI = 0; // use software SPI now
Expand Down
Binary file modified picoISP_Programmer/software/picoisp/picoisp.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion picoISP_Programmer/software/picoisp/src/usb_isp.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ uint8_t ISP_connect(void) {
PIN_output(PIN_RESET); // RESET pin to output
ISP_HWSPI = 1; // start with hardware SPI
SPI0_CTRL = 0x60; // enable SPI interface, mode 0
SPI0_CK_SE = 0; // start with fastest speed
SPI0_CK_SE = 3; // start with ~1.5MHz
do {
if(SPI0_CK_SE == 255) { // already at slowest hardware speed?
ISP_HWSPI = 0; // use software SPI now
Expand Down
Binary file modified picoISP_Programmer/software/picostk/picostk.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion picoISP_Programmer/software/picostk/src/isp.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ uint8_t ISP_enterProgrammingMode(void) {
PIN_output(PIN_RESET); // RESET pin to output
ISP_HWSPI = 1; // start with hardware SPI
SPI0_CTRL = 0x60; // enable SPI interface, mode 0
SPI0_CK_SE = 0; // start with fastest speed
SPI0_CK_SE = 3; // start with ~1.5MHz
do {
if(SPI0_CK_SE == 255) { // already at slowest hardware speed?
ISP_HWSPI = 0; // use software SPI now
Expand Down

0 comments on commit 07a32bf

Please sign in to comment.