Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

ino upload error #282

@eduardogama

Description

@eduardogama

I'm working with a raspberry Pi 3 Model B to upload the ino code using an XBee library. The blink example code performs the upload operations correctly, but when I try to upload the XBee code the following error appears:

root@futebol-rp1:/home/pi/Desktop/sketchbook/sensor-rof-delay# ino upload -m uno -p /dev/ttyUSB0

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file ".build/uno/firmware.hex"
avrdude: writing flash (9060 bytes):

Writing | ################################################## | 100% 2.64s

avrdude: 9060 bytes of flash written
avrdude: verifying flash memory against .build/uno/firmware.hex:
avrdude: load data flash data from input file .build/uno/firmware.hex:
avrdude: input file .build/uno/firmware.hex contains 9060 bytes
avrdude: reading on-chip flash data:

Reading | ###############                                    | 29% 0.90s
avrdude: stk500_paged_load(): (a) protocol error, expect=0x14, resp=0xe0
Reading | ###############                                    | 30% 5.59s
avrdude: stk500_cmd(): programmer is out of sync
avr_read(): error reading address 0x0000
    read operation not supported for memory "flash"
avrdude: failed to read all of flash memory, rc=-2

avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_cmd(): programmer is out of sync
avrdude: safemode: Sorry, reading back fuses was unreliable. I have given up and exited programming mode
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xe0

avrdude done.  Thank you.

Sometimes, the upload performs correctly but it isn't a usual behavior.

thanks already,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions