Need help to compile

Hello

Im pulling my hair out, i cant compile this sketch, can someone please compile and send me hex so i can upload it to arduino uno please

ecu flasher.zip (192 KB)

(deleted)

You will likely get more help if you follow the forum guidelines on posting code and error messages as shown in the "how to use this forum" stickies.

I get so many compile errors if no one wants to compile for me that ok but can you at least tell me if a have all the libraries to be able to compile this

can you at least tell me if a have all the libraries to be able to compile this

Seeing the full error messages would help

Do any of them include "no such file or folder", for instance ?

ECU_Flasher_UNO_EDC15.ino:31:26: fatal error: Wire_400khz.h: No such file or directory
compilation terminated.

EDC16_Demo_Desktop.ino:79:1: error: ‘SdFat’ does not name a type
EDC16_Demo_Desktop.ino:80:1: error: ‘Sd2Card’ does not name a type
EDC16_Demo_Desktop.ino:81:1: error: ‘SdVolume’ does not name a type
EDC16_Demo_Desktop.ino:83:1: error: ‘SdFile’ does not name a type
EDC16_Demo_Desktop.ino:84:1: error: ‘SdFile’ does not name a type
EDC16_Demo_Desktop.ino: In function ‘void setup()’:
EDC16_Demo_Desktop.ino:191:8: error: ‘SD’ was not declared in this scope
EDC16_Demo_Desktop.ino:191:33: error: ‘SPI_HALF_SPEED’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void readext()’:
EDC16_Demo_Desktop.ino:323:9: error: ‘SD’ was not declared in this scope
EDC16_Demo_Desktop.ino:323:34: error: ‘SPI_HALF_SPEED’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void DisplayInfo()’:
EDC16_Demo_Desktop.ino:351:10: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino:358:13: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino:363:12: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino:372:10: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void EDC16WriteBlock(char*, byte, byte, byte)’:
EDC16_Demo_Desktop.ino:481:7: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino:481:29: error: ‘O_READ’ was not declared in this scope
EDC16_Demo_Desktop.ino:496:2: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void FinishWrite(byte, byte)’:
EDC16_Demo_Desktop.ino:512:9: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void WriteEDC16FlashBlock(byte, char*, byte)’:
EDC16_Demo_Desktop.ino:637:5: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘boolean CheckErase()’:
EDC16_Demo_Desktop.ino:676:9: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino:681:9: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void ReadEDC16Flash(byte)’:
EDC16_Demo_Desktop.ino:723:11: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino:723:38: error: ‘O_READ’ was not declared in this scope
EDC16_Demo_Desktop.ino:728:10: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino:728:37: error: ‘O_CREAT’ was not declared in this scope
EDC16_Demo_Desktop.ino:728:47: error: ‘O_WRITE’ was not declared in this scope
EDC16_Demo_Desktop.ino:762:3: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void EDC16ReadString()’:
EDC16_Demo_Desktop.ino:808:3: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘boolean Set124kSpeed()’:
EDC16_Demo_Desktop.ino:904:3: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘boolean Set250kSpeed()’:
EDC16_Demo_Desktop.ino:920:3: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void PrepareFile()’:
EDC16_Demo_Desktop.ino:930:8: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino:930:35: error: ‘O_READ’ was not declared in this scope
EDC16_Demo_Desktop.ino:933:7: error: ‘myFile2’ was not declared in this scope
EDC16_Demo_Desktop.ino:933:35: error: ‘O_READ’ was not declared in this scope
EDC16_Demo_Desktop.ino:938:7: error: ‘myFile2’ was not declared in this scope
EDC16_Demo_Desktop.ino:938:35: error: ‘O_READ’ was not declared in this scope
EDC16_Demo_Desktop.ino:944:3: error: ‘myFile2’ was not declared in this scope
EDC16_Demo_Desktop.ino:944:31: error: ‘O_CREAT’ was not declared in this scope
EDC16_Demo_Desktop.ino:944:41: error: ‘O_WRITE’ was not declared in this scope
EDC16_Demo_Desktop.ino:952:3: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘word Encrypt(long int, long int)’:
EDC16_Demo_Desktop.ino:965:3: error: ‘myFile’ was not declared in this scope
EDC16_Demo_Desktop.ino:1075:9: error: ‘myFile2’ was not declared in this scope
EDC16_Demo_Desktop.ino:1086:3: error: ‘myFile2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘boolean Bitbang()’:
EDC16_Demo_Desktop.ino:1308:3: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘boolean ShortBurst()’:
EDC16_Demo_Desktop.ino:1355:26: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino:1360:7: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void serial_rx_on_()’:
EDC16_Demo_Desktop.ino:1398:3: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void serial_rx_off()’:
EDC16_Demo_Desktop.ino:1403:3: error: ‘UCSR2B’ was not declared in this scope
In file included from /usr/lib/avr/include/avr/io.h:99:0,
from /usr/lib/avr/include/avr/pgmspace.h:88,
from /usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:8,
from EDC16_Demo_Desktop.ino:60:
EDC16_Demo_Desktop.ino:1403:19: error: ‘RXEN2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void serial_tx_off()’:
EDC16_Demo_Desktop.ino:1408:4: error: ‘UCSR2B’ was not declared in this scope
In file included from /usr/lib/avr/include/avr/io.h:99:0,
from /usr/lib/avr/include/avr/pgmspace.h:88,
from /usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:8,
from EDC16_Demo_Desktop.ino:60:
EDC16_Demo_Desktop.ino:1408:20: error: ‘TXEN2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void iso_read_byte()’:
EDC16_Demo_Desktop.ino:1421:33: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino:1434:9: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void iso_write_byte(byte)’:
EDC16_Demo_Desktop.ino:1442:3: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino: In function ‘void ReadString()’:
EDC16_Demo_Desktop.ino:1566:9: error: ‘Serial2’ was not declared in this scope
EDC16_Demo_Desktop.ino:1569:9: error: ‘Serial2’ was not declared in this scope

(deleted)

For what board are you(we) expecting to be compiling ?

EDC16_Demo_Desktop.ino:1421:33: error: 'Serial2' was not declared in this scope
EDC16_Demo_Desktop.ino:1434:9: error: 'Serial2' was not declared in this scope

That typically means you are trying to compile an Arduino MEGA 2560 sketch for an Arduino UNO. Check your Tools->Board selection.

George_lopes:
EDC16_Demo_Desktop.ino:79:1: error: ‘SdFat’ does not name a type

That is a completely different sketch from the ones in the .zip file you attached. What are you doing? Pick one sketch and keep working at that one sketch until you get it to compile. You're just adding lots of unnecessary confusion to this process.