-->
Page 1 of 1

Issue with ESP 12 Hysiry module

PostPosted: Mon Apr 30, 2018 6:09 am
by debojitk
Hi,
I wrote a quite big program using Arduino ide and that runs on my node mcu (by doit.am) very fine. Now I bought another nodemcu (by amica) where the same programs fails to run. I can only see series of garbage in the serial console. I observed that for the later one the esp 12 module is made by Hysiry where as the first one is from AI Thinker. However simpler and smaller programs run well on the Hysiry one.
I found some forums where it says Hysiry modules have problems for flash mode (http://forum.espruino.com/conversations/305323/). They say instead of QIO, DIO should be used.
If so then how to provide that flash mode input via arduino ide?
Can anyone explain the problem in details and put some light on the issue?

Thanks,
Debojit

Re: Issue with ESP 12 Hysiry module

PostPosted: Mon Apr 30, 2018 6:53 am
by schufti
If you selected NodeMcu then DIO is automtically set.

To have more fredom of settings, select "Generic ESP module".

to see more than "garbage" during boot in the serial console, set baudrate in console window to 74880

Re: Issue with ESP 12 Hysiry module [SOLVED]

PostPosted: Wed May 02, 2018 12:40 am
by debojitk
Hi,
Thanks for the reply. Indeed it worked.
I discovered few points on Hysiry module and PL2303 based USB to UART converters. Mentioning those might help others facing similar problem.
1. Upload speed - 115200. CP2102/CH340g worked with 921600, but PL2303 (a fake probably) worked only with 115200.
2. Board - NodeMCU 1.0, not v0.9. PFB excerpts from boards.txt
Code: Select all##############################################################
nodemcuv2.name=NodeMCU 1.0 (ESP-12E Module)

nodemcuv2.upload.tool=esptool
nodemcuv2.upload.speed=115200
nodemcuv2.upload.resetmethod=nodemcu
nodemcuv2.upload.maximum_size=1044464
nodemcuv2.upload.maximum_data_size=81920
nodemcuv2.upload.wait_for_upload_port=true
nodemcuv2.serial.disableDTR=true
nodemcuv2.serial.disableRTS=true

nodemcuv2.build.mcu=esp8266
nodemcuv2.build.f_cpu=80000000L
nodemcuv2.build.board=ESP8266_NODEMCU
nodemcuv2.build.core=esp8266
nodemcuv2.build.variant=nodemcu
nodemcuv2.build.flash_mode=dio
nodemcuv2.build.flash_size=4M
nodemcuv2.build.flash_freq=40
nodemcuv2.build.debug_port=
nodemcuv2.build.debug_level=
nodemcuv2.build.lwip_lib=-llwip
nodemcuv2.build.lwip_flags=


3. Max serial baud rate - 921600, >1000000 does not work. AI Thinker modules work with 1000000 speed. These high speed are rarely required however.