Skip to content

Commit

Permalink
AsProgrammer dregmod v3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
therealdreg committed May 8, 2024
1 parent 195fcb0 commit e72efe9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ http://dangerousprototypes.com/forum/index.php?topic=10698.0

**WARNING**: USE SHORT HIGH-QUALITY USB CABLE

**WARNING**: Some firmwares have a bug in the binary SPI mode (like the latest community firmware). To make it work, you should select the checkbox: Buzzpirat Menu -> Fix SPI Firmware Bug.
**WARNING**: Some firmwares have a bug in the binary SPI mode (like the latest community firmware). To make it work, you should select the checkbox: Buzzpirat Menu -> Fix SPI Firmware Bug. Note that if you activate this option, a firmware that does not have the bug will not function properly! Activate it only if you are experiencing issues.

![spibugcheck](assets/spibugcheck.png)

Expand Down Expand Up @@ -246,6 +246,7 @@ in your DLL code to initiate debugging from the desired point
# Credits

- nofeletru for ASprogrammer: https://github.com/nofeletru/UsbAsp-flash
- Ian Lesnet (Bus Pirate Creator): https://buspirate.com/

# Related

Expand Down
Binary file modified software/buzzpirathlp.dll
Binary file not shown.
7 changes: 6 additions & 1 deletion software/buzzpirathlp/buzzpirathlp/buzzpirathlp.c
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,11 @@ BUZZPIRATHLP_API unsigned int __stdcall bhl_asprog_spi_init(

spibug_enabled = spibug;

if (spibug_enabled)
{
fprintf(LOG_FILE, "\nWARNING: spibug_enabled dont works with a fixed firmware!\n");
}

end_fast = 0;

last_status = 0x69;
Expand Down Expand Up @@ -920,7 +925,7 @@ BUZZPIRATHLP_API unsigned int __stdcall bhl_asprog_spi_init(
}

config = BHL_SPI_CONF_DEFAULTS | BHL_SPI_CONF_CKE_ACT_TO_IDLE;
if (set_out_3v3)
if (set_out_3v3 && !pullups)
{
config |= BHL_SPI_CONF_OUT_3V3;
}
Expand Down
4 changes: 2 additions & 2 deletions software/main.lfm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object MainForm: TMainForm
Top = 209
Width = 853
ActiveControl = RadioSPI
Caption = 'AsProgrammer dregmod v3.13 - Stop all current operations: keep pressing ESC key - Launch Console: keep pressing F1 key'
Caption = 'AsProgrammer dregmod v3.15 - Stop all current operations: keep pressing ESC key - Launch Console: keep pressing F1 key'
ClientHeight = 541
ClientWidth = 853
Constraints.MinHeight = 300
Expand Down Expand Up @@ -699,7 +699,7 @@ object MainForm: TMainForm
Width = 853
Align = alBottom
Lines.Strings = (
'AsProgrammer dregmod v3.13'
'AsProgrammer dregmod v3.15'
'https://github.com/therealdreg/asprogrammer-dregmod'
'[email protected]'
)
Expand Down

0 comments on commit e72efe9

Please sign in to comment.