[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] Avrdude using libusb/libftdi for Nano stops on flashing
From: |
Anton Smirnov |
Subject: |
[avrdude-dev] Avrdude using libusb/libftdi for Nano stops on flashing |
Date: |
Tue, 3 Sep 2013 18:43:54 +0600 |
Hello.
I'm modifying avrdude to use libusb/libftdi and it starts flashing and stops
on uploading (sending data bytes). All previous requests (get version, set
address) were done, the boards responds (bootloader), but i have no
response on sending data bytes command:
09-03 18:25:06.943: WARN/System.err(10129): [55] [00] [00] [20]
09-03 18:25:06.953: WARN/System.err(10129): ftdi read (1 bytes): [14]
09-03 18:25:06.953: WARN/System.err(10129): ftdi read (1 bytes): [10]
// sending sketch data bytes
09-03 18:25:06.953: WARN/System.err(10129): [64] [00] [80] [46] [0c] [94]
[34] [00] [0c] [94] [46] [00] [0c] [94] [46] [00] [0c] [94] [46] [00] [0c]
[94] [46] [00] [0c] [94] [46] [00] [0c] [94] [46] [00] [0c] [94] [46] [00]
[0c] [94] [46] [00] [0c] [94] [46] [00] [0c] [94] [46] [00] [0c] [94] [46]
[00] [0c] [94] [46] [00] [0c] [94] [46] [00] [0c] [94] [46] [00] [0c] [94]
[46] [00] [0c] [94] [57] [00] [0c] [94] [46] [00] [0c] [94] [46] [00] [0c]
[94] [46] [00] [0c] [94] [46] [00] [0c] [94] [46] [00] [0c] [94] [46] [00]
[0c] [94] [46] [00] [0c] [94] [46] [00] [0c] [94] [46] [00] [11] [24] [1f]
[be] [cf] [ef] [d8] [e0] [de] [bf] [cd] [bf] [11] [e0] [a0] [e0] [b1] [e0]
[01] [c0] [1d] [92] [a9] [30] [20]
09-03 18:25:06.973: WARN/System.err(10129): ftdi_read_data :
libusb_bulk_transfer returned 0 (actual_length = 2)
Avrdude invokes ftdi_read_data() to read data from the board. 2 bytes are
just ignored in libftdi and they seems to be status bytes so ACK response
is expected to be received but no data received.
So uploading interrupts:
09-03 18:25:06.973: WARN/System.err(10129): [ 09-03 18:25:06.973
10129:12440 W/System.err ]
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14,
resp=0x00
Can anyone help me? Can this be bitbang mode not set problem or smth?
Regards, Anton.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] Avrdude using libusb/libftdi for Nano stops on flashing,
Anton Smirnov <=