root@AbhinavPC-10:/mnt/d/EspruinoProject/Espruino-1# which nrfutil
/usr/local/bin/nrfutil
root@AbhinavPC-10:/mnt/d/EspruinoProject/Espruino-1# which adafruit-nrfutil
/usr/local/bin/adafruit-nrfutil
root@AbhinavPC-10:/mnt/d/EspruinoProject/Espruino-1# nrfutil version
adafruit-nrfutil version 0.5.3.post16
root@AbhinavPC-10:/mnt/d/EspruinoProject/Espruino-1# adafruit-nrfutil version
adafruit-nrfutil version 0.5.3.post16
root@AbhinavPC-10:/mnt/d/EspruinoProject/Espruino-1#
GEN espruino_2v07.9_sparkfun.hex
Creating DFU ZIP
# nrfutil pkg generate --help
nrfutil pkg generate espruino_2v07.9_sparkfun.zip --application espruino_2v07.9_sparkfun_app.hex --application-version 0xff --hw-version 52 --sd-req 0x8C --key-file targets/nrf5x_dfu/dfu_private_key.pem
Usage: nrfutil [OPTIONS] COMMAND [ARGS]...
Try "nrfutil --help" for help.
Error: No such command "pkg".
make: *** [make/common/NRF5X.make:453: espruino_2v07.9_sparkfun.zip] Error 2
hi, I've compiled an espruino for the id205 (it still exists in the original espruino repo). I had to change a few things to build. I think these are not critical things, at least enough to prevent the watch from booting. It shows
WATCHDOG
DFU 2.9.30
booting...
and always resets. Any ideas?
require("https://github.com/espruino/EspruinoDocs/blob/master/devices/PCD8544.js");
Hi everyone.
I am connecting my ESP8266-01 to my computer using a USB to FTDI adapter. However, when I connect it to the console, it does not respond to any AT commands. Only when I reset it using its pin with the console set at 74880 baud, it prints the following message:
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 31320, room 16
tail 8
chksum 0xef
load 0x00000000, len 0, room 0
tail 0
chksum 0xef
load 0x00000000, len 0, room 8
tail 0
chksum 0xef
csum 0xef
csum err
ets_main.c
What should I do?
https://forum.arduino.cc/t/esp8266-does-not-communicate-with-arduino/889187?u=arturo_olvrs
I have already flashed it several times, and I believe I have done it correctly. Check this forum to see my previous attemps, please.
Hi there,
is there a way to use the same digital pin as input and output to request/kick some events and then read the response?
I like to use the same pin to light a LED, which will hold the light for some time and miliseconds later i would like to request the response from the light sensor if something is between.
The LED should not be ON for the whole time, just only when i will request the value and i want to avoid using an additional digital output pin to turn on that LED beforehand
I'm trying to store some data persistently on the bangle.js - I use a binary file to save data, and when restarting the watch, I check for it's existence, and then load it like this:
let tbuf = E.toArrayBuffer(require("Storage").read('widbarom.tdata.bin'));
times = new Uint32Array(tbuf);
However, the times variable seems not to reflect changes made to it. If I change it times[10]=100;
e.g., it will still hold its original value afterwards.
Is times
in this case a read-only memory map to the original storage file? How would I go about to change it, then write it back to storage, in a MCU and Flash friendly way?
For anyone else that is curious to see what changes I've made so far to attempt to make this work, see here: https://github.com/niamu/EspruinoBuildTools
./esp32/build/build.sh
will build the project with Docker
build-tgz.sh
script part of the build is available in the build_failure.log
attachment in the previous message.