grblHAL on a Jackpot?

No, I haven’t done this nor do I plan on trying it.

I saw that on the grblHAL web builder, there’s an option in the dropdown for the Jackpot. It specifically notes “Not tested!” but it’s an interesting thought.

https://svn.io-engineering.com:8443/

At a quick glance, there are some things in grblHAL that FluidNC doesn’t have that are interesting to me such as:

Like I said, I’m not doing anything with this, but I found it interesting.

5 Likes

I started to load it a while back but did run into an issue. I can’t remember if I opened a bug report or not.

I would love to have options, and that web builder is a pretty nice touch.

1 Like

I have my skr flashed with grbl hal but it have almost 1.5y and never connected to the diode laser after that.
Will take the chance to connect it and test for you guys

Would it be safe to flash the jackpot? I have a couple of esp32 around. Could also try

De-zombie this thread.
I’m working to try and load one of my Jackpot V1s with GrblHAL.

Note- as I read through the plugins, it looks like there’s a Wiznet plugin. What’s that you might be wondering? Support for wired ethernet. (Would need a board revision to use most likely or maybe a module for the expansion header on a Jackpot).

At any rate, details as they emerge.

2 Likes

Managed to use the Web builder and chose a Jackpot V1. Used a fresh genuine ESP-32.
Had a devil of a time flashing it, eventually broke down and used a windows box with the Espressif flash tool and sorted out the bootloader, partition, and firmware sizes.

Managed to get grblHAL on a Jackpot V1 board, and can connect to the grblHAL AP.

I must have goofed something because I don’t get the full WebUI.

Notes:
Default AP is named grblHAL_AP and the default password is grblHALpwd

Not sure how to get a boot log out of this thing, and this is on my office test bench not on a machine. If I feel ambitious, I’ll throw some spare motors on it.

I built it with SD card support, but with no real WebUI on it there’s not much more to do at the moment.

Serial output from the CP2102 port on the Jackpot:


GrblHAL 1.1f ['$' or '$HELP' for help]
$0=5.0
$1=25
$2=0
$3=0
$4=7
$5=0
$6=0
$8=0
$10=511
$11=0.010
$12=0.002
$13=0
$14=0
$15=0
$16=0
$17=0
$18=0
$19=0
$20=0
$21=0
$22=0
$23=0
$24=25.0
$25=500.0
$26=250
$27=1.000
$28=0.100
$29=0.0
$32=0
$37=0
$39=1
$40=0
$41=0
$42=2
$43=1
$44=4
$45=3
$46=0
$56=5.0
$57=100.0
$58=-5.0
$59=500.0
$60=0
$62=0
$63=3
$64=0
$65=0
$70=6
$73=2
$74=
$75=
$76=grblHAL_AP
$77=grblHALpwd
$78=01
$79=1
$100=250.00000
$101=250.00000
$102=250.00000
$110=500.000
$111=500.000
$112=500.000
$120=10.000
$121=10.000
$122=10.000
$130=200.000
$131=200.000
$132=200.000
$140=500
$141=500
$142=500
$150=16
$151=16
$152=16
$200=22.0
$201=22.0
$202=22.0
$210=50
$211=50
$212=50
$220=22.0
$221=22.0
$222=22.0
$310=grblHAL_AP
$312=192.168.5.1
$313=192.168.5.1
$314=255.255.255.0
$320=grblHAL
$322=192.168.5.1
$323=192.168.5.1
$324=255.255.255.0
$326=80
$327=81
$337=
$338=7
$339=0
$341=0
$342=30.0
$343=25.0
$344=200.0
$345=200.0
$346=1
$372=0
$384=0
$392=4.0
$393=1.0
$394=0.0
$396=30
$397=0
$398=100
$481=0
$484=1
$485=0
$486=0
$539=0.0
$650=0
$673=0.0
$676=3
$680=0
ok

GrblHAL 1.1f ['$' or '$HELP' for help]
[MSG:WIFI AP CONNECTED]
[MSG:WEBSOCKET STREAM ACTIVE]
[MSG:SERIAL STREAM ACTIVE]
[MSG:WIFI AP DISCONNECTED]

Edit:

Turns out you have to get the WebUI from here: https://raw.githubusercontent.com/luc-github/ESP3D-WEBUI/3.0/dist/CNC/GRBLHal/index.html.gz and upload it. Much like FluidNC.

Then… Look familiar?

Edit 2:
For the flash tool,

bootloader.bin resides at 0x1000
partitions.bin resides at 0x8000
  firmware.bin resides at 0x10000

