Unable to upload new Sketches to Dragino LG01-P Gateway

To the experts out there,

I'm unable to upload new Sketches to Dragino LG01-P Gateway.

Have anyone of you encountered this kind of message when uploading a sketch in Dragino LG01-P Gateway?


avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "0xFF"
avrdude: writing lfuse (1 bytes):
avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xFF:
avrdude: load data lfuse data from input file 0xFF:
avrdude: input file 0xFF contains 1 bytes
avrdude: reading on-chip lfuse data:
avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "0xDE"
avrdude: writing hfuse (1 bytes):
avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xDE:
avrdude: load data hfuse data from input file 0xDE:
avrdude: input file 0xDE contains 1 bytes
avrdude: reading on-chip hfuse data:
avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: reading input file "0x05"
avrdude: writing efuse (1 bytes):
avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0x05:
avrdude: load data efuse data from input file 0x05:
avrdude: input file 0x05 contains 1 bytes
avrdude: reading on-chip efuse data:
avrdude: verifying ...
avrdude: 1 bytes of efuse verified
avrdude: reading input file "/tmp/sketch.hex"
avrdude: writing flash (32768 bytes):
avrdude: 32768 bytes of flash written
avrdude: verifying flash memory against /tmp/sketch.hex:
avrdude: load data flash data from input file /tmp/sketch.hex:
avrdude: input file /tmp/sketch.hex contains 32768 bytes
avrdude: reading on-chip flash data:
avrdude: verifying ...
avrdude: 32768 bytes of flash verified

avrdude done. Thank you.


I'm new to this and I don't understand what it is. All I know is that the previous sketch in that gateway is not being replaced by a simple BLINK sketch when I try to upload it.

Please help...

"The upload result you give shows fine.

For the LG01, when you try example, please don't use the default examples from Arduino IDE. We have different pin vs them so this won't work.

please try the example from the dragino directorly . you can also find it from this link: Arduino-Profile-Examples/libraries/Dragino/examples at master · dragino/Arduino-Profile-Examples · GitHub"

According to dragino support.

This problem is solved.