stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
428 stars 347 forks source link

avrdude: stk500_recv(): programmer is not responding #43

Closed OlexandrStepanov closed 6 years ago

OlexandrStepanov commented 6 years ago

Hello,

I have Freematics V4 device, with BLE and SIM5360E on board. I have managed to upload sketches on it before.

I didn't upload on it for a while (~1 month), and there were several updates on my Mac:

I can't upload Sketches to the board anymore. The error I see in Arduino IDE is next:

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/Users/xxx/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf"
         User configuration file is "/Users/xxx/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.SLAB_USBtoUART
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
....

I have already tried to update USB driver from the latest version from here. Updated all boards and libraries in the Arduino itself.

When I try to Burn bootloader, it says next:

avrdude: Error: Could not find USBtiny device (0x2341/0x49)

Any help is appreciated.

stanleyhuangyc commented 6 years ago

The MCU is atmega328p instead of attiny.

OlexandrStepanov commented 6 years ago

@stanleyhuangyc, Sorry, I didn't get your point. What I'm doing wrong, could you elaborate on this, please?

OlexandrStepanov commented 6 years ago

@stanleyhuangyc, Do you mean I have to use another Arduino Uno to burn bootloader on this Freematics One device? If so, I have found a lot of tutorials in internet, but arduino devices are quite different there, and I'm not sure which tutorial to follow. Could you suggest one, please?

OlexandrStepanov commented 6 years ago

Question was raised on the forum as well: https://freematics.com/forum/viewtopic.php?f=11&t=2693