Page 1 of 1

Programming Nano DCCduino

Posted: Sat Mar 14, 2020 9:52 pm
by goudard
Hello Freematics,
I just received your kit Nano+Screen+OBD2 cable, great !
I installed the libraries in Arduino software environement.
And then I tried to load the NanoLogger program into the board.
Unfortunately I get the following error:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41

I tried many workaround to solve this but no one worked. I am using mac os x Mojave.
Can you help me to solve that tricky issue?
If you need further detail please do not hesitate to ask.
Thanks you in advance,
Regards,
Olivier

Re: Programming Nano DCCduino

Posted: Thu Aug 06, 2020 8:18 am
by kw560sl
This error means the IDE cannot communicate with the board.
I set these configs, which worked for my Mac High Sierra install:

Board = Arduino Nano
Processor = ATmega328P (Old Bootloader)
Port = /dev/cu.usbserial-1410

Also, I found I had to disconnect the OBD adapter and the screen before programming would work, as there is only one serial interface on the Nano.

If you don't see /dev/cu.Xxx as port selection, you may need to install 3rd party Serial USB driver.
https://www.mac-usb-serial.com/
https://www.instructables.com/id/Arduino-Nano-CH340/

NOTE: The drivers were already installed on my High Sierra install so I have no tested the above serial drivers. Use at your own risk.