Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    edoput
    @edoput:matrix.org
    [m]
    does anybody have a nrfx_config.h header for a microbit v1.5? I'm trying to run FreeRTOS on it but I have no idea what kind of values to put there given the board. The issue is that I would like to use clock and timers but they need me to select what is the oscillator source and I have no idea
    Aviv Beeri
    @avivbeeri_twitter
    Ah thank you :) I couldn't figure out which file needed to be uploaded
    fanoush
    @fanoush
    that version is quite old but should suffice as a start, if you find out you need newer one then let me know, for that is more practical to upgrade device to SDK12, Softdevice S132 3.0, then you can even make your own build easily from espruino upstream github source, upgrade to SDK12 is 2 more zip files and then SDK12 based espruino zip on top of it
    Aviv Beeri
    @avivbeeri_twitter
    That version seemed to work just fine, thank you :)
    Matthew O'Gorman
    @mogorman
    i have an sma q3 im trying to flash to run banglejs bootloader. i try to flash with openocd but it fails to write
    [nix-shell:~/code/espresence/Espruino]$ sudo openocd    -c 'source [find interface/cmsis-dap.cfg]'    -c 'transport select swd'    -c 'source [find target/nrf52.cfg]'    -c 'adapter speed 10000'    -c 'init' -c 'halt' -c "program ./espruino_2v13.53_banglejs2.hex verify  reset  exit"
    Open On-Chip Debugger 0.11.0
    Licensed under GNU GPL v2
    For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
    swd
    adapter speed: 10000 kHz
    
    Info : CMSIS-DAP: SWD  Supported
    Info : CMSIS-DAP: FW Version = 1.0.0
    Info : CMSIS-DAP: Interface Initialised (SWD)
    Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
    Info : CMSIS-DAP: Interface ready
    Info : High speed (adapter speed 10000) may be limited by adapter firmware.
    Info : clock speed 10000 kHz
    Info : SWD DPIDR 0x2ba01477
    Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints
    Info : starting gdb server for nrf52.cpu on 3333
    Info : Listening on port 3333 for gdb connections
    target halted due to debug-request, current mode: Thread 
    xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
    ** Programming Started **
    Info : nRF52840-xxAA(build code: C0) 1024kB Flash, 256kB RAM
    Info : Padding image section 0 at 0x00000a18 with 1512 bytes
    Info : Padding image section 1 at 0x000253c8 with 3128 bytes
    Info : Flash write discontinued at 0x000927c8, next section at 0x000f7000
    Warn : Adding extra erase range, 0x000927c8 .. 0x00092fff
    Info : SWD DPIDR 0x2ba01477
    Error: Failed to write memory at 0x20002020
    Error: Failed to write to nrf5 flash
    Error: error writing to flash at address 0x00000000 at offset 0x00000000
    ** Programming Failed **
    shutdown command invoked
    5 replies
    edoput
    @edoput:matrix.org
    [m]
    pyocd is just like openocd, I use it mainly as a GDBserver but it does it all. Last time I used it the command to flash a device was pyocd load --format elf path/to/firmware
    ildar
    @ildar:matrix.org
    [m]
    StarGate01 (Christoph Honal) , regarding your InfiniTime port to P8
    I see a mysterious problem: my build of that same commit fails to be connected by GB from my phone
    stargate01
    @stargate01:matrix.org
    [m]
    Which commit, branch, and hardware variant? Are you able to connect to nrf connect?
    StarGate01/p8b
    55b51be31443
    stargate01
    @stargate01:matrix.org
    [m]
    I see. The p8b branch is a bit out of date, ill refresh it from the PRs today or tomorrow when I add your hybrid config as well
    ildar
    @ildar:matrix.org
    [m]
    btw, no idea how to call it
    stargate01
    @stargate01:matrix.org
    [m]
    Ble not working is pretty much always because of the lf clock
    But yours should be lfrc anyway
    ildar
    @ildar:matrix.org
    [m]
    still YOUR build for p8a works
    stargate01
    @stargate01:matrix.org
    [m]
    Weird. I always clean between builds, maybe there are some leftovers
    Ill report back when I have added the changes for you to test
    ildar
    @ildar:matrix.org
    [m]
    that probably means that my P8 has LF
    and I confused with my nRF52 separate board I have
    ah! yes, I'll try to built P8a with P8b's accel. That should work ))
    ildar
    @ildar:matrix.org
    [m]
    Right. Built the P8a target and BLE works.\
    1 reply
    StarGate01 (Christoph Honal) I guess that no-LF P8b FW would fail on your P8a watch.
    stargate01
    @stargate01:matrix.org
    [m]
    Correct, assuming an external crystal when there is none kills the lf clock
    ildar
    @ildar:matrix.org
    [m]
    just updated the issue, see there
    stargate01
    @stargate01:matrix.org
    [m]
    I see, so you have a p8a with a SC7A20
    Probably due to chip shortages or cost saving by the factory
    ildar
    @ildar:matrix.org
    [m]
    yep
    stargate01
    @stargate01:matrix.org
    [m]
    Your manufacturer ID was MOY-TIN5 ? Does someone know the id of the BMA P8a?
    Afaik p8b is MOY-TON5
    stargate01
    @stargate01:matrix.org
    [m]
    According to jcmb its MOY-TFK5
    ildar: what do you think of using these identifiers for build config? Maybe add a markdown document detailing the configurations?
    ildar
    @ildar:matrix.org
    [m]
    dunno, maybe it's the only thing left to distinguish P8-s. Most of the times you wont find even the manufacturer's name on a box )))
    ildar
    @ildar:matrix.org
    [m]
    👍
    stargate01
    @stargate01:matrix.org
    [m]
    Does someone know the MOY-* identifier of the UTELITE p8b at https://www.aliexpress.com/item/4000557708951.html?
    ildar
    @ildar:matrix.org
    [m]
    Why, oh why didn't you write it down before reflashing?
    😁
    Maybe the seller can check it for you. Low probability though
    androidonis
    @androidonis
    Hi, any recent experience with AE orders for P22? Does it have HRS3300 or this undefined P8b sensor? What Accl chip is common? Or did find someone good offers for 52832/40 watches? https://www.aliexpress.com/item/1005001625901266.html
    JV
    @yngv27
    IMHO: this is your best bang-for-buck: https://aliexpi.com/wqFr. 52840, easy to open (screws on the back) and flash via SWD. OTA hackables seem to be getting harder to find
    androidonis
    @androidonis
    Thanks a lot. Looks very interesting. Where you able to rescue original FW as a backup? I saw in your Github that you already have pinout and hardware parts identified, and @jeffmer has an espruino firmware available :-).
    JV
    @yngv27
    No we never got the original firmware, just RE'd it with multimeters and trial-and-error. @jeffmer's firmware is great. The only thing to-do still is because the SPI Flash and accelerometer share IO/CLK lines, there needs to be some kind of arbitration to prevent conflict. It's on my list, but for now his firmware doesn't have SPI flash compiled in, so it just has ~500K Storage from internal flash.
    androidonis
    @androidonis
    Hi, received the GW32 yesterday. Battery was dead on arrival but could be recharged. Unfortunately seems not to have any vibration and heart rate detection seems also produce strange values like 130 instead of 61. The touch screen is reacting very sluggish. Not a good starting point.
    x29a1
    @x29a1_gitlab
    hey there, im looking for info on how to access DFU mode on plain vanilla SMA Q3, so i can install bangle.js - or does the initial flash need to be via SWD? any pointers?
    the procedure on the bangle.js wiki did not work. i found some online available log of this channel but it didnt state how to access DFU
    fanoush
    @fanoush
    @x29a1_gitlab yes first one needs to be SWD, device is locked so you need to mass erase and then build from source and flash full hex including softdevice and DFU bootloader
    x29a1
    @x29a1_gitlab
    fanoush: ok thanks for the confirmation
    abhigkar
    @abhigkar
    @fanoush hi is there any SPI register for Chip Select register like MISO and MOSI?
    from the nordic doc for nrf 52832 therebis CSN register but not sure of this can be the chip select