-
I have new problem.
When i try to connect SD card console outputs to me this errorsRunning 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?
-
-
@Wilberforce, where i can comment it out?
-
@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.
-
@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
-
@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
-
@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:198:9: warning: variable 'stateMsg' set but not used [-Wunused-but-set-variable] char *stateMsg; ^ libs/network/esp8266/network_esp8266.c:182: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]
-
Make of the firmware was successed (without errors and with few warnings) but after flash firmware on my esp8266 devboard i can't connect by WebIDE to this board (Wemos D1 mini board and LoLin v3 board). At this time i can connect to original Espruino board and it's weird. I don't know why but it's happened. I'll try to fix it but i don't know what i need to do :(
When i try to connect to this boards WebIDE write to console
Connected > Disconnected
-
Hi @MaBe I read this file and got stuck in make.
I downloaded all the necessary files, create compile.sh file with some vars exports and make. First libs colpiles correctly but make stuck in neopixel lib.#! /bin/bash export FAMILY=ESP8266 export BOARD=ESP8266_BOARD export FLASH_4MB=1 export USE_NET=1 export USE_CRYPTO=1 export USE_TELNET=1 export USE_FILESYSTEM=1 export USE_GRAPHICS=1 export ESP8266_SDK_ROOT=/github/espressif export PATH=$PATH:/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/bin export COMPORT=/dev/ttyUSB0 make clean && make $*
This is terminal output.
In file included from /home/noface/source/repos/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/include/stdint.h:9:0, from /home/noface/source/repos/github/espruino/Espruino/src/jsutils.h:23, from /home/noface/source/repos/github/espruino/Espruino/src/jspin.h:18, from /home/noface/source/repos/github/espruino/Espruino/libs/neopixel/jswrap_neopixel.h:15, from libs/neopixel/jswrap_neopixel.c:28: /home/noface/source/repos/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/stdint.h:80:20: error: conflicting types for 'int32_t' typedef signed int int32_t; ^ In file included from libs/neopixel/jswrap_neopixel.c:21:0: /home/noface/source/repos/github/espressif/include/c_types.h:17:29: note: previous declaration of 'int32_t' was here typedef signed long int32_t; ^ In file included from /home/noface/source/repos/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/include/stdint.h:9:0, from /home/noface/source/repos/github/espruino/Espruino/src/jsutils.h:23, from /home/noface/source/repos/github/espruino/Espruino/src/jspin.h:18, from /home/noface/source/repos/github/espruino/Espruino/libs/neopixel/jswrap_neopixel.h:15, from libs/neopixel/jswrap_neopixel.c:28: /home/noface/source/repos/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/stdint.h:81:22: error: conflicting types for 'uint32_t' typedef unsigned int uint32_t; ^ In file included from libs/neopixel/jswrap_neopixel.c:21:0: /home/noface/source/repos/github/espressif/include/c_types.h:15:29: note: previous declaration of 'uint32_t' was here typedef unsigned long uint32_t; ^ cc1: warning: unrecognized command line option "-Wno-float-conversion" [enabled by default] cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default] Makefile:744: error«libs/neopixel/jswrap_neopixel.o»
-
-
-
-
-
@Gordon i have one more question.
Can i upload Espruino firmware to STM32F103RET6 chip that have 512k ROM.
Espruino compatible with this chip? How can i use all of this 512k of ROM if it compatible? -
-
Hello.
There is few questions about pl2303 and IDE.
I was successfull flash the firmware to my stm32f103rct6 based board using pl2303 usb converter.
Set the boot0 to 0 and try to connect the board. And nothing happens. IDE wrote only "Disconnected". I try all baud rates. IDE supports PL2303 converter or i must use the board with other converter? Maybe i make a mistake with flashing?If IDE support this converter and firmware is ok what i need to do to connect this board wiht IDE?
Many thanks.
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?