Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can I use esp-01 to replace esp-12f #3

Open
yu3000 opened this issue Dec 18, 2023 · 7 comments
Open

can I use esp-01 to replace esp-12f #3

yu3000 opened this issue Dec 18, 2023 · 7 comments

Comments

@yu3000
Copy link

yu3000 commented Dec 18, 2023

Thanks for your share, I only have a esp-01,can I use it without modifing the firmware codes?

@apollo80
Copy link
Owner

Greetings.
It should work in theory, because in fact only TX/RX and power management are used. The chipset itself is the same - esp8266.

@yu3000
Copy link
Author

yu3000 commented Dec 18, 2023

OK, I will have a try and give a feedback then.
Thanks very much

@yu3000
Copy link
Author

yu3000 commented Dec 22, 2023

I couldn't find my esp-01 and find a nodemcu(esp32), I have finished mdifying codes wireless_klipper_sta and patching klipper and finished a compile to get a klipper's hex file ,please see my attachment later.
Actually, my printer's mcu is mks gen 2.1,which is based on mega2560, I don't know where to put the klipper's hex file , node mcu or printer's mcu and how to flash it?

@yu3000
Copy link
Author

yu3000 commented Dec 22, 2023

1
2

@yu3000
Copy link
Author

yu3000 commented Dec 22, 2023

I use “socat pty,link=/tmp/ttyS0,raw,echo=0 tcp:espip:8888" to create virtual serial port 。
make flash FLASH_DEVICE=/tmp/ttyS0
with above commond, the hex will be flashed to my esp wifi mcu? However ,I think the device flashed should be my printer's mcu?

@apollo80
Copy link
Owner

apollo80 commented Dec 23, 2023

Greeting.
It seems to me that for the firmware MKS Gen I v.2.1 everything should be a little different.
See https://github.com/makerbase-mks/Klipper-for-MKS-Boards/tree/main/MKS%20Gen%20l

@apollo80
Copy link
Owner

Hi, yu3000

I admit that I was wrong. I didn't know that it was possible to upload the mcu firmware not via an sdcard.

I've looked through the documentation and code - I'll try to integrate into the existing ecosystem. I must say right away - downloading via a virtual serial port (via socat) will not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants