Page 1 of 1

Arduino Bootloader Error

Posted: Thu Dec 04, 2014 5:28 am
by JB69
Hello Freematics Team,

i bought one Freematics OBD-II Adapter with an Arduino Uno inside. I tried to programm the OBD-II Adapter with the Firmware V2, but i failed every time. These are the different steps i did, to download the Software to the OBD-Adapter:

1. Download every Sketch from the Server https://github.com/stanleyhuangyc/Freematics -> The one i am using is the Firmware_V2
2. Starting the Arduino Sofware 1.5.8
3. Opening the file: Firmware_V2->Datalogger->Datalogger.ino
4. Connecting an Arduino Uno with USB to my Laptop
5. Flashing the datalogger Sketch to the Arduino uno
5.1 Selecting: Tools - Board - Arduino Uno
5.2 Selecting: Tools - Port - Selecting my Port at the Laptop where i connected the Arduino Uno
5.3 Selecting: Tools - Programmer - ArduinoISP
5.4 Upload the Sketch to the Arduino Board
6. Connecting the Arduino Uno to the Freematics OBD-Adapter
6.1 I am using the special wire i buyed from you - i am putting this one in the SPI Port at the OBD-Adapter
6.2 Then i am wiring it to the Arduino Uno ICSP Pins - like it is described there http://blog.freematics.com/2014/freemat ... ing-guide/
6.3 Then i am wiring the Reset Pin to the Arduino D10 Pin - like it is described there http://blog.freematics.com/2014/freemat ... ing-guide/
7. Upload the Bootloader
7.1 Selecting: Tools - Board - Arduino Uno
7.2 Selecting: Tools - Programmer - Arduino as ISP
7.3 Selecting: Burn Bootloader
8. It needs about 10 seconds, then i am recieving an Error:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf6
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf6
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf6
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xfe
Failed to burn Bootloader

I tried this configuration with one sketch from the Arduino Example Library (ArduinoISP). There was no problem uploading it to my Arduino One, after that i burned the Bootloader without any Problem to the OBD-Adapter. Because of that, i am sure that the wiring is right. Can you help me to find the error ?

Best regards

Re: Arduino Bootloader Error

Posted: Sat Dec 06, 2014 1:36 pm
by stanley
Actually Arduino bootloader is not used for uploading in this device.