Stuck in OTA update mode
#5
(08-18-2021, 10:49 PM)horalocal Wrote: Quickly chiming in to note that this worked for me as well (thanks!) and add the detail (for searchability) that without the --legacy option I got:

Code:
Exception at line 166: UUID not found: 8ec90001-f315-4f60-9fb8-838830daea50

One of those things that makes sense, but only after figuring it out; that UUID is the one corresponding to the "secure" service. Now that I'm thinking about it, seems like it should be possible to fall back to legacy when the device doesn't support secure (can probably submit a patch to this end if others agree).

I wonder if legacy mode is related to why nRF Connect is failing in this case? Apparently it should be compatible, but perhaps a flag/mode needs to be set somewhere (and I didn't see one in a quick pass through the UI). Quite new to all this, so a bit of a shot in the dark Smile

Hello horalocal,

I've had the same issue, that I managed to resolve thanks to mark1250. Daniels video is absolutely misleading I've tries rNF connect, I tried DaFlasher, I tried Siglo, I tried Gadgetbridge, NONE OF THEM WORKED.

So I used the command line, as everyone should who buys pinetime, and it worked on third attempt:
#first attempt:
python3 dfu.py -z ./micropython.zip -a EB:8B:CE:98:3F:BE
Sending file firmware.bin to EB:8B:CE:98:3F:BE
Binary imge size: 299440
Binary CRC32: 1549834072
Connecting to EB:8B:CE:98:3F:BE
Couldn't connect, will try DFU MAC
Connecting to EB:8B:CE:98:3F:BF
Exception at line 166: UUID not found: 8ec90001-f315-4f60-9fb8-838830daea50

#second attempt:
python3 dfu.py -z ./micropython.zip -a EB:8B:CE:98:3F:BE --legacy
Sending file firmware.bin to EB:8B:CE:98:3F:BE
Binary imge size: 299440
Binary CRC32: 1549834072
Connecting to EB:8B:CE:98:3F:BE
Couldn't connect, will try DFU MAC
Connecting to EB:8B:CE:98:3F:BF
Waiting for Image Size notification
Exception at line 166: Error in START_DFU procedure, reason: INVALID_STATE

#Third attempt:
python3 dfu.py -z ./micropython.zip -a EB:8B:CE:98:3F:BE --legacy
Sending file firmware.bin to EB:8B:CE:98:3F:BE
Binary imge size: 299440
Binary CRC32: 1549834072
Connecting to EB:8B:CE:98:3F:BE
Couldn't connect, will try DFU MAC
Connecting to EB:8B:CE:98:3F:BF
Waiting for Image Size notification
Waiting for INIT DFU notification
Begin DFU
[##################################################] 100.0%  (292 of 292 kb)

Upload complete in 5 minutes and 2 seconds
Waiting for DFU complete notification
Waiting for Firmware Validation notification
Activate and reset




Okay, so tha --legacy parameter is mandatory, and you also need to restart the pinetime after each attempt, because BLE is a fkin unstable heap of trash just like all those android apps out there!!
  Reply


Messages In This Thread
Stuck in OTA update mode - by mark1250 - 08-09-2021, 07:56 PM
RE: Stuck in OTA update mode - by mark1250 - 08-11-2021, 07:22 AM
RE: Stuck in OTA update mode - by danielt - 08-16-2021, 04:43 AM
RE: Stuck in OTA update mode - by horalocal - 08-18-2021, 10:49 PM
RE: Stuck in OTA update mode - by feketej - 06-01-2023, 10:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  firmware update 1.11 > 1.13 aletn 2 1,238 08-25-2023, 10:57 AM
Last Post: aletn
  Another stuck watch! Ralpharama 11 3,375 06-07-2023, 09:10 AM
Last Post: Ralpharama
  Update of new watch consistently fails bitreaper 5 5,145 06-01-2023, 02:29 AM
Last Post: feketej
Exclamation Stuck at Infinitime Logo with 18% battery on full charge? PiningFjord 1 1,274 03-13-2023, 05:05 PM
Last Post: PiningFjord
Question Green skin-facing LED stuck on aereaux 0 865 03-05-2023, 02:02 PM
Last Post: aereaux
  Pinetime stuck at infinitime logo monto 3 3,073 08-27-2022, 11:26 AM
Last Post: monto
Question Stuck in bootloader MLG_Herobrine 2 2,036 06-06-2022, 04:04 PM
Last Post: MLG_Herobrine
  Update problems FutureBucket 2 3,121 08-29-2021, 06:34 AM
Last Post: wibble
Question Update to 1.3 Infinitime and other questions? bceverly 2 2,740 08-18-2021, 06:03 PM
Last Post: james8880
  After 0.7 -> 1.0 update cannot connect bluetooth piner67 2 3,168 06-21-2021, 01:39 PM
Last Post: piner67

Forum Jump:


Users browsing this thread: 1 Guest(s)