Marlin icon indicating copy to clipboard operation
Marlin copied to clipboard

Start from beginning

Open faronov opened this issue 6 years ago • 6 comments
trafficstars

I have some question regarding this cool project

  1. this branch still actual? or everything that needed for running esp32 as controller already exists in official marlin branch?
  2. I try out official Marlin branch, it compiles without a problem and I also able flash this binary to dev board but big question if I upload code to some esp32 dev board like "DOIT Esp32 DevKit v1" project will run without a connection to additional hardware? for my test, it's just crashed and I try to understand this because some hardware must be connected and if it's missing I must expect that it crashes? I like the idea to use esp32 as the controller board

if it's expected that devices won't' boot without additional hardware what is the minimum required hardware? I plan to create some minimal with SPI drivers And want start from some minimal hardware connected to this board

faronov avatar Apr 02 '19 12:04 faronov

I only see ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:928 ho 0 tail 12 room 4 load:0x40078000,len:9280 load:0x40080400,len:5860 entry 0x40080698

when connecting flashed device to serial port

faronov avatar Apr 02 '19 17:04 faronov

Looks like I have low power for running esp + wifi enabled from USB removing USB support helped to run Marlin official build successfully this branch has an error in building step Marlin\src\module/stepper.h:150:102: error: no matching function for call to 'max(long int, long unsigned int)'

faronov avatar Apr 03 '19 05:04 faronov

@faronov Simon code is already merged to Marlin 2.x - and Marlin is more up to date Also be sure you use latest ESP32 core - I mean latest GIT not the released one Also even there is a basic WebUI in marlin 2.x you may want to test the port of ESP3D for Marlin : https://github.com/luc-github/Marlin/tree/bugfix-2.0.x

luc-github avatar Apr 03 '19 19:04 luc-github

thanks

faronov avatar Apr 08 '19 06:04 faronov

How I can be sure that I use the latest esp32 core in Platformio?

faronov avatar Apr 08 '19 06:04 faronov

I do not use PlatformIO so I cannot be sure but reading http://docs.platformio.org/en/latest/platforms/espressif32.html?utm_source=github&utm_medium=arduino-esp32#using-arduino-framework-with-staging-version

Stage version should be up to date as GIT was updated one month ago
If it can help for checking : on latest GIT ESP.getSdkVersion() give me v3.3-beta1-506-gebdcbe8c6

luc-github avatar Apr 08 '19 08:04 luc-github