Pivariety IMX462 B0333 higher FPS and long exposure mode

I would like to upgrade the firmware on my Pivariety B0333 to support the longer shutter times. I have tried to use the firmware_update tool from this posting:

I get a segmentation fault when trying to run ./firmware_update. This is on my Raspberry Pi Zero W running the 2023-05-03 release of raspios Bullseye. I get the segmentation fault even when running “./firmware_update -h”. Any ideas why this is not working for me?