atc1441 / DaFlasherFiles

Additional files for the DaFlasher App and the ATCwatch Firmware for the P8 Smartwatch
GNU General Public License v3.0
119 stars 20 forks source link

nRFConnect works, but DaFlasher doesn't #19

Closed Grench6 closed 1 year ago

Grench6 commented 1 year ago

I have successfully uploaded a slightly modified (changed a label) ATCwatchP8 firmware to my P8 Smartwatch (nRF52832) using a ST-Link V2 and D6-Arduino-nRF5. Everything works as expected (except for the accelerometer, which always shows zero values).

After starting the bootloader (there's one red "arrow" (square) and a label below it), I tried to upload the original (didn't changed a label) ATCwatchP8 firmware via DFU using the DaFlasher android app... but it fails. The app says Started DFU, but the progress and transfer rate is always at 0% - 0kB/s. After a little while (a couple of minutes?), the smartwatch automatically reboots back to "stock mode", and the app says Error GATT ERROR. The firmware isn't updated.

However, if I instead use the nRFConnect android app, it works perfectly. The firmware is updated.

I was planning to buy a second watch so I could test my programs in the first watch (the one already opened) and, once they were ready, upload them to the second watch using the DaFlasher app.

Is there a way to fix this? Can the nRFConnect app also flash a brand new watch with DaFitBootloader23Hacked without having to open it first?

ss01 ss02

Grench6 commented 1 year ago

After trying to use the DaFlasher app on a second Android phone, it works perfectly.

The problem seems to specific to the phone I was using.