Error loading and generating heighmap.csv
-
Hi everyone,
We have this error trying to active the mesh bed leveling:
Error: G29: Failed to load height map from file heightmap.csv: Unknown heightmap field: axis0
The file is present and we tried to delete and get a new probe map but the problem remains.
heightmap contains the matrix points obtained with the G32 (bed.g macro) but it seem there is a format? problem reading the data.
If we issue a new G29 S0 to get a new map file, the printer hangs at the finish, after the last point probed, the general status is IDLE but unresponsive and need to reset it to get it back alive.
Once reseted, the new heightmap.csv is there but it fails when enabling it again. This is the file created:
RepRapFirmware height map file v2 generated at 2022-03-09 14:00, min error -0.230, max error 0.080, mean -0.060, deviation 0.095 axis0,axis1,min0,max0,min1,max1,radius,spacing0,spacing1,num0,num1 X,Y,-100.00,100.00,-60.00,60.00,-1.00,49.99,30.00,5,5 0.010, -0.020, -0.060, -0.130, -0.200 0.060, 0.010, -0.040, -0.120, -0.220 0.080, 0.040, -0.010, -0.120, -0.230 0.050, 0.050, 0.000, -0.110, -0.220 -0.040, 0.020, -0.020, -0.100, -0.190
Tryed to get a G29 S3 p"file.csv" but the file.csv isn't made. Just hangs.
SBC mode, Duet 3 MB6HC + 1LC + 1XD version 3.4.0rc2
What to try for troubleshoot it? New bug?
-
Can you share the results of M122 and M122 B# where # is the canbus address of the expansion boards?
Also please share your config.g
-
@phaedrux Our config.g its very complex and related to other files with a lot of variables and I think it doesn't give additional information.
All the axis are driven by 1XD boards, connected to OM closed loop external drivers and servos except the printheads which are driven by 1LC boards. In the +3.4 beta7 this was working fine. Prior to that, it was affected by the CANbus delay when probing, but resolved by David from this beta version. With the latest RC all works except this issue, at least the things tested so far.
I think, now the G29 command has a bug in the 3.4Rc2, that may be related to the modifications @dc42 did to solve this issue: https://forum.duet3d.com/topic/27248/3-4-rc1-1xd-probe-problem-after-update/3?_=1646900775328
M122 from the 6HC board, six 1XD and three 1LC doesn't shows any hint of failure. All movements works as expected except this error making or reading the mesh bed level file.
-
Can you test with this build?
https://www.dropbox.com/sh/amtiizdcylnuaye/AAA4hzXFvU0RMOSDtdT37HFua?dl=0
-
@phaedrux I'll try asap and back with the results.
-
@Phaedrux @dc42 With the version 3.4RC2+2 it doesn't work either. We drop the version files thru DWC and updated sucessfully all boards, while using SBC not standalone mode.
DSF and DWC are still in version: 3.4-b3. Are the parts that we still didn't updated.
Sending a simple code like this:
G28
G29 S2
G29 S0
Does the home OK, erase all mesh corrections OK, probe the area OK.BUT, after the last probe point and retract the probe, the printer goes idle but it hangs up. The send button in DWC keeps doing circles and it's unresponsive until we reset it.
After reset, boot fine, and there is the heightmap file saved, but notifying at start console there's a error loading heightmap.csv described up there.
All remaining funcionality works well.
We need to get out this printer to customer asap (max. March18th) so we are concerned. If mesh bed leveling doesn't works properly the printer can't be delivered.
11/3/2022, 19:33:19: Connected to 192.168.2.100:3000 11/3/2022, 19:37:40: m122: === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.4.0rc2+2 (2022-03-07 20:15:30) running on Duet 3 MB6HC v1.01 or later (SBC mode) Board ID: 08DJM-9P63L-DJMSS-6J9D0-3S46M-9UFM8 Used output buffers: 1 of 40 (18 max) === RTOS === Static ram: 151000 Dynamic ram: 70072 of which 0 recycled Never used RAM 126024, free system stack 152 words Tasks: SBC(resourceWait:,0.7%,494) HEAT(notifyWait,0.0%,321) Move(notifyWait,0.1%,259) CanReceiv(notifyWait,0.1%,772) CanSender(notifyWait,0.0%,356) CanClock(delaying,0.0%,339) TMC(notifyWait,7.8%,92) MAIN(running,91.2%,923) IDLE(ready,0.1%,30), total 100.0% Owned mutexes: HTTP(MAIN) === Platform === Last reset 00:11:16 ago, cause: software Last software reset at 2022-03-11 19:26, reason: User, GCodes spinning, available RAM 126024, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a Error status: 0x00 Step timer max interval 738 MCU temperature: min 21.4, current 22.4, max 22.5 Supply voltage: min 24.0, current 24.1, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.0, current 12.1, max 12.1, under voltage events: 0 Heap OK, handles allocated/used 99/14, heap memory allocated/used/recyclable 2048/1358/1156, gc cycles 0 Events: 0 queued, 0 completed Driver 0: standstill, SG min 0, mspos 8, reads 53004, writes 11 timeouts 0 Driver 1: standstill, SG min 0, mspos 8, reads 53004, writes 11 timeouts 0 Driver 2: standstill, SG min 0, mspos 8, reads 53004, writes 11 timeouts 0 Driver 3: standstill, SG min 0, mspos 8, reads 53004, writes 11 timeouts 0 Driver 4: standstill, SG min 0, mspos 8, reads 53004, writes 11 timeouts 0 Driver 5: standstill, SG min 0, mspos 8, reads 53005, writes 11 timeouts 0 Date/time: 2022-03-11 19:37:39 Slowest loop: 55.66ms; fastest: 0.03ms === Storage === Free file entries: 10 SD card 0 not detected, interface speed: 37.5MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === DMs created 125, segments created 30, maxWait 119971ms, bed compensation in use: mesh, comp offset 0.000 === MainDDARing === Scheduled moves 1376, completed 1376, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 1 -1 -1 -1, ordering errs 0 === GCodes === Segments left: 0 Movement lock held by HTTP HTTP* is doing "M122" in state(s) 0 Telnet* is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger* is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === Filament sensors === Extruder 0 sensor: no filament === CAN === Messages queued 10165, received 54399, lost 0, boc 0 Longest wait 2ms for reply type 6031, peak Tx sync delay 152, free buffers 50 (min 17), ts 3383/3382/0 Tx timeouts 0,0,0,0,0,0 === SBC interface === Transfer state: 4, failed transfers: 0, checksum errors: 0 RX/TX seq numbers: 29519/29519 SPI underruns 0, overruns 0 State: 5, disconnects: 0, timeouts: 0, IAP RAM available 0x2b880 Buffer RX/TX: 0/0-0, open files: 0 === Duet Control Server === Duet Control Server v3.4-b3 Code buffer space: 4096 Configured SPI speed: 8000000Hz Full transfers per second: 43.73, max wait times: 53.7ms/5.0ms Codes per second: 1.27 Maximum length of RX/TX data transfers: 4400/820 11/3/2022, 19:38:10: m122 b40: Diagnostics for board 40: Duet EXP1XD firmware version 3.4.0rc2+2 (2022-03-07 20:16:45) Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1) All averaging filters OK Never used RAM 5524, free system stack 43 words Tasks: Move(notifyWait<null>,0.1%,111) HEAT(notifyWait<null>,0.1%,115) CanAsync(notifyWait<null>,0.0%,60) CanRecv(notifyWait<null>,0.0%,75) CanClock(notifyWait<null>,0.0%,64) MAIN(running<null>,96.3%,443) IDLE(ready<null>,0.0%,40) AIN(delaying<null>,3.5%,142), total 100.0% Last reset 00:11:46 ago, cause: software Last software reset data not available Driver 0: pos -8132, 150.5 steps/mm, steps req 264316 done 241135 Moves scheduled 1317, completed 1317, in progress 0, hiccups 0, step errors 0, maxPrep 443, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0 Peak sync jitter 0/6, peak Rx sync delay 204, resyncs 0/0, no step interrupt scheduled VIN voltage: min 24.4, current 24.5, max 24.5 MCU temperature: min 21.4C, current 22.2C, max 22.2C Last sensors broadcast 0x00000000 found 0 194 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 5676, send timeouts 0, received 10365, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 324, adv 34966/92488 11/3/2022, 19:38:12: m122 b41: Diagnostics for board 41: Duet EXP1XD firmware version 3.4.0rc2+2 (2022-03-07 20:16:45) Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1) All averaging filters OK Never used RAM 5524, free system stack 43 words Tasks: Move(notifyWait<null>,0.1%,111) HEAT(notifyWait<null>,0.1%,115) CanAsync(notifyWait<null>,0.0%,60) CanRecv(notifyWait<null>,0.0%,75) CanClock(notifyWait<null>,0.0%,64) MAIN(running<null>,96.4%,448) IDLE(ready<null>,0.0%,40) AIN(delaying<null>,3.5%,142), total 100.0% Last reset 00:11:47 ago, cause: software Last software reset data not available Driver 0: pos -19721, 150.5 steps/mm, steps req 75113 done 46364 Moves scheduled 1301, completed 1301, in progress 0, hiccups 0, step errors 0, maxPrep 451, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0 Peak sync jitter 0/5, peak Rx sync delay 203, resyncs 0/0, no step interrupt scheduled VIN voltage: min 24.4, current 24.5, max 24.5 MCU temperature: min 23.0C, current 23.9C, max 23.9C Last sensors broadcast 0x00000000 found 0 66 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 5690, send timeouts 0, received 10370, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 324, adv 35375/92771 11/3/2022, 19:38:13: m122 b42: Diagnostics for board 42: Duet EXP1XD firmware version 3.4.0rc2+2 (2022-03-07 20:16:45) Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1) All averaging filters OK Never used RAM 5556, free system stack 43 words Tasks: Move(notifyWait<null>,0.1%,111) HEAT(notifyWait<null>,0.1%,115) CanAsync(notifyWait<null>,0.0%,64) CanRecv(notifyWait<null>,0.0%,75) CanClock(notifyWait<null>,0.0%,64) MAIN(running<null>,96.4%,448) IDLE(ready<null>,0.0%,40) AIN(delaying<null>,3.5%,142), total 100.0% Last reset 00:11:49 ago, cause: software Last software reset data not available Driver 0: pos -19721, 150.5 steps/mm, steps req 75113 done 46366 Moves scheduled 1301, completed 1301, in progress 0, hiccups 0, step errors 0, maxPrep 445, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0 Peak sync jitter 0/5, peak Rx sync delay 201, resyncs 0/0, no step interrupt scheduled VIN voltage: min 24.7, current 24.8, max 24.8 MCU temperature: min 16.9C, current 17.9C, max 17.9C Last sensors broadcast 0x00000000 found 0 52 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 5698, send timeouts 0, received 10388, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 326, adv 35768/93057 11/3/2022, 19:38:15: m122 b43: Diagnostics for board 43: Duet EXP1XD firmware version 3.4.0rc2+2 (2022-03-07 20:16:45) Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1) All averaging filters OK Never used RAM 5524, free system stack 43 words Tasks: Move(notifyWait<null>,0.0%,111) HEAT(notifyWait<null>,0.1%,115) CanAsync(notifyWait<null>,0.0%,60) CanRecv(notifyWait<null>,0.0%,75) CanClock(notifyWait<null>,0.0%,64) MAIN(running<null>,96.4%,448) IDLE(ready<null>,0.0%,40) AIN(delaying<null>,3.5%,142), total 100.0% Last reset 00:11:50 ago, cause: software Last software reset data not available Driver 0: pos -27342, 100.1 steps/mm, steps req 127736 done 87844 Moves scheduled 83, completed 83, in progress 0, hiccups 0, step errors 0, maxPrep 450, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0 Peak sync jitter 0/5, peak Rx sync delay 204, resyncs 0/0, no step interrupt scheduled VIN voltage: min 24.3, current 24.4, max 24.4 MCU temperature: min 24.9C, current 26.1C, max 26.1C Last sensors broadcast 0x00000000 found 0 190 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 5718, send timeouts 0, received 9221, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 317, adv 36832/37179 11/3/2022, 19:38:16: m122 b44: Diagnostics for board 44: Duet EXP1XD firmware version 3.4.0rc2+2 (2022-03-07 20:16:45) Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1) All averaging filters OK Never used RAM 5524, free system stack 88 words Tasks: Move(notifyWait<null>,0.0%,153) HEAT(notifyWait<null>,0.1%,115) CanAsync(notifyWait<null>,0.0%,64) CanRecv(notifyWait<null>,0.0%,77) CanClock(notifyWait<null>,0.0%,64) MAIN(running<null>,96.4%,448) IDLE(ready<null>,0.0%,40) AIN(delaying<null>,3.5%,142), total 100.0% Last reset 00:11:52 ago, cause: software Last software reset data not available Driver 0: pos 0, 100.1 steps/mm, steps req 0 done 0 Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0 Peak sync jitter 1/5, peak Rx sync delay 198, resyncs 0/0, no step interrupt scheduled VIN voltage: min 24.5, current 24.6, max 24.6 MCU temperature: min 22.7C, current 24.4C, max 24.4C Last sensors broadcast 0x00000000 found 0 62 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 5724, send timeouts 0, received 9126, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0 11/3/2022, 19:38:17: m122 b45: Diagnostics for board 45: Duet EXP1XD firmware version 3.4.0rc2+2 (2022-03-07 20:16:45) Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1) All averaging filters OK Never used RAM 5524, free system stack 88 words Tasks: Move(notifyWait<null>,0.0%,153) HEAT(notifyWait<null>,0.1%,115) CanAsync(notifyWait<null>,0.0%,64) CanRecv(notifyWait<null>,0.0%,77) CanClock(notifyWait<null>,0.0%,64) MAIN(running<null>,96.4%,443) IDLE(ready<null>,0.0%,40) AIN(delaying<null>,3.5%,142), total 100.0% Last reset 00:11:53 ago, cause: software Last software reset data not available Driver 0: pos 0, 100.1 steps/mm, steps req 0 done 0 Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0 Peak sync jitter 1/5, peak Rx sync delay 202, resyncs 0/0, no step interrupt scheduled VIN voltage: min 24.4, current 24.5, max 24.5 MCU temperature: min 23.4C, current 25.2C, max 25.3C Last sensors broadcast 0x00000000 found 0 89 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 5734, send timeouts 0, received 9143, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0 11/3/2022, 19:38:22: m122 b20: Diagnostics for board 20: Duet TOOL1LC rev 1.1 or later firmware version 3.4.0rc2+2 (2022-03-07 20:17:47) Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1) All averaging filters OK Never used RAM 2732, free system stack 88 words Tasks: Move(notifyWait<null>,0.0%,153) HEAT(notifyWait<null>,0.2%,115) CanAsync(notifyWait<null>,0.0%,65) CanRecv(notifyWait<null>,0.0%,76) CanClock(notifyWait<null>,0.0%,65) ACCEL(notifyWait<null>,0.0%,61) TMC(notifyWait<null>,3.0%,57) MAIN(running<null>,91.9%,351) IDLE(ready<null>,0.0%,26) AIN(delaying<null>,4.9%,142), total 100.0% Last reset 00:11:57 ago, cause: software Last software reset data not available Driver 0: pos 0, 42.0 steps/mm,standstill, SG min 0, read errors 0, write errors 1, ifcnt 48, reads 31041, writes 12, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 0 Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0 Peak sync jitter 0/4, peak Rx sync delay 216, resyncs 0/0, no step interrupt scheduled VIN voltage: min 24.4, current 24.5, max 24.5 MCU temperature: min 31.3C, current 32.5C, max 32.5C Last sensors broadcast 0x00000004 found 1 8 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 11752, send timeouts 0, received 6427, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0 Accelerometer: LIS3DH, status: 00 I2C bus errors 0, naks 3, other errors 0 === Filament sensors === Interrupt 5726621 to 0us, poll 4 to 484us Driver 0: ok 11/3/2022, 19:38:23: m122 b21: Diagnostics for board 21: Duet TOOL1LC rev 1.1 or later firmware version 3.4.0rc2+2 (2022-03-07 20:17:47) Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1) All averaging filters OK Never used RAM 3016, free system stack 88 words Tasks: Move(notifyWait<null>,0.0%,147) HEAT(notifyWait<null>,0.1%,115) CanAsync(notifyWait<null>,0.0%,65) CanRecv(notifyWait<null>,0.0%,76) CanClock(notifyWait<null>,0.0%,65) ACCEL(notifyWait<null>,0.0%,61) TMC(notifyWait<null>,3.0%,57) MAIN(running<null>,92.0%,441) IDLE(ready<null>,0.0%,26) AIN(delaying<null>,4.9%,142), total 100.0% Last reset 00:11:58 ago, cause: software Last software reset data not available Driver 0: pos 0, 42.0 steps/mm,standstill, SG min 0, read errors 0, write errors 1, ifcnt 48, reads 31748, writes 12, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 0 Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0 Peak sync jitter 0/4, peak Rx sync delay 213, resyncs 0/0, no step interrupt scheduled VIN voltage: min 24.1, current 24.2, max 24.2 MCU temperature: min 30.8C, current 31.9C, max 32.0C Last sensors broadcast 0x00000000 found 0 166 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 5781, send timeouts 0, received 9214, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0 Accelerometer: LIS3DH, status: 00 I2C bus errors 0, naks 3, other errors 0 11/3/2022, 19:38:24: m122 b22: Diagnostics for board 22: Duet TOOL1LC rev 1.1 or later firmware version 3.4.0rc2+2 (2022-03-07 20:17:47) Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1) All averaging filters OK Never used RAM 3856, free system stack 88 words Tasks: Move(notifyWait<null>,0.0%,153) HEAT(notifyWait<null>,0.1%,115) CanAsync(notifyWait<null>,0.0%,65) CanRecv(notifyWait<null>,0.0%,76) CanClock(notifyWait<null>,0.0%,65) TMC(delaying<null>,3.0%,57) MAIN(running<null>,92.0%,441) IDLE(ready<null>,0.0%,26) AIN(delaying<null>,4.9%,142), total 100.0% Last reset 00:12:00 ago, cause: software Last software reset data not available Driver 0: pos 0, 420.0 steps/mm,standstill, SG min 0, read errors 0, write errors 1, ifcnt 48, reads 32372, writes 12, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 0 Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0 Peak sync jitter 0/4, peak Rx sync delay 212, resyncs 0/0, no step interrupt scheduled VIN voltage: min 24.3, current 24.3, max 24.3 MCU temperature: min 28.0C, current 29.5C, max 29.5C Last sensors broadcast 0x00000000 found 0 164 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 5790, send timeouts 0, received 9230, lost 0, free buffers 37, min 37, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0 Accelerometer: none I2C bus errors 0, naks 12, other errors 0
-
@marcossf said in Error loading and generating heighmap.csv:
DSF and DWC are still in version: 3.4-b3. Are the parts that we still didn't updated.
Those should be running 3.4 RC2 at least. I think this may be part of your problem. Are you able to update them using sudo apt update and sudo apt upgrade?
-
@phaedrux Right now i'm doing that. Soon back with the results.
Thx!
-
YES! That was the problem. I'm sorry for such stupidity
The heighmap file was done right and readed properly at boot. Waiting for a final stable version, hope soon!
Thanks! Have a good weekend.