makerbase-mks / MKS-WIFI

MKS TFT WIFI and MKS ROBIN WIFI , share the same firmware. Support MKS Robin series board and MKS TFT series board, for cloud printing and LAN printer controling……
https://www.aliexpress.com/item/32816882694.html?spm=2114.12010615.8148356.1.7bebc9cfK4bWPy
94 stars 38 forks source link

How to configure platformio to compile ESP3D for this board ... #23

Open themacboy opened 3 years ago

themacboy commented 3 years ago

Hello,

I use Marlin Color UI, then Im forced to use ESP3D software (https://github.com/luc-github/ESP3D) to run my wi-fi.

But unfortunatelly Im not skilled on that and Im not sure how to configure platformio to run it.

Someone has do it before?

themacboy commented 3 years ago

Hello? Is there any technician?

ColdBeer72 commented 3 years ago

Sorry, I'm not a technician (but we know each other from Telegram): https://github.com/luc-github/ESP3D/issues/593

themacboy commented 3 years ago

Hahaha I know that post hehehe but dint work for me.

After mkswifi.bin update, I load the Weui, then restart and when log again it says my firmarse is probably not correct :(

themacboy commented 3 years ago

As I dont have any flasher hardware what I do is:

  1. In VS code set env: esp8266dev
  2. Compile and rename file to MksWifi.bin
  3. First flash my MKS Robin Nano v.2 and v.3 with MKS UI (is the only way it loads the wifi firmware without a flasher)
  4. Restart my printer and wait for the update.
  5. Flash my MKS Robin Nano v.2 and v.3 with Marlin Color UI.
  6. Connect to the ESP3D module from my mobile and load index.html.gz.
  7. Restart all
  8. Try to connect but receive a message that says my firmware is probably wrong hehehe

    I miss what Im doing worng !

    p.d: I know ! I must purchase a card flasher utility hahaha pending to see whats the correct one. ;)

ColdBeer72 commented 3 years ago

Hi again!

I made TWO changes on platformio.ini before compiling ESP3D:

default_envs = esp8266dev
board_build.ldscript = eagle.flash.4m3m.ld

Then, something like you with points 2, 3, 4 (I've got MKS_UI full time, so didn't need more changes). Step 6 made by me exactly like you. But I didn't need to restart anything: you upload index.html.gz and in the browser reload the page and configure it.

themacboy commented 3 years ago

ummm with the MKS_UI what serial port did you configured?

Currently I have used the default eagle.flash.4m2m.ld