Cannot upload the code to Hercules Dual 15A 6-20V Motor Controller

General information

Moderators: lily.li, violet

Post Reply
lidong769019122
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Wed May 08, 2019 7:31 am

Cannot upload the code to Hercules Dual 15A 6-20V Motor Controller

Post by lidong769019122 » Wed May 08, 2019 7:51 am

Hi, everyone! I bought a Hercules Dual 15A 6-20V Motor Controller a few days ago. When I try to upload the code to the board via Arduino, it always shows the following message:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x2e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x2e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x2e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x2e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x2e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x2e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x2e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x2e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x2e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x2e

I am sure that the board type Arduino Duemilanove w/Atmega328 and the port are chosen correctly. I have tried the following different methods, but it still does not work.
1. Try different versions of Arduino;
2. Try different usb cables;

Is there anyone who can help me solve this problem? Thanks!

bill.yu
Elementary-5
Elementary-5
Posts: 597
Joined: Mon Apr 02, 2018 11:05 am

Re: Cannot upload the code to Hercules Dual 15A 6-20V Motor Controller

Post by bill.yu » Wed May 08, 2019 11:22 am

Hi there,

Do you connect the DTR signal to your usb to ttl adapter? thanks.

Image

lidong769019122
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Wed May 08, 2019 7:31 am

Re: Cannot upload the code to Hercules Dual 15A 6-20V Motor Controller

Post by lidong769019122 » Wed May 08, 2019 10:19 pm

Hi,

I connected all the devices as shown in your picture. It still has the same problem. Do you have other suggestions?

Post Reply