sipeed / sipeed_wiki

sipeed wiki:https://wiki.sipeed.com
MIT License
102 stars 137 forks source link

Regarding Machine_ID of MaixDuino board #409

Open cvchauhan07 opened 1 year ago

cvchauhan07 commented 1 year ago

Is there any other way of getting Machine ID of Maixduino board other than the one which requires us to flash "key_gen.bin" on the board? Because one warning on the maixhub says that if we flash key_gen.bin on Maixduino board then JTAG will forever be closed on that board!! So like..is it fine if we can't use JTAG? Is there any other comfortable debugging facility on board other than JTAG? But if it's possible to get machine ID without sacrificing JTAG then I'd really appreciate it. Thank you!

wonderfullook commented 1 year ago

机器码是用来给解密加密模型的,比如拓展名称为 smodel 的加密模型文件,锁定 jtag 为的是不让别人提取出来模型里面的内容

wonderfullook commented 1 year ago

机器码是用来给解密加密模型的,比如拓展名称为 smodel 的加密模型文件,锁定 jtag 为的是不让别人提取出来模型里面的内容

smodel 绑定设备的机器码使用,机器码不匹配的话模型加载失败

cvchauhan07 commented 1 year ago

机器码是用来给解密加密模型的,比如拓展名称为 smodel 的加密模型文件,锁定 jtag 为的是不让别人提取出来模型里面的内容

Ooh I see. Got it. And... is this the only way of getting Machine Code? Can't we do anything about our JTAG?

wonderfullook commented 1 year ago

机器码是用来给解密加密模型的,比如拓展名称为 smodel 的加密模型文件,锁定 jtag 为的是不让别人提取出来模型里面的内容

Ooh I see. Got it. And... is this the only way of getting Machine Code? Can't we do anything about our JTAG?

Train your model locally, visit nnacse to see how to train out the kmodel, this model does not require machine code.

cvchauhan07 commented 1 year ago

机器码是用来给解密加密模型的,比如拓展名称为 smodel 的加密模型文件,锁定 jtag 为的是不让别人提取出来模型里面的内容

Ooh I see. Got it. And... is this the only way of getting Machine Code? Can't we do anything about our JTAG?

Train your model locally, visit nnacse to see how to train out the kmodel, this model does not require machine code.

Ooh, I see...that's great if machine code isn't require for that. Thank you so much!