Avatar for ceremcem

ceremcem

Member since Apr 2016 • Last active Sep 2016
  • 21 conversations
  • 80 comments

Most recent activity

    • 7 comments
    • 590 views
  • in ESP8266
    Avatar for ceremcem

    Will it survive? :)

  • in ESP8266
    Avatar for ceremcem

    Successful save prints:

    >save()
    =undefined
    Erasing Flash.....
    Writing...................
    ERROR: Too big to save to flash (16984 vs 12284 bytes)
    Deleting command history and trying again...
    Erasing Flash.....
    Writing..............
    Compressed 27200 bytes to 11492
    Checking...
    Running onInit()...
    

    Unsuccessful save prints:

    >save()
    =undefined
    Erasing Flash.....
    Writing....................
    ERROR: Too big to save to flash (18205 vs 12284 bytes)
    Deleting command history and trying again...
    Erasing Flash.....
    Writing...............
    ERROR: Too Running onInit()...
    
    
  • in ESP8266
    Avatar for ceremcem

    I came across a few times with the same error: "No code in Flash" when I toggle power of ESP-12. This time root of the problem is the code size. If I remove some part of application code, it loads and executes well, and it starts on power toggle. If I re-add that part of (unimportant) code, my application works OK, but it doesn't start when power is toggled. If load() function is executed, it prints "No code in Flash":

     _____                 _ 
    |   __|___ ___ ___ _ _|_|___ ___ 
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v86.171 Copyright 2016 G.Williams
    
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    Flash map 4MB:512/512, manuf 0xe0 chip 0x4016
    
    >load()
    =undefined
    No code in flash!
    

    Since ESP-12 has 4MB of flash memory, it shouldn't related with memory or application size, right?

  • in ESP8266
    Avatar for ceremcem

    @tve require("ESP8266").logDebug(false) solved the issue. Thank you...

  • in ESP8266
    Avatar for ceremcem

    I'm using Serial2.TX for a specific purpose and without RX pin, it satisfies my needs. As of now, I can use Serial2 by sending my data naber (means hello) as normal.

    With a fixed interval, Wifi module sends some garbage to Serial2, so what I could capture is as follows:

    ernabernabernabernabernabernabernabernab­er849614> Wifi event: probe request from station 74:f0:6d:09:91:54, rssi = -58
    849644> Wifi event: probe request from station 74:f0:6d:09:91:54, rssi = -61
    nabernabernabernaber850186> Wifi event: probe request from station 00:26:ab:e8:43:82, rssi = -61
    850188> Wifi event: probe request from station 00:26:ab:e8:43:82, rssi = -62
    850256> Wifi event: probe request from station 00:26:ab:e8:43:82, rssi = -62
    850298> Wifi event: probe request from station 00:26:ab:e8:43:82, rssi = -62
    

    How can I make these logs stopped?

  • in ESP8266
    Avatar for ceremcem

    c:\python27\python ..\esptool.py --port COM15 --baud 230400 write_flash --flash_freq 40m --flash_mode dio --flash_size 32m 0x0000 "boot_v1.5.bin" 0x1000 espruino_esp8266_user1.bin 0x37E000 blank.bin

    This options didn't work for me with espruino_1v86.tve_master_8d2f1b4_esp8266­. There is no boot_v1.5.bin file the build in your link.

    Edit

    As the latest build (1v86.171) uses boot_v1.4...., the old flashing options work as expected.

Actions