espressif / esp8266-rtos-sample-code

Other
129 stars 86 forks source link

code uploaded succeeds but ESP8266 (NodeMCU) doesn't run for ESP8266_RTOS_SDK v1.4.0 #3

Open sarwadenj opened 7 years ago

sarwadenj commented 7 years ago

Hi, I'm trying to run blinking LED program using ESP8266_RTOS_SDK on LUBUNTU by espressif. program link-->https://github.com/sarwadenj/ESP8266_RTOS/tree/master/test_2 also i written another program and set WiFi in station mode--->https://github.com/sarwadenj/ESP8266_RTOS/blob/master/wifi/user/user_main.c

I compiled my program using ./gen_misc.sh and set STEP 1: use boot_v1.2+ by default STEP 2: generate bin: user1.bin STEP 3: spi speed: 40 MHz STEP 4: spi mode: QIO STEP 5: spi size: 4096KB spi ota map: 1024KB + 1024KB

and uploaded code going into Bin_path--> sudo esptool.py --port /dev/ttyUSB0 write_flash --flash_mode qio 0x2000 user1.4096.new.6.bin

it uploaded successfully but code didn't run. So what should be the problem. is I'm missing something.

Is there any solution for this? Thanks in advance.

stackSmasher294 commented 7 years ago

Default option for steps 1-3 and choice 2 for steps 4 and 5 worked for my NodeMCU. :)