-
-
-
-
-
-
-
-
-
Solved, up and running...
There were a few issues with my original setup. First I updated to the latest esptool from 1.2 to 2.0 beta. The tool then notified me that 32m was deprecated in favor of 4MB. Lastly the mode I was using should have been dio and qio. The resulting command that worked after an erase was...
./esptool.py --port /dev/tty.SLAB_USBtoUART --baud 115200 write_flash \--flash_freq 80m --flash_mode dio --flash_size 4MB \ 0x0000 boot_v1.6.bin 0x1000 espruino_esp8266_user1.bin \ 0x3FC000 esp_init_data_default.bin 0x37E000 blank.bin
-
-
@Wilberforce Thanks for the reply. I was under the impression that once you started messing with various IDEs you might loose some modules or features of the chip. Thanks.
-
The console in the IDE is still unreadable, but in the last 100 lines in the settings, I found something that is a little more meaningful. Thanks for all your help:
>>> Connecting... Set Slow Write = true [object Object] Connected [object Object] Found a prompt... great! >>> Sending... ---> "\u0010console.log(\"<\",\"<<\",JSON.stringify(process.env),\">>\",\">\")\n" >>> Sent WARNING: No result found - just got "" Device found (connectionId=9) [success] Connected to port /dev/cu.SLAB_USBtoUART >>> Connected to port /dev/cu.SLAB_USBtoUART Disconnect callback... WARNING: [notify_warn] Disconnected >>> Disconnected >>> Connecting... Set Slow Write = true Unable to open device (connectionInfo=undefined) ERROR: Unable to open device (connectionInfo=undefined) ERROR: [notify_error] Connection Failed. >>> Connection Failed. >>> Connecting... Set Slow Write = true [object Object] Connected [object Object] Found a prompt... great! >>> Sending... ---> "\u0010console.log(\"<\",\"<<\",JSON.stringify(process.env),\">>\",\">\")\n" >>> Sent WARNING: No result found - just got "" Device found (connectionId=10) [success] Connected to port /dev/cu.SLAB_USBtoUART >>> Connected to port /dev/cu.SLAB_USBtoUART
-
-
I am using everything straight from the espruino distribution.
(see biosFiles.png)Chip is a NodeMCU ESP8266-12E
(see nodeMCU.jpg)I have been flashing using the following command:
./esptool.py --port /dev/tty.SLAB_USBtoUART --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 0x37E000 blank.bin
The only terminals who have been outputting readable text is the Esplorer and the Arduino IDE. As mentioned before, the only speed that works is 74880, not the 115200. After resetting the chip the following test shows in the terminal:
flash read err, ets_unpack_flash_code ets_main.c ets Jan 8 2013,rst cause:2, boot mode:(3,7) load 0x40100000, len 2408, room 16 tail 8 chksum 0xef load 0x33333333, len 858993459, room 0 flash read err, ets_unpack_flash_code ets_main.c
Does this help?
-
-
-
Hey all,
This is my first go with Espruino. I have flashed all my chips with the set of 4 bios files found in the espruino_1v91_esp8266 folder. I am able to connect the IDE to my chips, but I am unable to use the terminal. There is no setting in the IDE for a 74880 baud rate. Is there any way to set a custom baud rate on the IDE or is there a way to permanently change the baud rate on the chip?Thanks
Currently I am using the web IDE and an ESP32.
I have been unable to import http, wifi or any modules. Any time I call setWatch, I have to re-flash my chip. How do I go about using the ESP32 tree from github mentioned above?