Mam problem z programatorem px-4000 dołączonym do zestawu MicroCamp 2.0 firmy Inex.
Pod linuksem programator rozpoznawany jest jako ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC.
Nie wiem co jest przyczyną, ale kiedy próbuje wrzucić jakikolwiek program dostaję informację w stylu not sync, timeout lub inny error.
Próbowałem użyć avrdude 5.10 z patchem ftdi bitbang, jedyną różnicą jest to że przy próbie wgrywania dioda przez chwilę mruga , ale nie zapala się na czerwono jak powinna.
Błedy avrdude 5.10 z ftdi bitbang patch:
Wypis z dmesg:
lsusb -vvv -d 0403:6001
Dokumenty dołączone do programator i zestawu.
MicroCamp
Programator
Pod linuksem programator rozpoznawany jest jako ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC.
Nie wiem co jest przyczyną, ale kiedy próbuje wrzucić jakikolwiek program dostaję informację w stylu not sync, timeout lub inny error.
Próbowałem użyć avrdude 5.10 z patchem ftdi bitbang, jedyną różnicą jest to że przy próbie wgrywania dioda przez chwilę mruga , ale nie zapala się na czerwono jak powinna.
Błedy avrdude 5.10 z ftdi bitbang patch:
sudo ./avrdude -b 57600 -p m8 -c ftdi -v -F -C avrdude.conf -P /dev/ttyUSB0
avrdude: Version 5.10, compiled on Dec 13 2010 at 18:31:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyUSB0
Using Programmer : ftdi
Overriding Baud Rate : 57600
avrdude: BitBang OK
avrdude: pin assign miso 1 sck 3 mosi 0 reset 4
avrdude: drain OK
AVR Part : ATMEGA8
Chip Erase delay : 10000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 4 20 128 0 no 512 4 0 9000 9000 0xff 0xff
flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00
lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : ft245r
Description : SparkFun FTDI Basic Breakout
ft245r: bitclk 230400 -> ft baud 115200
avrdude: ft245r_program_enable: failed
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07
avrdude done. Thank you.sudo ./avrdude -b 57600 -p m8 -c avrisp -v -F -C avrdude.conf -P /dev/ttyUSB0
avrdude: Version 5.10, compiled on Dec 13 2010 at 18:31:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyUSB0
Using Programmer : avrisp
Overriding Baud Rate : 57600
avrdude: stk500_getsync(): not in sync: resp=0xb7
avrdude done. Thank you.Wypis z dmesg:
usb 5-1: new full speed USB device using uhci_hcd and address 6 ftdi_sio 5-1:1.0: FTDI USB Serial Device converter detected usb 5-1: Detected FT232RL usb 5-1: Number of endpoints 2 usb 5-1: Endpoint 1 MaxPacketSize 64 usb 5-1: Endpoint 2 MaxPacketSize 64 usb 5-1: Setting MaxPacketSize 64 usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0lsusb -vvv -d 0403:6001
Bus 005 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0x6001 FT232 USB-Serial (UART) IC
bcdDevice 6.00
iManufacturer 1 FTDI
iProduct 2 FT232R USB UART
iSerial 3 A800eBr1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 90mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 FT232R USB UART
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
Dokumenty dołączone do programator i zestawu.
MicroCamp
Programator