Thingy:52 DFU 2.04 #7370
Replies: 1 comment
-
Posted at 2019-11-22 by @gfwilliams That's really strange. You wouldn't need a new softdevice as it's the same one for all versions of Espruino. Just as a sanity check, could you try downloading it and re-flashing again? I just checked the zip files and the format seems almost identical, so it seems strange the upload would fail. just to add: As you have an nRF52DK you could always upload the hex file - you just need one of the 10 pin small ribbon cables Posted at 2019-11-24 by sammachin Still same issue, I also tried using my android device and nrfConnnect on there Posted at 2019-12-09 by abelm I have the exact same issue. @sammachin did you manage to flash the version 2.04? I noticed that the instructions in https://www.espruino.com/Thingy52 ask you to download a file like espruino_*_thingy52_app.zip but the version 2.04 doesn't have a _app.zip suffix. Is it in a different format maybe? Is there a way to build the right one? Posted at 2019-12-09 by abelm I also found out that the two files inside the 1.99_app.zip have version 1.98. It's like somehow it might have been built by hand. I cloned the espruino repository, checked out tag for version 1.99 and tried to build the zip with this: make clean && DFU_UPDATE_BUILD=1 BOARD=THINGY52 RELEASE=1 make but I've got a zip file that, like 2.04, doesn't work either. However, just to verify that I hadn't reached an invalid state, I retried the 1.99_app.zip from the espruino's download section and it worked like a charm. Any ideas? Posted at 2019-12-09 by @fanoush
When examining the 1.99 and 2.04 zip packages via nrfutil command I see one difference - the fw_version. For older 1.99 _app package fw is set to value 7, see below. v2.04 has it set to
Posted at 2019-12-09 by @fanoush
You could try to modify boards/THINGY52.py and set --application-version to 0x07
Posted at 2020-01-07 by @gfwilliams Ahh, sorry about this. I just figured out what's happening. The Thingy:52 ships with a signed bootloader, and Nordic won't share the private key for it (or even provide a hex file the 'unlocks' it). So... the If you can upload the hex file over SWD with a DK then it'll 'just work' and you get an unlocked Espruino bootloader that you can always update to the newest version with though. Posted at 2020-01-07 by @fanoush
One could posibly rewrite their bootloader from Espruino via the Flash module api? Or even disable just the signature check but whole espruino bootloader is of course much better and cleaner solution. Posted at 2020-01-13 by @gfwilliams
Wow, yes, that's an option I guess :) Posted at 2020-04-24 by bakon Hey, were you ever able to get nordic to sign the 2v04 firmware? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-11-05 by sammachin
Got my Thingy:52 in the mail this morning, and trying to put esprunio on it,
I couldn't see a softdevice file in /binaries for 2.04 so i used the 1.99 one and then put the espruino_1v99_thingy52_app.zip build onto it which worked fine, however I'd now like to update it to 2.04, but using the espruino_2v04_thingy52.zip file I get an Error 'Invalid Object' with DFU from nrfConnect on iOS.
Beta Was this translation helpful? Give feedback.
All reactions