Skip to content

Add "MH ET LIVE ESP32 Devkit and Minikit" board Support #482

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

Closed
wants to merge 27 commits into from

Conversation

MHEtLive
Copy link

@MHEtLive MHEtLive commented Jul 4, 2017

No description provided.

@MHEtLive
Copy link
Author

MHEtLive commented Jul 4, 2017

@me-no-dev Want to add board support,please. is it correct?

Copy link
Member

@me-no-dev me-no-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this board? Link? Image?

boards.txt Outdated
@@ -671,6 +671,60 @@ nodemcu-32s.menu.UploadSpeed.512000.upload.speed=512000

##############################################################

MH-ET-LIVE-ESP32DevKIT.name=MH ET LIVE ESP32DevKIT

esp32.upload.tool=esptool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can not use esp32 as board id ;) already defined!

boards.txt Outdated

esp32.build.mcu=esp32
esp32.build.core=esp32
esp32.build.variant=esp32
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

variant need to match the folder name of the variant with pins_arduino.h

@@ -0,0 +1,61 @@
#ifndef Pins_Arduino_h
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use lower case letters for variant (MH ET...) no spaces also!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your reply! The linkhere:http://forum.mhetlive.com

@MHEtLive
Copy link
Author

MHEtLive commented Jul 4, 2017

@me-no-dev Thanks for your reply! The linkhere:http://forum.mhetlive.com

@MHEtLive
Copy link
Author

@me-no-dev Hello! I have changed some incorrect points . Is it all right to be added? Thanks!

@MHEtLive MHEtLive changed the title Add "MH ET LIVE ESP32DEVKIT" board Support Add "MH ET LIVE ESP32 Devkit and Minikit" board Support Jul 21, 2017
@me-no-dev
Copy link
Member

have you tested this in Arduino IDE?

@capedra
Copy link

capedra commented Aug 2, 2017

@me-no-dev

Not working on my MH ET LIVE ESP32 Minikit. Here's the output of esptool:


C:\Users\APJ\Documents\Arduino\hardware\espressif\esp32/tools/esptool.exe --chip esp32 --port COM5 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:\Users\APJ\Documents\Arduino\hardware\espressif\esp32/tools/partitions/boot_app0.bin 0x1000 C:\Users\APJ\Documents\Arduino\hardware\espressif\esp32/tools/sdk/bin/{build.boot}.bin 0x10000 C:\Users\APJ\AppData\Local\Temp\arduino_build_77328/SD_ESP32_mount.ino.bin 0x8000 C:\Users\APJ\AppData\Local\Temp\arduino_build_77328/SD_ESP32_mount.ino.partitions.bin

usage: esptool write_flash [-h] [--flash_freq {keep,40m,26m,20m,80m}]
                           [--flash_mode {keep,qio,qout,dio,dout}]
                           [--flash_size FLASH_SIZE]
                           [--spi-connection SPI_CONNECTION] [--no-progress]
                           [--verify] [--compress | --no-compress]
                           <address> <filename> [<address> <filename> ...]

esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'C:\\Users\\APJ\\Documents\\Arduino\\hardware\\espressif\\esp32/tools/sdk/bin/{build.boot}.bin'

esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'C:\\Users\\APJ\\Documents\\Arduino\\hardware\\espressif\\esp32/tools/sdk/bin/{build.boot}.bin'

@capedra
Copy link

capedra commented Aug 2, 2017

@me-no-dev
Hello Hristo, nice to be here talking to you. Esptool is not working with these boards.
Update: I'm currently using the latest SDK of ESP32 on Arduino IDE over Windows 10.

@MHEtLive
Copy link
Author

MHEtLive commented Aug 2, 2017

@me-no-dev Yes,i have tested in Arduino IDE? And make the guide in forum.
Forum here: http://forum.mhetlive.com/category/2/devkit-minikit-testing

@capedra
Copy link

capedra commented Aug 2, 2017

@me-no-dev I did that but the problem persists.

@me-no-dev
Copy link
Member

@capedra see my comments above ;) one new line needs to be added to each board definition

@capedra
Copy link

capedra commented Aug 2, 2017

@igrr
@me-no-dev what comment? I made all these 3 changes on boards.txt file and also the variant files for both boards. Maybe the problem resides on the uppercase letters "MH-ET-LIVE-ESP32DevKIT" and "MH-ET-LIVE-ESP32MiniKit" located on boards.txt? I could test that. But I think that it's an issue on esptool.

