by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    abhigkar
    @abhigkar
    I don’t want to open my tracker. So just want to safe way to do it, and also don’t want to disable the Bluetooth .
    fanoush
    @fanoush
    @abhigkar could be also caching on the phone as it is not expected that services are changing on BLE devices, for such changes to work properly one should actually implement another service/characteristics called "Service Changed" to indicate that services changed and phone should refresh it, not sure if espruino does that for you, probably not, see e.g. here or here espressif/esp-idf#1777 to get the idea what it is
    fanoush
    @fanoush
    as for NRF.sleep() yes you cannot connect to the tracker after calling this so better have a way to enable it again via NRF.wake() in your code on the tracker
    Alexey Guskov
    @kvasdopil
    Trying to port SPIM to nrf52832, it seems that the current code is built with SDK12 which does not have SPIM support. When trying to recompile with NRF_SDK15=1 i get region RAM overflowed with stack error. Any advices?
    fanoush
    @fanoush
    the dma based SPI is there even in SDK11 why do you think it is not there?
    Alexey Guskov
    @kvasdopil
    nrfx_spim.h is not found
    fanoush
    @fanoush
    oh, sdk<15 drivers headers are very different, there is no nrfx there, dma is enabled here
    Alexey Guskov
    @kvasdopil
    yeah, i guess it would be easier just to drop SPIM support for 52832
    fanoush
    @fanoush
    for SDK15 they separated drivers from sdk into separate nrfx project so it is usable without using Nordic SDK, before 15 drivers were part of SDK

    drop SPIM support for 52832

    You mean drop SDK<15 support in your code, not 52832?

    Alexey Guskov
    @kvasdopil
    i'll try using DMA code for 52832 in my library instead of using SPIM for both 52832 and 52840
    abhigkar
    @abhigkar
    I asked this before, but asking again.. sorry for that But I want to user my external SPI flash as storage so that I can read/write data as files. It is easy to access data with file name compare to access bytes from page address.
    is it possible?
    Deph0
    @Deph0
    Deas test
    Jonah Dahlquist
    @jonahbron
    Hello all, I'm trying to get Espruino working on my ESP-01
    I flashed the firmware according to the instructions
    $ ./.arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool/esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash --flash_freq 80m --flash_mode qio --flash_size 512KB 0x0000 Downloads/espruino/boot_v1.6.bin 0x1000 Downloads/espruino/espruino_esp8266_user1.bin 0x7C000 Downloads/espruino/esp_init_data_default.bin 0x7E000 Downloads/espruino/blank.bin
    But when I try to access the interactive console over serial, I get garbled output
    $ screen /dev/ttyUSB0 115200
    {l$ܟ|�l�|�$�#<����;�b�c��o'�$'o���#8��${l;dp�'��l#o�|��c��o'�$��$ �nl ';Ǜ�o��`p�n�c'�<#��'g�$`�o'$`g{���n��� 8�'�#o�|c��o'�l`�ol`or���'��`sۛg��`sۛg$�<�� �s��g�c�gcp
    This is the output ^
    It's almost as though I'm on the wrong baud rate, but none of the other baud rates gave less-garbled results.
    Any ideas?
    Note that with the Arduino firmware, I can connect over serial.
    (with an Arduino sketch and the same wiring)
    Mark Becker
    @MaBecker
    Hi Jonah, this looks like wrong flash_mode. Try dio
    And come to the Espruino forum and do some search http://forum.espruino.com/microcosms/925/ in this section
    Jonah Dahlquist
    @jonahbron
    Hey Mark, I tried dio as you suggested, with no change in behavior.
    The official instructions say qio though, so I'm not sure which is correct
    I'll look through that form, thank you!
    Mark Becker
    @MaBecker
    If you can’t get it running create a conversation so more people can try to help you with you issue
    Jonah Dahlquist
    @jonahbron
    Posted a thread
    Thanks @MaBecker
    Hopefully someone knows what to do
    Jonah Dahlquist
    @jonahbron
    Do you think it could be related to the fact that my ESP doesn't match the two available options? The docs talk about 512KB and 4MB options, but mine has 1MB of flash.
    Should the 512KB instructions work on the 1MB, or is there something else that needs to be changed?
    Jonah Dahlquist
    @jonahbron
    Yay, found the solution.
    Needed dout flash mode. Also found the addresses for the 1MB flash size.
    Mark Becker
    @MaBecker
    👍🏻 - don’t miss to share on the forum what you are working on. Enjoy and have fun with Espruino 😉
    Jonah Dahlquist
    @jonahbron
    Thanks!
    Mark Becker
    @MaBecker
    @23RoMax
    Maximilian
    @23RoMax

    Hi @MaBecker,

    Found my way here :) Thank you!

    Mark Becker
    @MaBecker
    Mark Becker
    @MaBecker
    better 1800 to get approximately 60KB free heap
    and disable ble of cause!
    Mark Becker
    @MaBecker
    @23RoMax let me know when you need more input
    Mark Becker
    @MaBecker
    @23RoMax have you made any progress on https?