This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Android 6 Master Control Panel Bonded DFU + Android 6 gets stuck in a loop

I'm not sure why I didn't notice this sooner.

When trying to do a bonded DFU with a Nexus 6P and Master Control Panel it seems to get stuck in a loop reconnecting.

I connect, bond and trigger a DFU and then MCP disconnects, reconnects, disconnects in a loop. It never attempts to trigger the switch to the bootloader.

However if I manually write the start command to the DFU control point, everything works just fine.

Android 5.1.1 on a Nexus 4 works just fine.

master-control-panel-log.txt or: gist.github.com/.../a51e30a8a41d5f02bb3c

Parents
  • Hi, the reason thy it gets in a loop is that the DFU Version is always read as 0.1, which means that that's the application mode, not the bootloader mode. If it works when you manually write the start command, it means that the chip restarts after it disconnects, and does not start the DFU mode at all (or does, but immediately resets afterwards). The question is why..? I'm not quite sure. Nexus 4 sends just 1 packet each connection interval so it's very slow. Maybe it gives more time to the device to set itself up. We don't have the 6P yet, so it's hard to test, but it's a metter of time only.

    Did you try the DFU with nRF Toolbox? It has a slightly newer version of the DFU library... There is a small chance it would work.

  • Yeah my DFU stuff requires bonding. It dies after entering the pin. The bond is created, so it tends to work the second time I try or if the bond was already present.

    Yes, my device is in developer mode and no I do not get anything other then a "Ok" in the crash dialog. There is absolutely no way I would submit a full android bug report form my personal device, those bug reports leak way to much personal data. Sadly, I don't have any Android test only devices.

Reply
  • Yeah my DFU stuff requires bonding. It dies after entering the pin. The bond is created, so it tends to work the second time I try or if the bond was already present.

    Yes, my device is in developer mode and no I do not get anything other then a "Ok" in the crash dialog. There is absolutely no way I would submit a full android bug report form my personal device, those bug reports leak way to much personal data. Sadly, I don't have any Android test only devices.

Children
No Data
Related