Avatar for yngv126399

yngv126399

Member since Mar 2021 • Last active Jan 2025
  • 19 conversations
  • 188 comments

Most recent activity

  • in Projects
    Avatar for yngv126399

    Anyone having an issue with the Nice!Nano bootloader after updating app to Espruino(app only)? I short RST to GND 2x and it displayed a drive, copied the espruino.uf2 to it, works great! When I try to short the pins again, I see the device reboot, but it doesn't enter bootloader.
    ??

  • in Bangle.js
    Avatar for yngv126399

    It is a nasty green, but it doesn't have to stay green!

  • in Bangle.js
    Avatar for yngv126399

    That's right. Co-fit according to the manual. I tried getting a firmware update for reversing, but it's "up to date". I also contacted seller to see if I could get a firmware update sent to me. Nope.
    As it is, it's quite usable. The GPS, temperature and HRS is a matter of time and effort. I could use help ;-)

  • in Bangle.js
    Avatar for yngv126399

    Not Magic/Rock board, it's totally different, different pins all around. (https://github.com/yngv27/EWatches/tree/main/TK87G).
    Screen is ST7789 240x280, very nice, I'd say it was Rock like. Don't know if touch is auto-sleep, I just put it to sleep on screen sleep (I adopted @jeffmer 's wOS object). It's light weight, like the (ironically named) Rock, much lighter than the Magic3.

  • in Bangle.js
    Avatar for yngv126399

    I've kept my work on other watches relatively quiet, as I didn't want to steer anyone away from supporting Gordon monetarily. I think everyone should buy some kind of Espruino hardware to keep the proverbial lights on.
    I feel fortunate to have learned enough from folks here HOW to build Espruino for various watches (all nRF52), and for me, the fun is in the discovery of the hardware internals. Like @fanoush I don't wear any of these hacks.

    But since much of the cat has left the bag....

    I'm working with two others right now:
    P4: https://www.aliexpress.com/item/1005007150275911.html - 52832, but DaFit so hackable without opening. It seems to be having power issues (likely needs some pin pulled up/down - not sure). Classic DaFit: shared SPI for LCD and Flash, for which I use @jeffmer 's build to manage. This is something neither Bangle had to contend with, so it was the efforts of folks here who made that happen.
    TK78G: https://www.aliexpress.com/item/1005008054139256.html (and above from @enaon )
    52840 with tons of goodies like GPS, temperature, HRS, accel, two buttons and touchscreen. I've got the touchscreen working 100%, accelerometer usable (don't know what it is, so not sure what options I can set like changing sensitivity/power settings). I have been trying to figure out the GPS, as I know what pins are being used, but I can seem to turn it on. But if you want to explore, and learn, this is a good one to work with!
    And as mentioned above: Pinetime (https://pine64.com/product/pinetime-smartwatch-sealed/) very similar to P8 and very well documented. New ones arrived sealed, which makes things a bit more tricky.. it takes a bit of effort to put the correct bootloader on this for updating to Espruino.

    But the only way you'll get a full support watch is Bangle2. Everything else is "roll up your sleeves", and quite a bit of swearing.

  • in Bangle.js
    Avatar for yngv126399

    perhaps some of that stuff they use to restore headlights?

  • Avatar for yngv126399

    Anyway, it may be a feature https://github.com/espruino/Espruino/blo­b/master/targets/nrf5x_dfu/main.c#L145 , not bug.

    That's if you don't define a BTN1. Even so, the comment says it should exit DFU after a few seconds and boot properly... which is why I thought maybe I didn't have the right entry point defined somewhere?

  • Avatar for yngv126399

    I did define a BTN1 for this watch, but as I said, not sure if the fact that it's normally closed and had to invert it in software was any issue. I assume that magic happens at a lower level than the DFU main.c? I'll try the define above, since now the battery seems to be depleting overnight so I'm upgrading it regularly ;-)
    BTW: the screen is a GC9A01, just like DICKENS, however it doesn't seem to display anything on cold boot despite my defining the pins in the board file. Nor does it buzz which I believe my Bangle does due to board definition?

  • Avatar for yngv126399

    I have just put Espruino (2v24) on a smartwatch that has an nRF52832 on board. I determined the button GPIO and created a board file for it, that all works well. If I issue an E.reboot(), everything is fine, comes back to Espruino. Also if the Watchdog gets tripped, it boots to Espruino. If I let the battery run down to cold and plug it in however it jumps to DFU and stays there. I have to reload Espruino each time. I'll enclose the board file below. I've had issues with getting to DFU at all from other boards/watches I've worked on, this is the first time I've experienced this.
    Notes: BTN1 (D28) is normally high, goes low when pressed, so I inverted it in the board file. I gathered that the IN_PULLDOWN works opposite when inverted as the pin needed to be pulled high to properly register. Works as expected when running (normally low, pressing sends it high).
    Also: originally I did a full build (RELEASE=1 BOARD=M98) and used SWD to program the entire package (so it received SD, firmware, bootloader, MBR and UICR). The current UICR is all "ffffffff" except:
    0x10001014: 0x78000
    0x10001018: 0x7e000
    Any ideas very much appreciated...

Actions