Re: avrdude

2016-04-11 Thread Edgar Pettijohn
I remembered I have a sub to serial cable I always have to reboot with it
plugged in to work. Did that with the programmer and all is well.

Thanks,

Edgar

Sent from my iPhone

On Apr 11, 2016, at 4:58 AM, Mihai Popescu <mih...@gmail.com> wrote:

>> Is anyone using avrdude with usbasp programmer?  I can't seem to get things
going.
>
> I was using it long time ago, but I remember I set up the programmer
> in a configuration file.
>
> Post your dmesg with usbasp device plugged in, just to verify it it
> properly recognized.



Re: avrdude

2016-04-11 Thread Mihai Popescu
> Is anyone using avrdude with usbasp programmer?  I can't seem to get things 
> going.

I was using it long time ago, but I remember I set up the programmer
in a configuration file.

Post your dmesg with usbasp device plugged in, just to verify it it
properly recognized.



avrdude

2016-04-10 Thread Edgar Pettijohn
Is anyone using avrdude with usbasp programmer?  I can't seem to get 
things going.  Keep getting the following:


$ avrdude -c usbasp -p m128

avrdude: Warning: cannot query manufacturer for device: Input/output error
avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc

avrdude done. Thank you.

I've tried adding -P /dev/XXX where XXX is every device that seems 
possible to work


Thanks in advance.

Edgar



kernel panic avrdude, usb related?

2013-11-10 Thread Byron Klippert
Hello,


Fresh install of 5.4, pkg_add avr, avrdragon programmer plugged in via
usb, invoked `sudo avrdude -c dragon_isp -p attiny4313 -P usb` causes
the machine to panic.

Tried different avrdragon programmers same thing.

Tried bsd.sp and bsd.mp same thing.


Perhaps unrelated but my /etc/motd seems to be missing the last two
characters .\n Didn't consciously change that from installation
default.


Can't pull ps output at this time, will try a -current and see if
problem exists there.


avrdude version 5.11


panic: ehci_device_clear_toggle: queue active
Stopped at Debugger+0x5; leave


trace output handtyped:

Debugger() at Debugger+0x5
panic() at panic+0xe4
ehci_device_clear_toggle() at ehci_device_clear_toggle+0x27
usbd_clear_endpoint_stall() at usbd_clear_endpoint_stall+0x19
usbd_bulk_transfer() at usbd_bulk_transfer+0xe2
ugen_do_read() at ugen_do_read+0x384
ugenread() at ugenread+0x44
spec_read() at spec_read+0x2a8
VOP_READ() at VOP_READ+0x32
vn_read() at vn_read+0xa1
dofilereadv() at dofilereadv+0x18a
sys_read() at sys_read+0x8f
syscall() at syscall+0x249
--- syscall (number 3) ---
end of kernel
end trace frame: 0x86a643339b8, count: -13
0x86a63c74a1a:


dmesg:

OpenBSD 5.4 (GENERIC.MP) #41: Tue Jul 30 15:30:02 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8254582784 (7872MB)
avail mem = 8027119616 (7655MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (70 entries)
bios0: vendor LENOVO version G2ET82WW (2.02 ) date 09/11/2012
bios0: LENOVO 2306CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT
FPDT ASF! UEFI UEFI POAT SSDT SSDT UEFI DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3)
EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 1197.49 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 1197.29 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 1197.28 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 1197.29 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 4 (EXP3)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpicpu2 at acpi0: C3, C2, C1, PSS
acpicpu3 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 103 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 45N1029 serial  4430 type LION oem LGC
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 1197 MHz: speeds: 2801, 2800, 2700, 2600, 2500,
2300, 2200, 2100, 2000, 1900, 1800, 1700, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 4000 rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size

Re: kernel panic avrdude, usb related?

2013-11-10 Thread Byron Klippert
Same problem exits on Nov 7 snapshot.

