Cant flash firmware into Creality 1.1.5 mainboard


I got and ender 3 pro that shipped with the creality mainboard 1.1.4 with marlin, since the stepper motors were loud i bought the creality mainboard 1.1.5 that camed with the marlin 1.1.8.
I wanted the mesh bed leveling so i instaled arduino 1.8.13 IDE, downloaded the marlin and flashed the firmware.
Everything working fine but the fan cooling the mainboard did not start when the stepper motors started, so i tryed to make them on by changing this configuration_adv.h line on the firmware:

//#define CONTROLLER_FAN_PIN -1 // Set a custom pin for the controller fan
#define CONTROLLERFAN_SECS 60 // Duration in seconds for the fan to run after all motors are disabled
#define CONTROLLERFAN_SPEED 255 // 255 == full speed

I took out the // from the first and third line.

Since then when i turn on my printer i get a blue screen and i cant upload firmware anymore, the message i get is this:

Arduino: 1.8.13 (Mac OS X), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"

Sketch uses 121618 bytes (93%) of program storage space. Maximum is 130048 bytes.
Global variables use 4619 bytes (28%) of dynamic memory, leaving 11765 bytes for local variables. Maximum is 16384 bytes.
/Applications/ -C/Applications/ -v -patmega1284p -carduino -P/dev/cu.wchusbserial1420 -b115200 -D -Uflash:w:/var/folders/94/vny22g4d3mzbphj2_d_vbgdm0000gn/T/arduino_build_600339/Marlin.ino.hex:i

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean,
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/Applications/"
User configuration file is "/Users/ruipatricio/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/cu.wchusbserial1420
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x65
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x63
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x68
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6f
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x3a
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x53
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x44
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x69

avrdude done. Thank you.

Problem uploading to board. See for suggestions.

So i downloaded the marlin 1.1.8 stock firmware for the 1.1.5 mainboard from creality :

Ender-3 ProMarlin1.1.8EnglishTMC22081284PBootloader.hex

I did this so i can revert all the changes but i cant seem to flash automatically with the SD card.
I placed this file in the SD card root and when i boot the printer i keep on getting a blue screen.

How can i fix this?