Open warhawk-avg opened 5 years ago
As far as I remember this version was working fine with my X1. But I since switched to Marlin a while ago.
Any howto/walkthru for that one?
Hi!
I went throught the process and did some documentation. please find below. Feedback always welcome.
You might also find my upgrade thread interesting: https://www.thingiverse.com/groups/tronxy-x1/forums/general/topic:31507 There I have posted a config with heated bed enabled (and some other things). Config is based on Dennis'.
Good luck!
Following process on http://tronxy-x3a.blogspot.com/2017/06/updating-my-firmware.html.
Differences noted here.
Get USBasp (vid=0x16c0 pid=0x5dc) https://www.amazon.com/gp/product/B014J2BMAG and 10 to 6 pin adapter https://www.amazon.com/gp/product/B00CW80MP6 Connect to PC
Get zadig from http://zadig.akeo.ie/downloads/zadig-2.4.exe
Options -> List all devices Select USBasp Select libusb-win32 (v1.2.6.0) Install/Replace Driver
Get avrdude from http://download.savannah.gnu.org/releases/avrdude/avrdude-6.3-mingw32.zip avrdude documentation is http://mirror.easyname.at/nongnu/avrdude/avrdude-doc-6.3.pdf
Extract and execute
.\avrdude -p m1284p -U flash:r:flash.hex:i -c usbasp-clone -n -F
avrdude.exe: error: program enable: target doesn't answer. 1 avrdude.exe: initialization failed, rc=-1 avrdude.exe: AVR device initialized and ready to accept instructions avrdude.exe: Device signature = 0x000000 (retrying) avrdude.exe: Device signature = 0x000000 (retrying) avrdude.exe: Device signature = 0x000000 avrdude.exe: Yikes! Invalid device signature. avrdude.exe: Expected signature for ATmega1284P is 1E 97 05
avrdude.exe done. Thank you.
Turn off 3D printer and unplug USB. Possibly you also need to unplug display (not required for me).
Change only jumper on melzi from external powered to USB powered (here closer to reset button).
Plug in USBasp with adapter on 6pin header next to display header. GND & Vcc are next to the board edge.
Melzi board should boot up now as it gets power from USBasp.
Backup chip via batch script doBackup.cmd or directly with avrdude. e.g. .\avrdude -nv -p m1284p -U flash:r:flash.hex:i -c usbasp
My factory fuse values E:FD, H:DC, L:FF
When running avrdude with LCD pluged in to the printer you will notice that the printer resets every time a backup runs (temperature stable and then boot sequence). Beware, the LCD got its own controller and retains the last information displayed and gets updated again during boot sequence.
For convenience you might also want to make a backup within repetier host or octoprint. The eeprom dump also comes in handy in preconfiguring custom firmware later on too.
Arduino IDE 1.8.5 needed libusbk driver to be installed by zadig. otherwise USBasp had issues with timing.
On Wed, 12 Dec 2018, warhawk-avg wrote:
Any howto/walkthru for that one?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AEi9e1D3BKAdWO9FABQaaSqW9a7OT8Cbks5u4Pb5gaJpZM4ZOlIH.gif]
Are the results with marlin better than with repetier?
On Wed, 12 Dec 2018, Dennis Timmermann wrote:
As far as I remember this version was working fine with my X1. But I since switched to Marlin a while ago.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AEi9e0MMCozDCuY1Nd169jVxJrHIqYcyks5u4NeNgaJpZM4ZOlIH.gif]
AWESOME Anno73! Works like a champ...I used Octoprints firmware updater to upload the .hex file
My explanation here https://www.thingiverse.com/groups/tronxy/forums/general/topic:33513
Has this firmware build been tested?