-
Notifications
You must be signed in to change notification settings - Fork 54
ECU tool firmware update
Very important note:
It is extremely recomended that you test that you are able to upload sketches to your brand new arduino mini pro before proceding to final assembly inside the ECU tool. I myself have found cases where the bootloader installed was not working properly, and it was impossible to upload sketches to it. This needs to be done only once, before you upload your first sketch to the tool.
I recommend reinstalling the mini pro bootloader before even starting assembly of the tool. Instructions on how to do it can be found here.
If you have the HW V3, then the board has a specific header for FW updating that you can use (PROG) straight away with the same layout as the Mini-Pro programming header. You just need an FTDI cable for it, or to use another Arduino as a programmer.
But if you have HW V1 or V2, then keep reading!
Updating the firmware on your ECU tool is really easy, it can be done via the RJ-45 connector!
First thing to do is to make the programming cable.
Have in mind that you will need to supply 12VDC to 15VDC (150mA minimum) to the tool, so you can either use an external regulated power supply, or use a charger/adapter that you are no longer using and will supply the required voltage.
A simple usb to serial converter is used for this. It can be FTDI, PL2303, or even an arduino board (for which you will need to remove the mcu in the arduino board in order to work).
Then once you have downloaded the project you wish to upload/update and made sure you have installed the required libraries, you are ready for the last step.
Leave the ECU tool unpluged from the RJ-45 cable, and click on the "upload" button. Now, when arduino shows "Uploading..." on the bottom, quickly plug in the RJ-45 cable, and the tool will light up, but nothing will appear on the lcd, which means it is actually updating the firmware (unless it is the first time you upload the firmware, on which case nothing will show up either).
Once the upload is finished, the tool will self reset and it will power on showing messages on the LCD.