Edit3- I’ll look over the FluidNC Posix installer, but basically to flash this on Linux would need to get the virtual environment for Python3 set up to run esptool.py. FluidNC has done a bunch of work to get this correct. In the moment of the first try I didn’t do a great job of reverse engineering it which is why I gave up and rolled over to the Windows box.

Edit4- For the record, grblHAL runs on Jackpot V1.

3 Likes

Nice!

I just took a peak at how Scienci Labs does it. Firmware & Flashing - SuperLongBoard, straight from gsender. I think that is always assuming an update though. hex file to upload.

1 Like

Looks lik gsender builds in some variant of the flashing tool, which you can do if you’re always connected over USB.

I won’t get back to this for at least a day. I did look at the Ethernet plugin, it appears to be RP2040 and STM32 at present. At first glance, there’s no reason it couldn’t work on ESP32- but perhaps there’s some limitation of SPI that I don’t understand.

One question would be whether it would make sense to have a header on a board for something like the W5500 to plug into.

That’s a $6 Ethernet module.

Maybe Ethernet instead of wifi is a red herring, but it has my attention for the moment.

I should hook up motors at some point to play more with grblHAL on the Jackpot V1

2 Likes

It would need to be Highlighted, bold, italics, etc that it needs to be wired for that to work :slight_smile:

what kind of resources would that put on the Esp32, I have not seen on Discord or anywhere that fluidnc even builds in the resources needed to do wired. It would be a nice option.

Or are you talking grblhal?

i am sooooo intrigued with Grblhal. i wish i could take down my setup and try it. I need to get my project done (not even started, bahahaha) Then i can look at it.

FluidNC doesn’t.

Yes, this thread is about grblHAL on Jackpot.
ESP-32 has two cores. One core is essentially dedicated to running the radio (wireless or bluetooth, pick one). Doesn’t matter what app.

grblHAL has the architecture to support many targets, the real question is how much impact would an SPI ethernet have on the system as a whole. I suspect the reason the ESP-32 target doesn’t currently support it is because no one has tried. Partly, no one has tried because none of the controllers have an Ethernet physical layer. Chicken/egg.

Other targets- like the teensy- have Ethernet directly supported in the hardware as-is, so you see that option with those targets.

2 Likes

I don’t want to send anyone on a wild goose chase, but if it were possible to connect a PC to the ESP32 via Ethernet, would this avoid the issue with 5V power over USB to the ESP32 via the USB cable/port?

Just a thought, as G-Sender can connect to the Jackpot/ESP32 via USB or Via Ethernet in it’s connection dialog.

I have a USBC to Ethernet dongle and tried that with an Ethernet RJ45 connection at the PC and an Ethernet to USB-C and USB-C to Mini USB connection at the ESP32

Needless to say, this did not work :wink:

Let’s be clear about this, there are hundreds of machines in active use with the system as designed. There isn’t an issue with the USB interface, and even among users that have a permanent USB tether, there is only a very small number of users who have ever reported an issue.

That can’t ever work. The ESP-32 WROOM dev board USB port has a serial UART chip. The ESP-32 doesn’t have a USB host port.

The grblHAL support is for an SPI Ethernet interface, so if we could add this it would require a board spin to present a header for the SPI attached Ethernet interfaces.

That last bit is interesting, and there are benefits to Ethernet. Supplementing the USB interface would have a bunch of potential benefits.

2 Likes

I found a dev board For rj45 to esp32, but do we even know if grblhal can support that?

any ESP32 can easily be ethernet-enabled using a W5500 module

Ok right here it says ethernet or wifi!!!

If you click on networking hyperlink it shows support For certain caBled ethernet as they call it

1 Like

Read the fine print. As far as I can tell, no ESP-32 boards support it, presently Teensy or STM32 only.

Would need to add the ESP-32 target first for the Ethernet driver.

1 Like

I went through the devices and saw that. Now being that the pc is feeding the instruction to the board, can those others be as good as the esp32???

What about this?

https://www.digikey.com/en/products/detail/seeed-technology-co-ltd/102991455/13572085?gclsrc=aw.ds&gad_source=1&gad_campaignid=20243136172&gbraid=0AAAAADrbLliFeOLuezjyvtL5QmFtwY5dy&gclid=Cj0KCQjw-4XFBhCBARIsAAdNOkvvIyIlROO7kLB0HZiuuOEm9y5djaHGOMHNjslhFBzawMEZIRvrI9waAm1PEALw_wcB

Isn’t a 38 pin board.

1 Like

So @MakerJim have you done anything with grblhal yet, to test? I just fell into Grblgru again. It looks fun. I had forgotten about it.

Now the YouTube I just saw did list fluidnc as a connection, but I swear I saw it would be problems since $ is not supported!