dwire-debug icon indicating copy to clipboard operation
dwire-debug copied to clipboard

Simple stand-alone debugger for AVR DebugWIRE chips connected directly to an FT232R/CH340/DigiSpark/LittleWire on Linux or Windows.

Results 23 dwire-debug issues
Sort by recently updated
recently updated
newest added

Hi! I'm using ATmega48PA + FT232R + diode. `dwdebug f0` founds baud, correctly read signature but stucks at WriteDebug error. After debugging I found that it stucks at `DwGetRegs(first=28,count=4)` that...

I just finished testing dwdebug with a tiny13a running off the internal ~9.6Mhz oscillator. The baud rate was ~72kbps, or a bit time of 13.9uS. Using a 1n4148 diode connected...

Hi, I got my ft232 converter finally.I give it a try but unfortunately I get the following error. I enabled the debug-wire on my device (lfuse:0xE2 hfuse:0x9F) ``` sudo ./dwdebug...

Very nicely done :) I never got around to integrating the protocol with a debugger. It seems like your usb-serial adapter got a pullup builtin because without a 10k pullup...

I have a ATtiny84a. Everything worked until I tried to upload new code via debugwire: ``` Unconnected. > device tty.usbserial-AH06TDUZ Connected to ATtiny84 on /dev/tty.usbserial10 at 30949 baud. fffffffe: ffff...

There used to be a 30ms interval between 2 debugWIRE access. ![screen shot 2018-11-06 at 1 14 11 pm](https://user-images.githubusercontent.com/1385273/48097474-f6da5980-e1e7-11e8-9c46-0f40dbc16996.png) It seems dwReadBytes wait 23ms after receiving the last byte. ![dwreadbytestakes23mstoexit](https://user-images.githubusercontent.com/1385273/48097481-fb9f0d80-e1e7-11e8-8cfc-d96a5db00eb3.png)...

Works fine with ATTiny13A and CP210x. But doesn't work with ATTiny44A, because when tried to connect I got this message: ``` Unconnected. > device com5 WriteDebug, byte 1 of 1:...

This is a report that I successfully run dwire-debug on cheap PL-2303HX USB-UART dongle. Through gdbserver run by dwire-debug, I was able to attach gdb and load/execute(continue) the code on...

https://github.com/dcwbrown/dwire-debug/blob/d6af573913dd030b492ef3ae7d56bfd1f9226b65/src/commands/NonVolatile.c#L141 There is no need for DwSend(Bytes(0x66)) before calling DwSetRegs since DwSetRegs sends the appropriate setup command. Similarly DwSend(Bytes(0x64)) on line 144 is also redundant since the following DwOut call...

Dave, this tool is already very useful. Do you think it's possible there's a way to use debug wire to change fuses? If so, after initially enabling debug wire, it...