@me-no-dev
Copy link
Member

@capedra it is NOT an issue with esptool! it's an issue with the configuration!
add the following lines to the boards, reboot arduino IDE and try again!

MH-ET-LIVE-ESP32DevKIT.build.boot=bootloader
MH-ET-LIVE-ESP32MiniKIT.build.boot=bootloader

@capedra
Copy link

capedra commented Aug 2, 2017

@me-no-dev
thank you very much! I couldn't find that comment anywhere. I'm going to test it right now.
after that, I'm going back to my SD card issue on MH-ET Live Mini, which is not being mounted.

@capedra
Copy link

capedra commented Aug 2, 2017

well, sometimes it mounts, sometimes it doesn't.

@MHEtLive
Copy link
Author

MHEtLive commented Aug 2, 2017

@me-no-dev Hello! Do you mean,add the two lines to the boards.text?

@capedra
Copy link

capedra commented Aug 2, 2017

Typo:

MH-ET-LIVE-ESP32MiniKit.build.boot=bootloader

@MHEtLive
Copy link
Author

MHEtLive commented Aug 2, 2017

@capedra I also got the issue you mentioned about the SDcard in my test just now. I will try to work out why.

@capedra
Copy link

capedra commented Aug 2, 2017

@me-no-dev
thank you. the configured board is working well now.

@MHEtLive okay, thanks. I really need the SD card working but it doesn't mount anymore. Please help.

also, add the following two lines at the boards.txt file:

MH-ET-LIVE-ESP32DevKIT.build.boot=bootloader
MH-ET-LIVE-ESP32MiniKit.build.boot=bootloader

@capedra
Copy link

capedra commented Aug 2, 2017

@MHEtLive Card Mount Failed

@MHEtLive
Copy link
Author

MHEtLive commented Aug 2, 2017

I wonder if it is similar to this issue bellow.
#272

@capedra
Copy link

capedra commented Aug 2, 2017

@MHEtLive I already tested it with two different SD card modules but the problem persists.

@MHEtLive
Copy link
Author

MHEtLive commented Aug 2, 2017

@capedra @me-no-dev
I also tested it with different mainboards,32thing,doit esp32 and mhesp32devkits.However i found that "Card Mount Failed" appeared nearly a third of resting times, with all these boards.

@capedra
Copy link

capedra commented Aug 3, 2017

@MHEtLive @me-no-dev It's probably some hardware issue of ESP-32. Because it was working just before I pressed the reset button of the board.

@capedra
Copy link

capedra commented Aug 3, 2017

@MHEtLive My MH-ET Live MiniKit just died. Could you please send me a new one? And I just figured it out something wrong on the official diagram. Thanks!

Edit:
something wrong about the pins here: http://mh.nodebb.com/assets/uploads/files/1497417590890-1111.jpg?v=hfe2ofo3e00

@MHEtLive
Copy link
Author

MHEtLive commented Aug 3, 2017

@capedra Hello.What is wrong on the official diagram? And could you please tell me what`s happened with your minikit and where did you buy it ? BTW,you can contact us on the mherlive forum.

@capedra
Copy link

capedra commented Aug 4, 2017

@MHEtLive Hi. RXD pin is actually TXD pin and vice-versa. I tested it here. Actually, the ESP32 didn't die but the female micro-USB connector broke up very easy! Also, I can't flash it anymore because the connector is broken, and I can't initialize any SD cards on Arduino IDE or even MicroPython.
Edit: I bought it on AliExpress.

@MHEtLive
Copy link
Author

MHEtLive commented Aug 4, 2017

@capedra Hello capedra.OK.The first issue may just a mistake that i haven`t point out is it OUTPUT/INPUT RXD/TXD on the board. The issue about the usb would be solved with a new version.Could you give me your email, In order to do more things for you?

@capedra
Copy link

capedra commented Aug 4, 2017

@MHEtLive Sure. Well, I can't program the board using these pins. In other words, it's not letting me flash any new firmware using these pins (RXD/TXD). My e-mail is capedra@gmail.com. Thanks!

@MHEtLive
Copy link
Author

@me-no-dev @reaper7 Thank you so much.

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

Successfully merging this pull request may close these issues.

3 participants