Sonntag, 29. Juli 2018

Firmwareupgrade auf dem 3D Drucker - 128k PROGMEM

Vom 100sten ins 1000ste :)

Dave Johnsen aka fiveangle hat mich auf https://github.com/MarlinFirmware/Marlin in die richtige Richtung geschickt. Sein "simples" Statement:
[...] Search “128k PROGMEM” across open and closed issues and you’ll find lots of resources about this. [...] hat bei mir den lernprozess ausgelöst

Mit meiner Firmware ist alles in Ordnung, aber die 8-bit (???) CPU auf meinem Melzi-Board kann nur 128k Speicher bedienen.

Wir erinnern uns:

https://github.com/repetier/Repetier-Firmware/tree/master/boards/Zonestar%20P802M

https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json

https://github.com/Lauszus/Sanguino

https://blog.stevemarple.co.uk/2013/01/how-to-use-atmel-atmega1284-non-p.html

https://www.microchip.com/wwwproducts/en/ATmega1284P

[...]
The high-performance Microchip 8-bit AVR RISC-based microcontroller combines 128KB ISP flash memory with read-while-write capabilities, 4KB EEPROM, 16KB SRAM, 32 general purpose I/O lines, 32 general purpose working registers, a real time counter, three flexible timer/counters with compare modes and PWM, two USARTs, a byte oriented 2-wire serial interface, an 8-channel 10-bit A/D converter with optional differential input stage with programmable gain, programmable watchdog timer with internal oscillator, SPI serial port, a JTAG (IEEE 1149.1 compliant) test interface for on-chip debugging and programming, and six software selectable power saving modes. The device operates between 1.8-5.5 volts.
By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz, balancing power consumption and processing speed.
[...]

So kann ich also Stand heute nur eine Firmware mit auto bed leveling kompilieren die mehrere nicht unwichtige Features nicht enthaelt. Z.B. die Display-Ansteuerung :)

Wollen wir doch mal die potentiellen Teile der Firmware identifizieren die wir mal abschalten könnten:

Firmware release Storage used Storage used ( % ) Bed leveling? ARC support? LCD enabled? SD enabled?


1.0.2 87836 67 N N N Y


1.0.2 121126 93 N N Y Y


1.0.2 124274 95 N Y Y Y


1.0.2 101378 77 Y N N Y




Das Beste zum Schluß, ich bastel wild mit der Repetier Firmware rum, kein wunder das die Profi-Tips von fiveangle nicht fruchten, der tüftelt nämlich an Marlin rum...



Keine Kommentare:

Kommentar veröffentlichen