Page 2 of 2

Re: OTP MAC, OTP Serial Number

Posted: Mon Jan 23, 2017 12:29 pm
by Sebastian
Hi Colin,

I think I was a little flustered.


After reading the xflash Cmd-Line Manual, the reason for this behaviour seems quite clear.

xflash --key disable access to OTP memory.
With xflash --key --enable-otp it works all how it should :)


You can do xburn --read --target-file=xxx.xn to see the entire contents of the OTP and confirm this is the case.
Sorry, I think my question was unclear.
Is it possible to read out the OTB memory to a file.
Something like:
xburn --target-file xxx.xn --read -o otb-dump.txt

Best Regards,
Sebastian

Re: OTP MAC, OTP Serial Number

Posted: Mon Jan 23, 2017 2:30 pm
by colin
Hi Sebastian,

Glad to hear you can now read the OTP in your application from flash boot.

I hope I'm interpreting your question right, but you can re-direct the console output to file from the xburn read command i.e.

xburn --read --target-file=mytarget.xn > otpdump.txt.

otpdump.txt will now contain the contents of the OTP just read.

Hope this helps
Colin

Re: OTP MAC, OTP Serial Number

Posted: Mon Jan 23, 2017 2:48 pm
by Sebastian
perfect :)