Firmware update folder[FirmwareUpdater]

What in the sweet jesus is a firmware update folder?

FROM:readme

"

LPC1768 Configuration

The only required setting is the path to the firmware update folder. If using usbmount it will probably be /media/usb .
"

I have a flash drive in the pi with the .hex and related tft source, I have mounted it to media/usb, what's next?

ok so I did the usbmount thing, allowing for writing permissions to media folder
but I am getting board reset failed errors @gloomyandy

I don't own a LPC1768 based board but isn't the firmware stored on the sd card or the sd card used to flash the firmware?
Wouldn't it be easier if you just copy the firmware onto the sd card?

right, but the sdcard has to be plugged into the printer right?

yeah but I mean to remove it, copy the firmware on it and put it back in shouldn't take much longer as using the firmware updater or am I wrong?

by use of arduino ide?

No just with a card reader and your pc? Which firmware are you using? Smoothieware ?

Just to be sure - you got a LPC1768 based board like a MKS SBASE, right?

1 Like

LPC1768 Configuration

The only required setting is the path to the firmware update folder. If using usbmount it will probably be /media/usb .

I run usbmount on my Raspberry. As a result, I end up with a series of mount points like this:

ls -R /media
  /media/usb0:
    BottleCap.gcode  microSD-clip.gcode  PauseButton.gcode  PauseButton.png
  /media/usb1:
    FIRMWARE.CUR config
  /media/usb2:
    main.py boot.py
  /media/usb3:
  /media/usb4:
  /media/usb5:
  /media/usb6:
  /media/usb7:

It usually also mounts the SD card in the Smoothieboard itself as one of these as well as the microSD card in the PyBoard that's also attached. The usb1 here would be the card in the Smoothieboard.

So, having installed usbmount, you would want to determine into which location the Smoothieboard's SD card is mounted on the Pi and then update that plugin's settings, presumably.

1 Like
ls -R /media
/media:
firmware.bin  usb  usb0  usb1  usb2  usb3  usb4  usb5  usb6  usb7

/media/usb:

/media/usb0:

/media/usb1:

/media/usb2:

/media/usb3:

/media/usb4:

/media/usb5:

/media/usb6:

/media/usb7:

I unplugged the tft touch screen from the mobo, I also tried manually flashing the board with arduino ide

1 Like

Ah. I think you need to configure usbmount.

  • sudo nano /lib/systemd/system/systemd-udevd.service
PrivateMounts=no

Reboot.

It might instead be...

MountFlags=shared

It all depends upon your version of usbmount.

1 Like

afaik LPC1768 based boards are not supported by the arduino ide

managed to get it manually flashed with arduin-ide set to mega2560

That worked?
Which board is it again?

mks gen l, should have specified that sooner

Yeah that would have helped because your board is mega2560 based which is 8bit and we thought it's a newer 32bit cpu.
Basically everything we said wasn't meant for your board :smiley:

i can't get mine to work.
I do a ls -R /media and i get this
pi@octopi:~ $ ls -R /media
/media:
usb usb0 usb1 usb2 usb3 usb4 usb5 usb6 usb7

/media/usb0:

/media/usb1:

/media/usb2:

/media/usb3:

/media/usb4:

/media/usb5:

/media/usb6:

/media/usb7:

I check my printer and it sees the files on it.
Please help

As suggested earlier, it may be easier to:

  • Shut down the printer
  • Physically remove the SD card
  • Put it in your workstation
  • Review the files there
1 Like