Avatar for PressAnyKey

PressAnyKey

Member since Mar 2017 • Last active Oct 2017
  • 4 conversations
  • 17 comments

Most recent activity

  • in Electronics
    Avatar for PressAnyKey

    Hi @Gordon,
    I don't understand which pins are SPI MOSI MISO SCK and CS.
    I found only that this LCD can drive by UTFT arduino lib (but as i understand only in 8bit/16bit interface) and nothing about SPI.

    Is there any way to detect SPI pins?

  • in ESP8266
    Avatar for PressAnyKey

    I have new problem.
    When i try to connect SD card console outputs to me this errors

    Running onInit()...
    Uncaught Error: Unimplemented on Linux
     at line 10 col 25
      E.connectSDCard(spi,D2);
                            ^
    

    but when i try to start SD card at original espruino i have this in output

    Running onInit()...
    ERROR: Unable to mount SD card : NOT_READY
    

    What i'm doing wrong?

  • in ESP8266
    Avatar for PressAnyKey

    I was flash some code to the board and it start connect to the WebIDE. I don't know why but it work for me.

  • in ESP8266
    Avatar for PressAnyKey

    @MaBe, yes, firmware is working fine but the first line on output is weird and WebIDE won't connect to the board.
    Thank you for tips about flash areas. Compiles correctly. Now espruino output

     _____                 _ 
    |   __|___ ___ ___ _ _|_|___ ___ 
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v92.62 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:1024/1024, manuf 0xe0 chip 0x4016
    

    Maybe you know how can i fix the first weird line of output? It's totaly not comfortable without WebIDE :( Thank you again.

    p.s. Now i use minicom and web ide at the same time. If i connected to port with minicom, WebIDE connected fine but can't use the terminal side, but WebIDE can upload code from the right side.

  • in ESP8266
    Avatar for PressAnyKey

    @Wilberforce, yep at first connect i have message like

    Connected
    >load 0x40100000, len 25336, room
    Disconnected
    

    I connect to board by minicom and get it as output when reset the board

  • in ESP8266
    Avatar for PressAnyKey

    @MaBe, i used this flash commands.

    python ../esptool.py --port /dev/ttyUSB0 --baud 115200 erase_flash
    python ../esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash --flash_freq 80m --flash_mode qio --flash_size 32m 0x0000 boot_v1.6.bin 0x1000 espruino_esp8266_user1.bin 0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin
    
  • in ESP8266
    Avatar for PressAnyKey

    @hungryforcodes there is few not critical (i think so) warnings about declaration variables.

    libs/network/esp8266/network_esp8266.c: In function 'esp8266_dumpSocketData':
    libs/network/esp8266/network_esp8266.c:1­98:9: warning: variable 'stateMsg' set but not used [-Wunused-but-set-variable]
       char *stateMsg;
             ^
    libs/network/esp8266/network_esp8266.c:1­82:9: warning: variable 'creationTypeMsg' set but not used [-Wunused-but-set-variable]
       char *creationTypeMsg;
             ^
    

    and this

    libs/network/esp8266/network_esp8266.c: At top level:
    cc1: warning: unrecognized command line option "-Wno-float-conversion" [enabled by default]
    cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default]
    
    
Actions