MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 17, 2019 02:38PM |
Registered: 5 years ago Posts: 124 |
Quote
4.3.8 senza QuickHome
Lo sketch usa 165010 byte (64%) dello spazio disponibile per i programmi. Il massimo è 253952 byte.
Le variabili globali usano 5311 byte (64%) di memoria dinamica, lasciando altri 2881 byte liberi per le variabili locali. Il massimo è 8192 byte.
4.3.8
Lo sketch usa 165338 byte (65%) dello spazio disponibile per i programmi. Il massimo è 253952 byte.
Le variabili globali usano 5311 byte (64%) di memoria dinamica, lasciando altri 2881 byte liberi per le variabili locali. Il massimo è 8192 byte.
4.3.8 QuickHome + M43
Lo sketch usa 169974 byte (66%) dello spazio disponibile per i programmi. Il massimo è 253952 byte.
Le variabili globali usano 5291 byte (64%) di memoria dinamica, lasciando altri 2901 byte liberi per le variabili locali. Il massimo è 8192 byte.
Re: MK 4.3.8 problema con bed levelling, fw corruzione memoria forse March 17, 2019 08:47PM |
Registered: 5 years ago Posts: 124 |
Re: MK 4.3.8 problema con bed levelling, fw corruzione memoria forse March 18, 2019 06:39AM |
Registered: 10 years ago Posts: 6,409 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 18, 2019 04:18PM |
Registered: 5 years ago Posts: 124 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 19, 2019 06:00PM |
Registered: 5 years ago Posts: 124 |
Rettifico per maggiore precisione, oggi ho riprovato il 4.3.7 perché ho rifatto un cavo SPI migliore (prima era a stella ora è seriale) e volevo per sfizio vedere se potesse influire (anche se era probabile un no come risposta, come poi è stato).Quote
FabryR
E una cosa assurda è che la stessa config caricata sul fw 4.3.7 (ovviamente downgradata tramite fw configurator online) genera un FW che non è in grado di eseguire NESSUN comando G1.
Il primo comando G1 che la macchina riceve si traduce nell'accensione dell'asse Z con movimento verso l'alto a max speed (rispettando il limite impostato per l'asse) senza più fermarsi (va a sbattere se non si resetta in tempo).
Lo stesso avviene pure lanciando una stampa da SD (parte asse Z e solo lui).
Quote
EGMENT_TIME> S VEGMENT_TIME> S V Port: E0 RXD protected
EGMENT_TIME> S VEGMENT_TIME> S V Port: E1 TXD protected
EGMENT_TIME> S VEGMENT_TIME> S V Port: E4 Input = 0 TIMER3B MM> WGM: 1 COM3B: 0 CS: 3 TCCR3A: 1 TCCR3B: 3 TIMSK3: 0
EGMENT_TIME> S VEGMENT_TIME> S V Port: E5 X_MIN_PIN EGMENT_TIME> S V TIMER3C MM> WGM: 1 COM3C: 0 CS: 3 TCCR3A: 1 TCCR3B: 3 TIMSK3: 0
EGMENT_TIME> S VEGMENT_TIME> S V Port: G5 SERVO3_PIN EGMENT_TIME> S V TIMER0B MM> WGM: 0 COM0B: 0 CS: 3 TCCR0A: 0 TCCR0B: 3 TIMSK0: 5 non-standard PWM mode compare interrupt enabled overflow interrupt enabled
EGMENT_TIME> S VEGMENT_TIME> S V Port: E3 SERVO2_PIN Input = 0 TIMER3A MM> WGM: 1 COM3A: 0 CS: 3 TCCR3A: 1 TCCR3B: 3 TIMSK3: 0
EGMENT_TIME> S VEGMENT_TIME> S V Port: H3 SERVO1_PIN Input = 0 TIMER4A MM> WGM: 1 COM4A: 0 CS: 3 TCCR4A: 1 TCCR4B: 3 TIMSK4: 0
EGMENT_TIME> S VEGMENT_TIME> S V Port: H4 Input = 0 TIMER4B MM> WGM: 1 COM4B: 0 CS: 3 TCCR4A: 1 TCCR4B: 3 TIMSK4: 0
EGMENT_TIME> S VEGMENT_TIME> S V Port: H5 HEATER_BED_PIN Output = 0 TIMER4C MM> WGM: 1 COM4C: 0 CS: 3 TCCR4A: 1 TCCR4B: 3 TIMSK4: 0
EGMENT_TIME> S VEGMENT_TIME> S V Port: H6 FAN0_PIN Output = 0 TIMER2B MM> WGM: 1 COM2B: 0 CS: 4 TCCR2A: 1 TCCR2B: 4 TIMSK2: 0
EGMENT_TIME> S VEGMENT_TIME> S V Port: B4 HEATER_0_PIN Output = 0 TIMER2A MM> WGM: 1 COM2A: 0 CS: 4 TCCR2A: 1 TCCR2B: 4 TIMSK2: 0
EGMENT_TIME> S VEGMENT_TIME> S V Port: B5 SERVO0_PIN Input = 0 TIMER1A MM> WGM: 4 COM1A: 0 CS: 2 TCCR1A: 0 TCCR1B: 10 TIMSK1: 2 non-standard PWM mode compare interrupt enabled
...
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 19, 2019 07:28PM |
Registered: 10 years ago Posts: 6,409 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 19, 2019 07:40PM |
Registered: 5 years ago Posts: 124 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 20, 2019 03:54AM |
Registered: 10 years ago Posts: 6,409 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 20, 2019 08:32AM |
Registered: 5 years ago Posts: 124 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 20, 2019 09:33AM |
Registered: 10 years ago Posts: 6,409 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 20, 2019 04:36PM |
Registered: 5 years ago Posts: 124 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime March 24, 2019 02:43PM |
Registered: 5 years ago Posts: 124 |
Quote
Stats: Total:65535, Finished:65535, Failed:0
Stats: Total print time:136y 70d 6h 28m 15s, Longest job:136y 70d 6h 28m 15s
Stats: Power on time:136y 70d 6h 28m 15s
Stats: Filament used:63389Km 65053m 65472cm 65528mm
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime June 23, 2019 11:15AM |
Registered: 5 years ago Posts: 124 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime June 23, 2019 01:48PM |
Registered: 10 years ago Posts: 6,409 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime June 24, 2019 07:14PM |
Registered: 5 years ago Posts: 124 |
Re: MK 4.3.8 problemi strani ed incomprensibili, forse corruzione memoria fw a runtime August 18, 2019 04:15PM |
Registered: 5 years ago Posts: 124 |
Ho rifatto qualche prova ricompilando oggi il 4.3.7 dopo aver fatto un clear della eeprom ed aver usato librerie più recenti (es. quelle TMC)Quote
FabryR
Ossia digito G1 X50 F3000 e sul display mi appare
X:50 Y:12 Z:215
digito G1 Y60 F3000 (con prima un G28) e sul display mi appare
X:0 Y:60 Z:215 (Y va a 60 perché 60 > 12)
digito G1 Z30 F300 (con prima un G28) e sul display mi appare
X:0 Y:12 Z:215 (Z va sempre a ZMax ed Y se non impostato va a 12)
digito G1 X100 Y10 Z30 F300 (con prima un G28) e sul display mi appare
X:100 Y:12 Z:215 (Z va sempre a ZMax ed Y va a 12 perché 12 > 10)
C'è un evidente errore in qualche puntatore alle strutture in memoria (ma chissà cosa lo causa), ad esempio se lancio il comando M43 l'output è:
In file included from c:\users\xxxx\appdata\local\temp\arduino_build_990647\sketch\mk4duo.h:153:0, from C:\Users\xxxx\AppData\Local\Temp\arduino_build_990647\sketch\src\lcd\menu\menu_bed_leveling.cpp:27: C:\Users\xxxx\AppData\Local\Temp\arduino_build_990647\sketch\src\lcd\menu\menu_bed_leveling.cpp: In function 'void menu_bed_leveling()': C:\Users\xxxx\AppData\Local\Temp\arduino_build_990647\sketch\src\lcd\menu\menu_bed_leveling.cpp:285:45: error: 'class mesh_bed_leveling' has no member named 'z_offset' MENU_ITEM_EDIT(float43, MSG_BED_Z, &mbl.z_offset, -1, 1); ^ c:\users\xxxx\appdata\local\temp\arduino_build_990647\sketch\src/lcd/menu/menu.h:306:45: note: in definition of macro '_MENU_ITEM_VARIANT_P' MenuItem_##TYPE ::action ## VARIANT(__VA_ARGS__); \ ^ C:\Users\xxxx\AppData\Local\Temp\arduino_build_990647\sketch\src\lcd\menu\menu_bed_leveling.cpp:285:5: note: in expansion of macro 'MENU_ITEM_EDIT' MENU_ITEM_EDIT(float43, MSG_BED_Z, &mbl.z_offset, -1, 1); ^ C:\Users\xxxx\AppData\Local\Temp\arduino_build_990647\sketch\src\lcd\menu\menu_bed_leveling.cpp:285:45: error: 'class mesh_bed_leveling' has no member named 'z_offset' MENU_ITEM_EDIT(float43, MSG_BED_Z, &mbl.z_offset, -1, 1); ^ c:\users\xxxx\appdata\local\temp\arduino_build_990647\sketch\src/lcd/menu/menu.h:310:99: note: in definition of macro '_MENU_ITEM_VARIANT_P' draw_menu_item ## VARIANT ## _ ## TYPE(encoderLine == _thisItemNr, _lcdLineNr, PLABEL, ## __VA_ARGS__); \ ^ C:\Users\xxxx\AppData\Local\Temp\arduino_build_990647\sketch\src\lcd\menu\menu_bed_leveling.cpp:285:5: note: in expansion of macro 'MENU_ITEM_EDIT' MENU_ITEM_EDIT(float43, MSG_BED_Z, &mbl.z_offset, -1, 1); ^