On Sat, Nov 9, 2013, at 23:57, Byron Klippert wrote:
 Hello,
 
 
 Fresh install of 5.4, pkg_add avr, avrdragon programmer plugged in via
 usb, invoked `sudo avrdude -c dragon_isp -p attiny4313 -P usb` causes
 the machine to panic.
 
 Tried different avrdragon programmers same thing.
 
 Tried bsd.sp and bsd.mp same thing.
 
 
 Perhaps unrelated but my /etc/motd seems to be missing the last two
 characters .\n Didn't consciously change that from installation
 default.
 
 
 Can't pull ps output at this time, will try a -current and see if
 problem exists there.
 
 
 avrdude version 5.11
 
 
 panic: ehci_device_clear_toggle: queue active
 Stopped at Debugger+0x5; leave
 
 
 trace output handtyped:
 
 Debugger() at Debugger+0x5
 panic() at panic+0xe4
 ehci_device_clear_toggle() at ehci_device_clear_toggle+0x27
 usbd_clear_endpoint_stall() at usbd_clear_endpoint_stall+0x19
 usbd_bulk_transfer() at usbd_bulk_transfer+0xe2
 ugen_do_read() at ugen_do_read+0x384
 ugenread() at ugenread+0x44
 spec_read() at spec_read+0x2a8
 VOP_READ() at VOP_READ+0x32
 vn_read() at vn_read+0xa1
 dofilereadv() at dofilereadv+0x18a
 sys_read() at sys_read+0x8f
 syscall() at syscall+0x249
 --- syscall (number 3) ---
 end of kernel
 end trace frame: 0x86a643339b8, count: -13
 0x86a63c74a1a:
 
 
 dmesg:
 
 OpenBSD 5.4 (GENERIC.MP) #41: Tue Jul 30 15:30:02 MDT 2013
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 8254582784 (7872MB)
 avail mem = 8027119616 (7655MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (70 entries)
 bios0: vendor LENOVO version G2ET82WW (2.02 ) date 09/11/2012
 bios0: LENOVO 2306CTO
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT
 FPDT ASF! UEFI UEFI POAT SSDT SSDT UEFI DBG2
 acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3)
 EHC1(S3) EHC2(S3) HDEF(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 1197.49 MHz
 cpu0:
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 cpu0: apic clock running at 99MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 1197.29 MHz
 cpu1:
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu1: smt 1, core 0, package 0
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 1197.28 MHz
 cpu2:
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu2: smt 0, core 1, package 0
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 1197.29 MHz
 cpu3:
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 1, core 1, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiec0 at acpi0
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PEG_)
 acpiprt2 at acpi0: bus 2 (EXP1)
 acpiprt3 at acpi0: bus 3 (EXP2)
 acpiprt4 at acpi0: bus 4 (EXP3)
 acpicpu0 at acpi0: C3, C2, C1, PSS
 acpicpu1 at acpi0: C3, C2, C1, PSS
 acpicpu2 at acpi0: C3, C2, C1, PSS
 acpicpu3 at acpi0: C3, C2, C1, PSS
 acpipwrres0 at acpi0: PUBS
 acpitz0 at acpi0: critical temperature is 103 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 45N1029 serial  4430 type LION oem LGC
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit offline
 acpithinkpad0 at acpi0
 acpidock0 at acpi0: GDCK not docked (0)
 cpu0: Enhanced SpeedStep 1197 MHz: speeds: 2801, 2800, 2700, 2600, 2500,
 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1500, 1400, 1300, 1200 MHz

Re: avrdude

2011-09-23 Thread Seth Wright
On Wed, Sep 21, 2011 at 4:24 PM, Fosforo fosf...@gmail.com wrote:

 dont know if applies, if not, sorry. but i am using arduino, post here:


 http://insanenetworks.blogspot.com/2011/09/openbsd-49-and-arduino-duemilanove.html


Oh my, that article links to the instructions I wrote on arduino.cc almost
two years ago when I had a few days off during a big snowstorm in central
VA.  Someone with more knowledge of Arduinos (and OpenBSD!) should really
update that!  At least one place in the article tells you to download a file
from my now-defunct personal subversion server...

Of course, maybe updating documentation is a good-enough reason to dust
off my Arduino board and start playing again...

--
Seth



avrdude

2011-09-21 Thread igor denisov
Hello there,

Some day I bought a programmer, circuit diagram attached, but I do not
know what *duino to use to start it. When I issue a command of

#avrdude -b9200 -P /dev/cuaU0 -c arduino -p m16 -t

there is no response for a long time then I just do

ctrl c

May someone help?
Thank you.

Regards,
Igor

[demime 1.01d removed an attachment of type image/gif which had a name of 
pinb11sx.gif]



avrdude

2011-09-21 Thread igor denisov
Hello there,

Some day I bought a programmer, circuit diagram is at
http://www.eho.st/pg4b5wg9+, but I do not
know what *duino to use to start it. When I issue a command of

#avrdude -b9200 -P /dev/cuaU0 -c arduino -p m16 -t

there is no response for a long time then I just do

ctrl c

May someone help?
Thank you.

Regards,



Re: avrdude

2011-09-21 Thread Fosforo
dont know if applies, if not, sorry. but i am using arduino, post here:

http://insanenetworks.blogspot.com/2011/09/openbsd-49-and-arduino-duemilanove.html
-
Bcz sex is like hacking.. you get in, you get out, and you
hope you didn't leave something behind that can be traced
back to you..
-
http://insanenetworks.blogspot.com
-




On 21 September 2011 10:10, igor denisov saufe...@gmail.com wrote:
 Hello there,

 Some day I bought a programmer, circuit diagram is at
 http://www.eho.st/pg4b5wg9+, but I do not
 know what *duino to use to start it. When I issue a command of

 #avrdude -b9200 -P /dev/cuaU0 -c arduino -p m16 -t

 there is no response for a long time then I just do

 ctrl c

 May someone help?
 Thank you.

 Regards,