Browse Source

Config files for PowerWASP Printer (#12889)

Jason 5 years ago
parent
commit
dc4786a504

+ 2060
- 0
Marlin/src/config/examples/WASP/PowerWASP/Configuration.h
File diff suppressed because it is too large
View File


+ 1974
- 0
Marlin/src/config/examples/WASP/PowerWASP/Configuration_adv.h
File diff suppressed because it is too large
View File


+ 72
- 0
Marlin/src/config/examples/WASP/PowerWASP/README.md View File

@@ -0,0 +1,72 @@
1
+# Modifications to PowerWASP firmware with a few extras
2
+The later versions of the PowerWASP controller board have power loss detection on pin 65 (low on loss). this has been configured in POWER_LOSS_RECOVERY. Because of this there is no need to save each command line just in case of a power loss to the machine. The board will hold enough power to allow the print to be saved to the SD card.
3
+
4
+The retract position on finishing the print has been set at Z190 X0 Y0
5
+
6
+There are provisions made here to use ESP3D wireless printer control.
7
+
8
+https://github.com/luc-github/ESP3D
9
+
10
+The original PowerWASP board has available a internal serial port connection with Arduino Serial3.
11
+The connections are as follows:
12
+```
13
+.------------.---------------------.
14
+|            |  Serial3            |
15
+|            |  [O] 5V             | Front
16
+|    FAN     |  [O] GND            | panel
17
+|            |  [O] TX             | side
18
+|            |  [O] RX             |
19
+`------------´---------------------´
20
+```
21
+
22
+With the option of wireless file upload to the SD card, the idea of updating the Firmware
23
+from the SD can also be useful. This option has been selected, but requires a modified boot loader
24
+that can be found here:
25
+
26
+https://github.com/rainerumrobotics/MicroBridge-Arduino-ATMega2560
27
+
28
+USB and SDCARD Firmware flashing for the ARDUINO ATMEGA 2560 and ADK
29
+---------------------------------------------------------------------
30
+The bootloader looks for byte in eeprom at address 0x3FF:
31
+
32
+	-if it is set to 0xF0 bootloader will look for a bin file on the sdcard named
33
+	 firmware.bin and use it to flash the firmware then reset the byte to 0xFF so it
34
+	 does this only once
35
+
36
+	-otherwise no action is taken and bootloader works as a arduino bootloader except
37
+	 some of the debugging functions are missing
38
+
39
+Setup
40
+
41
+	ADAFruit micro sdcard 5V ready:
42
+
43
+	SDCARD on ATMEGA 2560 or ADK
44
+
45
+	pin 50  -  DO
46
+
47
+	pin 51  -  DI
48
+
49
+	pin 52  -  CLK
50
+
51
+	pin 53  -  CS
52
+
53
+Generate BIN file for firmware update:
54
+
55
+To generate a bin file you need issue the following command on you apps elf executable:
56
+
57
+	avr-objcopy -I elf32-avr -O binary firmware.cpp.elf firmware.bin
58
+
59
+this generates firmware.bin which can be put on the sd for flashing your firmware. You can find the elf
60
+file in you apps build directory.
61
+
62
+Using olimex usb to upload bootloader:
63
+
64
+	avrdude -c stk500v2 -p m2560 -P /dev/tty.usbmodemfd131 -B 500 -e -u -U lock:w:0x3F:m -U efuse:w:0xFD:m -U hfuse:w:0xD8:m -U efuse:w:0xFF:m -F
65
+
66
+	avrdude -p m2560 -c stk500v2 -P /dev/tty.usbmodemfa131 -F -U flash:w:stk500boot.hex -b 115200 -B1 -U lock:w:0x0F:m
67
+
68
+	avrdude -p m168 -c usbtiny -e -u -U lock:w:0x3f:m -U efuse:w:0x00:m -U hfuse:w:0xDD:m -U lfuse:w:0xFF:m
69
+
70
+
71
+	avrdude -p m2560 -c stk500v2 -P /dev/tty.usbmodemfd131 -U flash:w:stk500boot_v2_mega2560.hex -U lock:w:0x0F:m -v
72
+	avrdude -c stk500v2 -p m2560 -P /dev/tty.usbmodemfd131 -U lock:w:0x3F:m -U efuse:w:0xFD:m -U hfuse:w:0xD8:m -U lfuse:w:0xFF:m -e -v

Loading…
Cancel
Save