Hello All, I purchased an MPCNC kit with Jackpot controller last year (October, IIRC) but due to time constraints, only just now have it assembled and ready to test. This is my very first CNC of any kind. I have no problems connecting to it via WiFi AP mode and can manually jog each axis. They are moving smoothly and in the correct directions.
That’s the extent of what I can do though. The 32 GB MicroSD card won’t mount for some reason. It was purchased directly from V1E and I’ve verified the format is FAT32. I have no problems reading or writing to it in Linux, Windows, or Mac. I’ve spent several days going through the forums and all suggested solutions have not worked for me. Gcode file (for the crown drawing test) was created with EstlCAM. I only see “No SD Card” and the following error: [MSG:ERR: sdmmc_card_init failed code 0x108]
My yaml file appears to be configured correctly because $SS reports the following (which agrees with the stated FluidNC settings): [MSG:INFO: SPI SCK:gpio.18 MOSI:gpio.23 MISO:gpio.19] and [MSG:INFO: SD Card cs_pin:gpio.5 detect:NO_PIN freq:8000000]
I’ve tried changing the frequency to various other lower values but no change.
In light of this, I’ve tried to then connect via USB. The CP2012 drivers appear to have loaded correctly in both Linux and Windows but I cannot connect in Repetier Host or the Chrome based tool. It appears as “CP2102 USB to UART Bridge Controller (ttyUSB0) - Paired” in Chrome but then fails stating: “Could not establish connection to the controller. Please check that nothing else is connected to it.”
Currently running FluidNC v3.7.8 but haven’t been able to upgrade to latest since it won’t connect. Honestly, I’m not comfortable enough yet to try manually updating the firmware, would like to resolve these basic issues first.
I point Repetier host to the correct port, 250,000, and it never connects. I tried to connect via TCP/IP through port 23 and while it says it’s connected, it also does nothing and simply states “error 20”.
I hope it’s something simple I’m missing and appreciate any guidance!
You definitely need to update the firmware - there was an identified problem with 3.7.8 that meant when you uploaded a file it would try and write and request to read the SDCard at the same time.
Save a copy of your config.yaml
Take the esp32 off the jackpot board and plug into your windows PC
Run the web installer as per the fluidNC docs FluidNC Installation | Wiki.js
Alternatively use the OTA update button in the FluidNC interface - you’’ll need to be in STA mode connected to your local wifi not AP mode of course.
If that doesn’t work then troubleshoot that before trying lots of other things that muddy the water.
Well, I was able to successfully update to 3.7.18 but it’s still showing “No SD Card” with the [MSG:ERR: sdmmc_card_init failed code 0x108] error. What should I look at next?
Try replacing your config.yaml with the one I linked earlier. That’s the recommended config from March 2024. While we looked at the sdcard specific config, I’m not sure if there could be anything else interfering. If you’ve modified pulloff values, you’ll need to set them back to your values.
As a sanity check, how are you updating the config.yaml? Through the UI or manually uploading the config.yaml file? If through the UI, you need to click the Save macro to actually save the settings to file. Either way you update it, afterwards I would power off and power back on. If updating through the UI, you could also try uploading a manually edited config.yaml file.
Just wanted to note that error 20 means unsupported gcode command.
I did switch to that yaml file. No other modifications made so should be good in that regard.
I changed through the UI (along with clicking on the save macro) but then also manually uploading the file. I performed a soft reset but now I don’t recall if I did a hard reset though. The change did “keep” after the soft reset though.
Thank you for that, I did a cursory search but couldn’t find an exact explanation. Odd though as I wasn’t sending any gcode at the time, had nothing loaded.
Hmm, I thought I was replacing the config.yaml file but apparently not. I can see the original is 6889 bytes while the newer version is 7239. I tried manually uploading it and could see the file size change accordingly but after pressing save and restarting, it reverts back to the original. I’ve tried both deleting it and overwriting but to no avail.
The meta field still shows as being from 09-10-2023 and not the newer one from 03-15-2024. May I ask what the exact procedure should be, since I appear to be missing something?
Ah, been there, done that. So, when you upload the config.yaml file, it just uploads the file and does not load those settings until you power cycle. You do not want to use the save button. The save button basically says, take the settings that are currently loaded and save those to the config.yaml file. So, when you uploaded the file and then used the save button, it overwrote the file you uploaded with the current settings.
OK, I see now. I’m done for the day but will get back at it when I can. I really appreciate the help thus far and look forward to being up and running! A lot of new territory for me but I like a challenge and learning new skills/abilities.
Got it up to 3.8.0 but still the same error. I believe I uploaded all of the files correctly but could someone please verify the exact procedure (if I missed something)? I simply used the upload a file menu option in the Flash memory section.
The reason for my uncertainty is while I have the macros loaded, nothing shows up in the macros window anymore. However the correct config file is now loaded with the date of 03-15-24.
Barring that, are there other troubleshooting procedures I should pursue? I really appreciate everyone’s help so far and will continue to persevere!
For a full erase, download the full offline installer, then use erase.bat or erase.sh. You want a clean load from a completely wiped ESP32. File uploads don’t give you that.
OK. Just so I’m clear, I should follow the procedure as outlined here?: FluidNC Installation
Try reloading 3.8.0? Should I remove the ESP32 from the controller, as suggested several posts above? I will try to follow the V1 documentation then (screenshot attached).
Last time I tried a full wipe, (on Linux), I ran erase.sh, then install-wifi.sh, then install-fs.sh.
That seemed to do the trick for me and restored a flakey ESP-32. I did have the ESP-32 off of the jackpot when I did this.
I’m not sure I compeletely understand which install procedure does what erasing, but I am sure that uploading firmware from the web UI doesn’t erase everything- which is why I tried the steps noted above.
To update everyone, I’ve not had as much time to work on this as I’d like but over the weekend I continued tinkering. I had a very difficult time getting the offline files to run on any of the three OSs I have at my disposal. Had to do a lot of searching of individual errors then trying the suggested fixes until resolved.
Finally got erase.sh, install-wifi.sh, and install-fs.sh to run in Linux Mint and they appear to have run completely but I’ve not been able to get FluidTerm to run at all. Still trying to see why not. I did however try connecting the ESP32 back into the Jackpot after the first go-round and it still, sadly, reported No SD Card (after loading the config file in the Web UI). I’ve since run all three shell files again but would like to properly get FluidTerm running before trying it in the Jackpot again.
I believe the initial erase file is working because the FluidNC SSID disappears until I load it again.