[FluidNC Issue#1426] “Skipping configuration file due to panic” – Setting up 6x_CNC_Controller

未分类 bolang 4个月前 (10-14) 40次浏览

Issue #1426 | 状态: 已关闭 | 作者: daxliniere | 创建时间: 2025-01-14


Wiki Search Terms

N/A

Controller Board

6xCNCController V1.2

Machine Description

3-axis gantry mill

Input Circuits

No response

Configuration file

yaml
board: 6x
name: 6x Default
meta: Settings v1.0.0 (2025-01-14) Dax Liniere

stepping:
engine: I2S_STREAM
idle_ms: 254
pulse_us: 4
dirdelayus: 1
disabledelayus: 0

axes:
sharedstepperdisablepin: NOPIN
x:
stepspermm: 800.000
maxratemmpermin: 3000.000
accelerationmmper_sec2: 100.000
maxtravelmm: 301.000
soft_limits: true
homing:
cycle: 2
positive_direction: false
mpos_mm: 0.000
feedmmper_min: 20.000
seekmmper_min: 600.000
settle_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100

motor0:
limitnegpin: gpio.35
limitpospin: gpio.32
limitallpin: NO_PIN
hard_limits: true #??? was false
pulloff_mm: 1.000
standard_stepper:
step_pin: I2SO.2
direction_pin: I2SO.1
disable_pin: I2SO.0

y:
stepspermm: 800.000
maxratemmpermin: 3000.000
accelerationmmper_sec2: 100.000
maxtravelmm: 186.000
soft_limits: true
homing:
cycle: 2
positive_direction: false
mpos_mm: 0.000
feedmmper_min: 20.000
seekmmper_min: 600.000
settle_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100

motor0:
limitnegpin: gpio.33
limitpospin: gpio.26
limitallpin: NO_PIN
hard_limits: true #??? was false
pulloff_mm: 1.000
standard_stepper:
step_pin: I2SO.5
direction_pin: I2SO.4
disable_pin: I2SO.7

z:
stepspermm: 800.000
maxratemmpermin: 1000.000
accelerationmmper_sec2: 50.000 # was 100
maxtravelmm: 100.000
soft_limits: true
homing:
cycle: 1
positive_direction: true
mpos_mm: 0.000
feedmmper_min: 20.000
seekmmper_min: 200.000
settle_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100

motor0:
limitnegpin: NO_PIN
limitpospin: gpio.2
limitallpin: NO_PIN
hard_limits: true #??? was false
pulloff_mm: 1.000
standard_stepper:
step_pin: I2SO.10
direction_pin: I2SO.9
disable_pin: I2SO.8

i2so:
bck_pin: gpio.22
data_pin: gpio.21
ws_pin: gpio.17

spi:
miso_pin: gpio.19
mosi_pin: gpio.23
sck_pin: gpio.18

sdcard:
carddetectpin: NO_PIN
cs_pin: gpio.5

10V:
forward_pin: gpio.14
reversepin: NOPIN
pwm_hz: 5000
output_pin: gpio.13
enablepin: NOPIN
directionpin: NOPIN
disablewiths0: false
s0withdisable: true
spinup_ms: 0
spindown_ms: 0
tool_num: 0
speed_map: 0=0.000% 1000=0.000% 24000=100.000% #update later with speed maps inc minimum 6000rpm
offonalarm: false

probe:
pin: gpio.34:low
checkmodestart: true

toolsetter_pin: gpio.36:low

control:
safetydoorpin: gpio.39:low:pu
cyclestartpin: NO_PIN
feedholdpin: NO_PIN
resetpin: NOPIN
macro0_pin: gpio.36:low:pu
macro1pin: NOPIN
macro2pin: NOPIN
macro3pin: NOPIN

Using MOSFETs (Check Spindle Pin Usage

coolant:

# flood_pin: gpio.12
# mist_pin: gpio.4
# delay_ms: 0

coolant:
flood_pin: gpio.12

continuous air

mist_pin: gpio.4

pulsed air

delay_ms: 0

parking:
enable: true
axis: Z
pulloutdistancemm: 5.000
pulloutratemmpermin: 250.000
targetmposmm: 0.000
ratemmper_min: 800.000

#user_outputs:

analog0pin: NOPIN

analog1pin: NOPIN

analog2pin: NOPIN

analog3pin: NOPIN

analog0_hz: 5000

analog1_hz: 5000

analog2_hz: 5000

analog3_hz: 5000

digital0pin: NOPIN

digital1pin: NOPIN

digital2pin: NOPIN

digital3pin: NOPIN

start:
must_home: false

macros:
startup_line0:
startup_line1:
macro0: $H
#unlock and home XYZ
macro1: G38.2 G91 Z-46 F100&G0 Z1&G38.2 G91 Z-2 F50&G10 L20 P1 Z4.985&G10 L20 P2 Z4.985&G10 L20 P3 Z4.985&G10 L20 P4 Z4.985&G10 L20 P5 Z4.985&G10 L20 P6 Z4.985&G53 G0 Z0&G90
#z-probe
macro2:
macro3: $SD/Run=lasertest.gcode

#begin PWM

pwm:

# pwm_hz: 5000
# directionpin: NOPIN
# output_pin: gpio.13
# enable_pin: gpio.14
# disablewiths0: false
# s0withdisable: true
# spinup_ms: 0
# spindown_ms: 0
# tool_num: 0
# speed_map: 0=0.000% 10000=100.000%
# offonalarm: false

#begin Laser

Laser:

# pwm_hz: 5000
# output_pin: gpio.4
# enable_pin: gpio.12
# disablewiths0: false
# s0withdisable: true
# tool_num: 1
# speed_map: 0=0.000% 255=100.000%
# offonalarm: true
`

Startup Messages

`text
Resetting MCU
[MSG:INFO: uart_channel0 created]
[MSG:RST]
[MSG:INFO: FluidNC v3.9.4 https://github.com/bdring/FluidNC]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty]
[MSG:INFO: Local filesystem type is littlefs]
[MSG:INFO: Configuration file:config.yaml]
[MSG:ERR: Configuration parse error on line 71: Expected a float value like 123.456]
[MSG:INFO: Machine 6x Default]
[MSG:INFO: Board 6x]
[MSG:INFO: Stepping:I2S_STREAM Pulse:4us Dsbl Delay:0us Dir Delay:1us Idle Delay:254ms]
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Core 1 register dump:
PC : 0x40108b5e PS : 0x00060230 A0 : 0x800eddce A1 : 0x3ffb2200
A2 : 0x3ffbddc0 A3 : 0x3ffc69ac A4 : 0x3f402ed1 A5 : 0x00000001
A6 : 0x00000000 A7 : 0x003fffff A8 : 0x00000000 A9 : 0x3ffb21e0
A10 : 0x00000001 A11 : 0x00000004 A12 : 0x0000000a A13 : 0x00000013
A14 : 0x3ffb225c A15 : 0x00000000 SAR : 0x00000013 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000004 LBEG : 0x4008d5e9 LEND : 0x4008d5f9 LCOUNT : 0xffffffff

Backtrace: 0x40108b5b:0x3ffb2200 0x400eddcb:0x3ffb2240 0x40129a2a:0x3ffb2290

ELF file SHA256: b379c673bc8e0bd1

Rebooting...
[MSG:INFO: uart_channel0 created]
[MSG:RST]
[MSG:INFO: FluidNC v3.9.4 https://github.com/bdring/FluidNC]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty]
[MSG:INFO: Local filesystem type is littlefs]
[MSG:ERR: Skipping configuration file due to panic]
[MSG:INFO: Using default configuration]
[MSG:INFO: Axes: using defaults]
[MSG:INFO: Machine Default (Test Drive)]
[MSG:INFO: Board None]
[MSG:INFO: Stepping:RMT Pulse:4us Dsbl Delay:0us Dir Delay:0us Idle Delay:255ms]
[MSG:INFO: Axis count 3]
[MSG:INFO: Axis X (-1000.000,0.000)]
[MSG:INFO: Motor0]
[MSG:INFO: Axis Y (-1000.000,0.000)]
[MSG:INFO: Motor0]
[MSG:INFO: Axis Z (-1000.000,0.000)]
[MSG:INFO: Motor0]
[MSG:INFO: Kinematic system: Cartesian]
[MSG:INFO: STA SSID is not set]
[MSG:INFO: AP SSID FluidNC IP 192.168.0.1 mask 255.255.255.0 channel 1]
[MSG:INFO: AP started]
[MSG:INFO: WiFi on]
[MSG:INFO: Captive Portal Started]
[MSG:INFO: HTTP started on port 80]
[MSG:INFO: Telnet started on port 23]

Grbl 3.9 [FluidNC v3.9.4 (wifi) '$' for help]
[MSG:ERR: Configuration is invalid. Check boot messages for ERR's.]

User Interface Software

FluidTerm

What happened?

[MSG:ERR: Configuration is invalid. Check boot messages for ERR’s.] -> [MSG:ERR: Skipping configuration file due to panic]

Brand nerw controller, installed, powered up, I downloaded 3.9.4, ran install-fs, then install-wifi, then uploaded my config.yaml, which was customised from the one on this page:
http://wiki.fluidnc.com/en/hardware/official/6xCNCController

GCode File

No response

Other Information

No response


评论 (3)

#1 – bdring 于 2025-01-14

Try removing the trailing comments. There are several.

!image

!image


#2 – daxliniere 于 2025-01-14

ahhh, sorry! Will do now. Thanks for the tip.

(Perhaps the error message I got could go into the wiki at some point)


#3 – daxliniere 于 2025-01-14

Yep, you got it. (Seems to not like it on second line under some circumstances)


原始Issue: https://github.com/bdring/FluidNC/issues/1426

喜欢 (0)