loboris
Posts: 40
Joined: Tue Sep 15, 2015 7:47 am
Location: Zagreb, Croatia

Re: DoIT releases WiFiMCU -- like NodeMCU but on the EMW3165

Tue Nov 03, 2015 5:29 pm

oakkar7 wrote:Dear All,
I get emw3165 modules and EMWE-3165-A Development Board from seeedstudio. Thanks seeedstudio.
....
Any clues or help!

WiFiMCU enters bootloader when MICO_GPIO_2 (PB02) is low. It is pulled up on WiFiMCU, you have to place the 10K resistor between PB02 (pin 2 on EMW5165) to +3.3V on EMWE-3165-A Development Board

oakkar7
Posts: 4
Joined: Tue Oct 20, 2015 5:35 am

Re: DoIT releases WiFiMCU -- like NodeMCU but on the EMW3165

Wed Nov 11, 2015 5:59 am

thanks liboris,

But there is a boot switch in emw3165 board (which connected to RB02 pin). Whatever boot switch is Hi or Low ( I also measured RB02 pin's voltage), the board is always enter to bootloader mode.

Image

oakkar7/

doit_yp
Posts: 21
Joined: Wed Aug 19, 2015 1:06 am

Re: DoIT releases WiFiMCU -- like NodeMCU but on the EMW3165

Fri Nov 13, 2015 6:22 am

I think loboris is right.
We did not test the mxchip board like yours. May be the gpio status is not correct. Only MICO_GPIO_2(GPIOB2) go low will lead wifimcu enter into bootloader mode. Please check the board again.

I suggest you buy a wifimcu board to test :
http://www.smartarduino.com/view.php?id=94744

Here is the source code for wifimcu bootloader, you can check it at github:
https://github.com/SmartArduino/WiFiMCU ... Entrance.c

Code: Select all

if(MicoShouldEnterBootloader() == false)
    startApplication();
   
   
//[MICO_GPIO_2]                       = { GPIOB,  2 },
bool MicoShouldEnterBootloader(void)
{
  //if(MicoGpioInputGet((mico_gpio_t)BOOT_SEL)==false && MicoGpioInputGet((mico_gpio_t)MFG_SEL)==true)
  if(MicoGpioInputGet((mico_gpio_t)MICO_GPIO_2)==false)
    return true;
  else
    return false;
}
Software engineer from DoIT
yangping@doit.am

oakkar7
Posts: 4
Joined: Tue Oct 20, 2015 5:35 am

Re: DoIT releases WiFiMCU -- like NodeMCU but on the EMW3165

Sun Nov 22, 2015 7:11 am

OOp!, what a careless of me.
You are right doit_yp, wifiMCU boot pin and MEW dev board boot switch pin are different. When I measured voltage in RB2 pin and checked that 1.6 V. Actually, pin is floating.
After I simply lift RB2 pin to 3.3V, wifimcu firmware boot happily now.

thanks all,

oakkar7


Return to “WiFiMCU”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest