Nitrokey / nitrokey-pro-firmware

Firmware for the Nitrokey Pro device
GNU General Public License v3.0
119 stars 22 forks source link

Flashing guide improved #47

Closed alex-nitrokey closed 5 years ago

alex-nitrokey commented 6 years ago

Hey, we talked about this before, here it is. My proposal for a more detailed flashing guide ;-)

jans23 commented 6 years ago

Flashing via bootloader will not be possible with the next hardware revision. The description is currently valid but will soon be obsolete.

szszszsz commented 6 years ago

Let's mention this in the guide then.

alex-nitrokey commented 6 years ago

So only the second approach will work in the future, or none of them? How can user differentiate between the models? Through the used OPC?

jans23 commented 6 years ago

It can be differentiated by looking at the PCB which either contains pads to trigger the boot loader or pads to use SWD/JTAG.

alex-nitrokey commented 6 years ago

So users can't know before open device? Okay.

szszszsz commented 6 years ago

I think that knowledge is useless until user opens it anyway. Used OPC should be a good differentiator though.

alex-nitrokey commented 5 years ago

I know, I know, nothing happened here (shame on me :wink:).

@jans23

Flashing via bootloader will not be possible with the next hardware revision. The description is currently valid but will soon be obsolete.

Is the said hardware revision the current one? Or can I still link to this description for the people eager to flash 0.10 themselves?

jans23 commented 5 years ago

DFU mode isn't possible with current hardware. Please see latest changes in the Readme file. I guess you need to solve the resulting merge conflict.

jans23 commented 5 years ago

That device would work. But we don't support breaking the casing and flashing the firmware, so that an extensive guide doesn't seem required.

alex-nitrokey commented 5 years ago

I will improve the second (current) approach and extent the instructions as soon as I have the hardware (that is Nitrokey Pro 2 and a st-link v2).

You may merge this instructions already if you like. I'll open new PR if necessary.

alex-nitrokey commented 5 years ago

That device would work. But we don't support breaking the casing and flashing the firmware, so that an extensive guide doesn't seem required.

There probably gonna be some people who refuse to send the device back and who are willing to do the process themselves, no matter that the garanty or whatever is lost. I'd like to give them at least some instructions. And some people always like to tinker. This is why I did this PR in the first place. Don't you think?