sm3dp / firmware_marlin2.0

GNU General Public License v3.0
2 stars 2 forks source link

Build instructions? #4

Open TomFrost opened 1 year ago

TomFrost commented 1 year ago

I built the V1.1 Board branch and got the firmware to build successfully. However, it is half the size of the official firmware release, and when I install it on my Lotmaxx Shark V2, the display stops responding after tapping icons in the Control menu.

Could you provide instructions on how the official release gets built?

I used platformio run -e lotmaxx_V1_7 both locally and in docker; both gave me the results described above.

muschaw commented 1 year ago

I'm also curious to test this build. Have you managed to get console access to the board via USB?

If so, could you please show the output of M115 & M503?

Thinking out loud - I did notice that the screens connect to a UART port on the board. Perhaps this screen also needs a firmware update to support Marlin 2.*?

jacoborobo commented 1 year ago

I solved the problem, you are right, the screen needs a firmware update and here is the very specific way to do it:

step 1: format a micro SD card to FAT32 with 4096 allocation bytes (or 4KB) selected in the options step 2: copy the DWIN_SET folder to the SD card step 3: insert the SD card into the slot on top of the LCD module, not the printer. step 4: power on the 3D printer. step 5: you should see a blue screen with some text appearing as the upload completes, wait 5 minutes. step 6: turn off the printer and remove the SD card step 7: turn the printer back on and navigate the menus, now the menus will be completely different from the original to accommodate the new printer firmware.

Here is a link to a Github page to someone else's pre-built firmware along with the LCD firmware that I used: https://github.com/spinixguy/sc-10-shark-v2-firmware

jacoborobo commented 1 year ago

here is another cool thing I found, its a custom firmware: https://github.com/EfelerGibi/Marlin-Mod-For-Lotmaxx-Shark-v2

TomFrost commented 1 year ago

@jacoborobo The 4kb allocation was the missing link! I was trying to add DWIN_SET with the stock SD card as-is, and it simply ended with 0 imports -- I assumed that meant I had everything up to date. Formatting it to 4kb was the solution. Thank you! This thing is a whole new printer now.

muschaw commented 1 year ago

@jacoborobo @TomFrost

Managed to compile a working 2.1.2.1 with screen & bltouch support.

I'm still working on it daily, but it should be safe - I kept it as close to the original marlin as much as possible.

https://github.com/muschaw/Marlin-2.1.2.1-Lotmaxx-Shark-v2-main