LawrenceDon2014
Member since Mar 2014 • Last active Nov 2021Most recent activity
-
- 3 comments
- 3,015 views
-
Run fs.readFileSync before fs.statSync will cause ESP32 exception.
example:
var fs=require("fs");
fs.writeFileSync("temp.txt", "hello 123");
fs.readFileSync("temp.txt");
fs.statSync("temp.txt");espruino version 1v92
console output:fs.statSync("temp.txt")
Guru Meditation Error of type StoreProhibited occurred on core 0. Exception was unhandled.
Register dump:
PC : 0x401145cf PS : 0x00060430 A0 : 0x801158e6 A1 : 0x3ffd2840
A2 : 0x00000001 A3 : 0x00000000 A4 : 0x00000001 A5 : 0x0000ffff
A6 : 0x3ffd2948 A7 : 0x00000038 A8 : 0x0000ffff A9 : 0x0000000a
A10 : 0x00000013 A11 : 0x3ffd2991 A12 : 0x3ffcb950 A13 : 0x00000019
A14 : 0x000000ff A15 : 0x3ffd2890 SAR : 0x00000010 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000001 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000
Backtrace: 0x401145cf:0x3ffd2840 0x401158e6:0x3ffd2860 0x40133332:0x3ffd2940 0x40105df6:0x3ffd29f0 0x40108728:0x3ffd2a70 0x40106f0e:0x3ffd2bb0 0x40106fbc:0x3ffd2be0 0x40107083:0x3ffd2c00 0x40107332:0x3ffd2c20 0x40107346:0x3ffd2c40 0x40107356:0x3ffd2c60 0x40107c87:0x3ffd2c80 0x401081f3:0x3ffd2ca0 0x40108fb3:0x3ffd2cc0 0x401095c6:0x3ffd2ce0 0x4010bd3c:0x3ffd2d00 0x4010e4b5:0x3ffd2de0 0x4010e9b9:0x3ffd2e10 0x4010ea27:0x3ffd2e40 0x4010ea80:0x3ffd2e60 0x4010f2b1:0x3ffd2ed0 0x4012a817:0x3ffd2ef0
================= CORE DUMP START =================
... -
-
Hi Gordon,
I'm sorry to make you frustrating:(
I built up the espruino.cn. The original goal of espruino.cn is just a community for Chinese espruino users. I have my own job and I maintain this community in my spare time. By the way I have stopped selling the JS On Board and NanoJS several months ago. So we have no conflict of profit now:) -
By the way~
Zero+ is an IOT controller, behind the HW(SoC for home router), there are customized OpenWRT system, Language Interpreter(customized LISP), Cloud Service and Web IDE. So all of these composite an IOT platform. You can define the execution logic both in Cloud and in HW(Zero+) by writing code in Zero+ Web IDE. By using customized LISP language, you can define your own program syntax.
It's more convenient to controll your Espruino by using Zero+ from Internet. -
- 5 comments
- 3,562 views
-
Actually, I refered to the page(http://www.espruino.com/WiFi+Remote+Console) to create my page(Espruino Web Console via Zero+).
In my opinion, "WiFi Remote Console" is for LAN(Local Area Network), "Espruino Web Console via Zero+" is for WAN(Wide Area Network). -
Hi there!
Little interesting~
I can program my Espruino from anywhere in the world by web browser.
The key point here is Zero+, it's an IOT controller.
You can find Zero+ in indiegogo https://www.indiegogo.com/projects/zero-plus-a-rapid-smart-devices-builder/x/8857329I connect Zero+ and Espruino via UART interface. I will post more detailed information later if you're interested in this topic.
-
I put bootloader.bin,partitions_espruino.bin,espruino_1v92_esp32.bin in a zip file, you can use these files to flash espruino on your esp32.