bigtreetech / SKR-3

156 stars 63 forks source link

ESP32 board firmware not installing on SKR 3 EZ #8

Open dstrohl opened 2 years ago

dstrohl commented 2 years ago

I seem to be unable to get the ESP32 wifi board to install on the system.

My steps: I installed a ESP32 board on a BTT SKR 3 EZ motherboard per the docs, I configured Marlin serial port 3 per the docs and installed that version on the board. I downloaded the current firmware from the wiki link and compiled it in Platform IO. *no changes in any config files. I copied the firmware.bin file from the esp8266 directory to an sd card and named it esp3d.bin, then inserted that in the board's SD card slot and reset the board. the red status lite blinked for a few minutes on both the SKR and ESP boards... then the status lite went out. according to the docs, the file should be renamed to esp3d.cur afterwards, but the .bin file remained.

At this point. I am not seeing a wifi network with the name of ESP3D. I am seeing one called ESP_xxxxxx (with the xxxxxx being the last 6 of the MAC address on the board) when I connect to that network, (no password), it provides an address in the 192.168.4.x range, and the .1 host does not accept any connections.

Am I missing something? do I need to change something in the firmware? is there a log file or other error message that would tell me what is going on that the firmware did not seem to install correctly?

The instructions on luc-github seem to imply that I need to install the firmware before installing the card on the board... but the instructions in the docs do not mention that.

PalosX commented 2 years ago

don't change the firmware name. It doesn't recognize it, use the name it is made with firmare.bin. Did the same thing took forever to figure out

dstrohl commented 2 years ago

I tried that and the motherboard board did not boot at all, the status light kept blinking after about 20 minutes I reset it. I was assuming that the motherboard was then trying to load firmware.bin as it's own firmware. not true?

PalosX commented 2 years ago

Insert sd card with boartd off then power up. What a minute then check if file extension changed to CUR.

dstrohl commented 2 years ago

yup, that's what I did, inserted the sd card into the skr slot with the power off, when the firmware was named firmware.bin, the power came up, and the status light never stopped blinking.. but the firmware.bin file was renamed to firmware.cur. if I rebooted, the board never actually finished booting at that point. If I put the old firmware.bin back on (with marlin), it booted and copied the firmware and worked fine (but still no wifi). (hence my thinking that what was happening was that the skr board was taking any file that was called firmware.bin and trying to load it into it's own memory, not passing it through to the esp board.

PalosX commented 2 years ago

You have to use a boot loader watch these to videos sorry not a bootloader a writer https://www.youtube.com/watch?v=NGgzw-XayEo https://www.youtube.com/watch?v=wpZq2_nD0Ho https://www.aliexpress.com/item/2255800313891542.html?spm=a2g0o.detail.1000060.1.63f76877FBsFeI&gps-id=pcDetailBottomMoreThisSeller&scm=1007.13339.274681.0&scm_id=1007.13339.274681.0&scm-url=1007.13339.274681.0&pvid=a4d35025-9b96-4455-95f8-bb64cff34ebc&_t=gps-id:pcDetailBottomMoreThisSeller,scm-url:1007.13339.274681.0,pvid:a4d35025-9b96-4455-95f8-bb64cff34ebc,tpp_buckets:668%232846%238110%231995&pdp_ext_f=%7B%22sku_id%22%3A%2210000002328850465%22%2C%22sceneId%22%3A%223339%22%7D&pdp_npi=2%40dis%21USD%21%213.14%21%21%21%21%21%40210323a216587881839868463eb78d%2110000002328850465%21rec