Avatar for tcpipchip

tcpipchip

Member since Jun 2018 • Last active Sep 2019
  • 2 conversations
  • 31 comments

I love microcontroller!
I study 6502,8080,8085,8048, 8051,Z80,Z180,80251,80196,89C98,COP8,801­66,TMS370,PIC,PROPELLER, ARM,8086,80188,MIPS24,ESP8266, ESP32, ARK...

Most recent activity

  • in ESP32
    Avatar for tcpipchip

    I did the changes suggested team!
    looks memory problem!

     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v04 (c) 2019 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    >Connecting to Wifi
    ERROR: Wifi: event_handler STA_START: esp_wifi_connect: 12298(SSID is invalid)
    Connected...
    { "free": 1964, "usage": 336, "total": 2300, "history": 495,
      "gc": 0, "gctime": 1.864 }
    {
      "VERSION": "2v04",
      "GIT_COMMIT": "3956264e",
      "BOARD": "ESP32",
      "FLASH": 0, "RAM": 524288,
      "SERIAL": "a4cf1275-31c8",
      "CONSOLE": "Serial1",
      "MODULES": "Flash,Storage,heatshrink,fs,net,dgram,t­ls,http,NetworkJS,Wifi,TelnetServer,cryp­to,neopixel",
      "EXPTR": 1073484860 }
    WARNING: Wifi:startMDNS - espressif
    ########################################­######
    {
      "ip": "192.168.0.16",
      "netmask": "255.255.255.0",
      "gw": "192.168.0.1",
      "mac": "a4:cf:12:75:31:c8"
     }
    Acessing AWS IOT
    Connecting...
    Uncaught InternalError: Failed! mbedtls_ssl_setup: Not enough memory
     at line 35 col 10
      }).end();
             ^
    in function called from system
    Acessing AWS IOT
    Connecting...
    Uncaught InternalError: Failed! mbedtls_ssl_setup: Not enough memory
     at line 35 col 10
      }).end();
             ^
    in function called from system
    Disconnected
    >
    

    Here the the software
    https://www.dropbox.com/s/3i0cig5pl9qtd7­e/code.js?dl=0

  • in ESP32
    Avatar for tcpipchip
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v04 (c) 2019 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    >Saving ca
    Saving key
    Saving cert
    Connecting to Wifi
    Connected...
    { "free": 2155, "usage": 145, "total": 2300, "history": 485,
      "gc": 0, "gctime": 2.03 }
    {
      "VERSION": "2v04",
      "GIT_COMMIT": "3956264e",
      "BOARD": "ESP32",
      "FLASH": 0, "RAM": 524288,
      "SERIAL": "a4cf1275-31c8",
      "CONSOLE": "Serial1",
      "MODULES": "Flash,Storage,heatshrink,fs,net,dgram,t­ls,http,NetworkJS,Wifi,TelnetServer,cryp­to,neopixel",
      "EXPTR": 1073484860 }
    Acessing AWS IOT
    Connecting...
    Uncaught InternalError: HTTPS init failed! mbedtls_x509_crt_parse of 'ca': Invalid format
     at line 75 col 10
      }).end();
             ^
    in function called from system
    >
    

    Source code
    https://www.dropbox.com/s/3i0cig5pl9qtd7­e/code.js?dl=0

    Let me know if runs in your ESP32

  • in ESP32
    Avatar for tcpipchip

    Gordon
    I followed the instructions
    http://www.espruino.com/Storing+HTTPS+Ce­rtificates
    And make execute
    https://www.dropbox.com/s/dj6fcj0039064b­j/gordon.png?dl=0
    But got always the same error during executing...
    have you idea about ?

  • in Porting to new Devices
    Avatar for tcpipchip

    Gordon,
    tryng to add ESPRUINO ESP32 to book, but...

    Saving key
    Saving cert
    Connecting to Wifi
    Saving ca
    Done!
    Connected...
    Acessing AWS IOT
    Connecting...
    Uncaught InternalError: HTTPS init failed! mbedtls_x509_crt_parse of 'ca': Invalid format
    at line 73 col 10
    }).end();

         ^
    

    in function called from system
    Acessing AWS IOT
    Connecting...
    Uncaught InternalError: HTTPS init failed! mbedtls_x509_crt_parse of 'ca': Invalid format
    at line 73 col 10
    }).end();

         ^
    

    in function called from system

    Very strange :(

  • in Porting to new Devices
    Avatar for tcpipchip

    found! 115200

  • in Porting to new Devices
    Avatar for tcpipchip

    I am testing first on WROOM! Works fine using TERATERM...
    But ESPRUINO IDE not estabilish communication. Some tip ?

  • in Porting to new Devices
    Avatar for tcpipchip

    btw, i am writing a book about Alexa amazon and i would like to include your Espruino in a chapter, but needs to be to ESP32...and with 2Mb flash
    Did you implemented SSL certificates to access AWS IOT ?

  • in Porting to new Devices
    Avatar for tcpipchip

    Yes, i agree with you!

    But did you ported to dongle ?

Actions