- This topic has 5 replies, 2 voices, and was last updated 1 month, 2 weeks ago by Danny Radius.
2019-10-09 at 22:50 #3553Danny RadiusGuest
I have problems on upload the sketch 2019 v3_005_05. The errors are :
1. invalid conversion from ‘const char*’ to ‘char'[-fpermissive]
2. avrdude:stk500_recv():programmer is not responding avrdude:stk500_getsync():not in sync:resp=0xa9
1. Arduino nano v3.0 atmega328p ch340g
2. Arduino 1.8.5
3. Windows 8.1
How to solve those problems?
Thank you in advance
Danny2019-10-11 at 04:33 #3559MartynKeymaster
you may have an issue with the type of quote character used. Here is a comment from Gordon Gilfether who had the same problem.
Tried uploading the sketch to my Arduino Nano and kept getting the following error message a number of times (warning: invalid conversion from ‘const char’ to ‘char’ [-fpermissive]**).
As I couldn’t get the sketch to upload I ran the compiler tool and got the same errors which also seemed to refer to process NewData. So after trying to research and understand what the errors referred to I went into the processNewData tab on the sketch and noticed that all the references to – receivedChars  = “” – the zero had double quotes. I changed these to single quotes i.e.- receivedChars  ”- ran the complier which came back with no errors and then uploaded to Arduino Nano without errors.
I have been unable to recreated the problem on any of my computers but enough people have reported it to show it is an issue. Here is an unofficial update with all the double quotes changed to single quotes. It compiles and uploads fine but I have not tested it on an actual dropController device yet (I am not at home).
Please let me know if it works.2019-10-12 at 05:50 #3573Danny RadiusGuest
Thanks Martyn for the unofficial update. I will download it and test it later. Because i’m still at work. I will inform the result here
Danny2019-10-14 at 04:50 #3578Danny RadiusGuest
I already try to upload the unofficial update. And it can be upload to my chinese clone arduino nano v3.0 atmega328p ch340g without error. For information to solve the 2nd problem (avrdude:stk500_recv():programmer is not responding avrdude:stk500_getsync() attempt 1 of 10:not in sync:resp=0xa9) I face before, I change the board option on the arduino ide 1.8.5 to ardunino uno before uploading the sketch. Now I have to finish the circuit before I try it to the complete circuit of dropcontroller v3. I will inform the result later
Danny2019-10-20 at 05:21 #3627MartynKeymaster
It sounds like the Nano has the old bootloader.2019-10-21 at 12:52 #3654Danny RadiusGuest
Yes. That’s right Martyn. I already test the unofficial update on the dropcontroller v3. And it works. Thank you so much Martyn for that update.