1 (edited by modfreakz 2022-12-22 14:49:45)

Topic: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Today I would like to share my other windows program to make your life easier.
Thanks to "cgrillo" for his help and source snips, which helped to finish this project.


This program will allow you to edit EEPROM parameters and/or generate valid data for DaVinci series.
Output files can be saved as binary or text file. Updates will be available over the program and on this forum.
There might be few bugs or mistakes, let me know to fix them. Optimizations or suggestions are welcome.


Compatible Models:

- daVinci 1.0
- daVinci 1.0A
- da Vinci 2.0A
- da Vinci Duo 2.0
- daVinci AiO (1.0)
- da Vinci Pro
- da Vinci 1.1 Plus



Download Link to EEPROM_Edit_Tool v1.78  https://my.hidrive.com/share/eo8f39xpz9


As usual, small hardware is needed to program the EEPROM (Microchip 11AA010 UNI/O Serial EEPROM), here is an example:


http://soliforum.com/i/?NvA7Nyo.png



Program naked/new Arduino Nano v3:
- first install the drivers (CH34x or FTDI)
- connect the Arduino Nano v3 to PC with USB cable
- open the software "EEPROM_Edit_Tool.exe"
- open the Recovery/Factory programming menu by holdung [Ctrl] key and mouse click to connect button
- select the COM port of your Arduino Nano
- press the Update button, new firmware will be flashed (no mater of new/old bootloader)




Some screenshots of the tool:

http://soliforum.com/i/?Yq4qWVb.png

http://soliforum.com/i/?ebuSOU2.png

http://soliforum.com/i/?QARZJgI.png

http://soliforum.com/i/?dItDilT.png



Use the EEPROM Resetter/Reader with PC:
- first install the drivers (CH34x or FTDI)
- connect the "EEPROM Reader" to PC with USB cable
- open the software "EEPROM_Edit_Tool.exe" and press to connect button
- press generate button to create parameters and/or modify like you wish
- connect the cartridge with "EEPROM Reader"
- press write button to write the parameters to the cartridge chip


Use the EEPROM Resetter/Reader as standalone:
- connect the "EEPROM Reader" to powersupply or battery
- press the button one time (short), to wake up device
- connect the cartridge with "EEPROM Reader"
- press the button short again, LED will flash twice and turn off
- Remove the "EEPROM Reader" out of the cartridge and install it in your 3D printer

This way will refill your Filament length to 240m, increase the serial number by one and keep your Filament type as it is.
The favorite settings can be changed with this tool too.



Here are some pics how the final EEPROM Resetter/Reader could look like:

http://soliforum.com/i/?FgtaLZU.png   http://soliforum.com/i/?NOe4ULL.png

http://soliforum.com/i/?8HlBaP0.png   http://soliforum.com/i/?AMKjkQw.png

http://soliforum.com/i/?DqJIFuZ.png   http://soliforum.com/i/?dTVQ76Y.png

Post's attachments

EEPROM_Edit_Tool_v1.78.zip 4.15 mb, 16 downloads since 2022-12-22 

You don't have the permssions to download the attachments of this post.

2

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Cool! Good job!

3

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Thanks for making this. The screenshots look cool but unfortunately, I can't get it to load onto my Nano. The upload starts but the screen just shows ">> Please wait <<" and nothing happens. The TX and L LED flash until I press Upload then they stop for a second the RX LED blinks once and then the flashing starts again. If I pull the Nano it shows upload successful but after reconnecting the resetter can't be found. Any ideas? Can the firmware be loaded via the Arduino SDK?

4

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

You have to update your bootloader to new version.

Of course I can make update program to work with old bootloader.

5

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Thanks for the feedback. I just tried to update it but the SDK just troughs an error. Since I don't have a known good one I can't copy from one to another. If it's not too much trouble, could you update the program? Otherwise, I'll need to look for a nano with a new bootloader.

6

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

@PolyTube

I have update my Tool, now it can flash both Nano3 (old and new bootloader).

Could you please make a try?!?

7

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

First off, thanks for making the update. I just did a couple of tests:

the first try was with an Arduino Uno (original). I could upload the firmware and write to the EEPROM without problems. I did a small test print and the Da Vinci accepted the cartridge.

Next, I tried the Nano, which failed last time. The program recognized the Nano and uploaded the firmware but when I tried to read the data from EEPROM it showed seemingly random data. Material and color were shown as Unkown, Length (should have shown 240m) and temperatures (should have been 230°C and 90°C) were way off. I corrected the data and tried to write again but the values were all red and it showed fail to write error. I switched back to the Uno and read the data again, which showed as correct. Because I had the serial number set to random I'm sure the data is writing correctly but reading from the EEPROM is definitely wrong.

I hope this helps.

8

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Update: The cartridge that I wrote to using the nano throws an error (unknown cassette) when trying to print. It shows the correct data in the info but when a print is uploaded it throws the error and cancels the print. The ones written to by the Uno work fine.

9

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Are your connection to the Chip/EEPROM correct?

Could you try to create parameters and program with the Uno and after that read with the Nano.
Let me know if Nano read everything correct.

10

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

The pinout is correct. The nano works with another sketch.

Programming with the Uno and reading with the nano does not work. I have the impression that the nano is addressing incorrectly.

11

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

buen trabajo!!

12 (edited by tregare 2021-05-23 09:03:54)

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

tried flashing a longruner nano with the firmware from within the app, but it's throwing an exception. - attached is exception. i'm on a windows 7 machine currently.

Post's attachments

exception.txt 4.98 kb, 25 downloads since 2021-05-23 

You don't have the permssions to download the attachments of this post.

13

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Hi, sorry see nothing attached.

14

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

just attached it again.

15 (edited by modfreakz 2021-05-23 10:25:31)

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Did you exactly follow the steps?

16 (edited by tregare 2021-05-24 04:07:18)

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Yes I did, 1.52 ALWAYS fails with that exception, I can flash (tried several) NANOs using 1.42


-edit-

OK, heres what the problem is, the 1.52 version of the app throws an exception when you attempt to flash from a UNC share (my NAS device) the 1.42 was able to flash the NANOs from the same NAS device.  I copied the 1.52 app to a local drive and it was able to flash fine.  I presume from the exception thrown you're storing the firmware as an icon or other resource within the exe itself.


-edit 2-

I honestly should have caught this sooner, having done software QA for several years, but anxiety and depression strikes again.

17

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

I cant download 1.52. It keeps saying its a virus and i turned off windows defender asnd same thing.

18 (edited by modfreakz 2022-01-18 21:37:10)

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Hi,

there is no virus at all. Maybe only false positive.

19

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

You may want to check again because virustotal.com does flag the download as having malware.

20

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Can you double-check that the file you uploaded has not been modified.

21

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Try now

https://my.hidrive.com/lnk/YmCmhSNv

22

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Managed to flash an Elegoo Uno R3 (Only £16 Amazon) now to test how it reads and writes on the Duo, But thanks man this prog saved me alot of money and even given me options the ones on ebay dont!

Should have a donation button, let me buy you a pint! If it all works okay

23

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

Hi, does it work for 2.0 Duo?

24

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

How connect the cartridge with "EEPROM Reader"?

25

Re: EEPROM Edit Tool - [DaVinci 1.0/1.0A/2.0A/Duo/AiO/Pro/Plus/....]

I can’t see the pics, can you send the picture to my mail? I would be very grateful if you could do that. This is my mail: [email protected]