Replies: 4 comments
-
I've run into the same issue and I believe you need to disable the secure boot via the pfr configuration: https://hackmd.io/@solokeys/solo2-getting-started#Disabling-Secure-Boot I also have not been able to resurrect my key even with |
Beta Was this translation helpful? Give feedback.
-
I got this working with quite a bit of tinkering: the In addition to this, the Here's a relevant excerpt of my toml file:
Once I ran Another tweak I had to make was to modify runners/lpc55/Cargo.toml to add Finally, I had to remove enough epoxy on my key to get to the R pad of the LED which is connected to the ISP pin on the MCU. I shorted this to ground while plugging in the key to force it to start up in bootloader mode. |
Beta Was this translation helpful? Give feedback.
-
One more point I forgot to make: I couldn’t output the pfr in toml format from the lpc55 utility, it throws an error when trying to deserialize in that format (and only that format has issues). Toml and yaml are the only two formats that the configure subcommand recognizes, hence the need to convert yaml to toml. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the details @gcochard, it was really helpful! I also had to tweak the lpc55 binary by setting Now I have two keys flashed in dev mode but I can boot them in bootloader mode. The LED and the button seem completely disabled. I tried to scrape off the epoxy to get access to the ISP but the LED is so small it really seems impossible. It is really unfortunate that the hacker edition can not physically be booted in bootloader mode like the V1. It is essentially completely useless if you do not have an overpriced debug probe or the NXP LPC55 dev kit. That entirely kills the purpose of the hacker edition from my point of view. I tried the compile a firmware without the I guess the only viable option for me now is to get a NXP LPC55 dev kit. Does anyone know if they offer the same NFC capacity or do I need to get some kind of extension board for it? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have tried building a firmware for the hacker Solo v2, following the instructions in https://solo2.dev/.
What I did :
cargo install mboot
(got version 0.3) andcargo install solo2
(0.1.1)virtualenv -p 3 venv ; . venv/bin/activate
BOARD
variable inrunners/lpc55/Makefile
fromlpcxpresso55
tosolo2
make build-dev
lsusb
indicates1209:b000 Generic USB COMPOSITE DEVICE
)mboot --target 0x1209:0xb000 erase --mass
mboot --target 0x1209:0xb000 write runners/lpc55/app.bin
Everything runs fine, no error message, but the key does not boot past the bootloader mode.
The only difference with https://solo2.dev/ commands is that the
cargo objcopy
mentions a different bin file name (firmware.bin
rather thanapp.bin
but apart from that the command is the same (and if I run the "firmware.bin" command in running lpc55 I end up with afirmware.bin
file identical to theapp.bin
file).What am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions