Search found 10 matches

by fanoush
Wed Sep 04, 2019 11:10 am
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

Re: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker

Is there an AT command mode service on the Adafruit nRF52 Bootloader? If not how to reset the board equipped with this bootloader if sealed? This is not feature of bootloader. That needs to be part of application. That is the change I needed to add to micropython. See the diff - enter_xx_dfu method...
by fanoush
Wed Sep 04, 2019 8:07 am
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

Re: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker

Just a warning that recent build of micropython I have in one DS-D6 for few days doesn't respond on serial console now so be warned that this may happen. If this happens to you it should be enough to wait till battery is discharged if you don't want to open it. I guess I should get watchdog working....
by fanoush
Tue Sep 03, 2019 11:25 am
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

Re: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker

there are two possibilities to connect the MicroPython REPL over bluetooth on a PC: NUS Console and WebBluetooth REPL. @fanoush: Can I use those bluetooth serial interfaces to run the commands BT+UPGB:1 BT+RESET to set the bracelet in DFU mode when equipped with other than MicroPython firmwares? pr...
by fanoush
Tue Sep 03, 2019 11:02 am
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

Re: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker

rpr wrote:
Sun Sep 01, 2019 11:15 pm
I assume that your BLE REPL will provide a REPL. Can I connect to this from my laptop? Thanks.
Yes if your laptop and browser (e.g. Chrome) can do Bluetooth LE and Web Bluetooth, try https://aykevl.nl/apps/nus/ and click in right corner if you see it scanning for devices.
by fanoush
Tue Sep 03, 2019 10:57 am
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

Re: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker

I’m guessing because it’s a 128x32, there is a different init command to set the row offset. Most other 128x32s are positioned half way down in the 128x64 buffer. Yes, basically the line https://github.com/micropython/micropython/blob/master/drivers/display/ssd1306.py#L49 is wrong for DS-D6, it nee...
by fanoush
Sun Sep 01, 2019 5:06 pm
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

Re: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker

they just cannot coexist in same python version with nrfutil What about in two python virtual environments? possibly. They both need same dependencies of different version, if you install one with pip, the other will stop working due to wrong version of something. Does it mean that to update the bo...
by fanoush
Sat Aug 31, 2019 9:55 pm
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

Re: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker

adafruit-nrfutil work with both python3 and 2, they just cannot coexist in same python version with nrfutil (which needs python2). Yes adafruit-nrfutil is almost same as nrfutil 0.5.3, It was primarily done for adafruit bootloader but works also with SDK11 based Desay bootloader in DS-D6. So you nee...
by fanoush
Fri Aug 30, 2019 8:45 am
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

Re: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker

There is a diff in micropython folder here https://github.com/fanoush/ds-d6/blob/master/micropython/DS-D6-micropython.diff I only added methods to go back to adafruit bootloader to do update over serial or bluetooth. Then there is just board definition with pins and linker script with flash areas (b...
by fanoush
Wed Aug 21, 2019 6:42 am
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

Re: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker

Yes, looks like no matter what is current price the code brings it down to $5.99. Also they had 'super deal' twice where the price was $4.99, one such deal was two days ago. As for state of nrf52 micropython port there are few missing features that would improve it a lot IMO - switching between rs23...
by fanoush
Thu May 30, 2019 8:15 am
Forum: Other Boards
Topic: [DS-D6] build for cheap DS-D6 nrf52 fitness tracker
Replies: 17
Views: 15686

[DS-D6] build for cheap DS-D6 nrf52 fitness tracker

Hello, just to let you know that there is this very cheap (<$8) nrf52832 based DS-D6 fitness tracker that can easily run custom firmware including micropython. It can be updated without taking apart and has 2 GPIOs available on USB data pins (e.g. for UART or I2C). I made experimental build of micro...