天下无双
发表于 2017-10-10 14:54:22
olevin 发表于 2017-10-10 10:53
在bluesuite的help文件里找SPI Lock
没有啊,只有一个spiunlock,这个是解锁的呀
天下无双
发表于 2017-10-11 08:18:45
大师呢,讲讲详细操作
天下无双
发表于 2017-10-11 14:41:42
:o人呢大师
yonghengzhihai
发表于 2017-10-11 17:10:33
在 Bluesuite的库里面有这个函数:
Function : int32 bccmdSetSpiLockCustomerKey(uint32 handle, uint32* custKey)
Parameters : handle -
Handle to the device
custKey -
Pointer to an array of 4 uint32 values that make up the
128-bit customer key.
Returns : <table>
<tr><td>-1 = Invalid handle
<tr><td>0 = Error
<tr><td>1 = Success
<tr><td>2 = Unsupported function
</table>
Description : This function writes the 128 bit SPI lock customer key. The
customer key written using this function can be used with the
spiunlock tool to unlock the SPI port if the SPI port had been
previously locked (see bccmdSpiLockInitiateLock). Therefore, the
customer key should be set before the SPI port is locked. Use
bccmdGetSpiLockStatus to check the SPI Lock status.
<p>Note that the customer key can be incorporated into the
firmware image loaded to flash memory. In this case, it is not
necessary to set the key using this function.
具体文件在TestEngine.h里面。
这是做在烧录工具的,烧录完成后,调用这个函数,加密spi锁就行
天下无双
发表于 2017-10-12 09:09:41
yonghengzhihai 发表于 2017-10-11 17:10
在 Bluesuite的库里面有这个函数:
Function : int32 bccmdSetSpiLockCustomerKey(uint32 handle ...
听说可以用dos命令加密spi呀,咋搞呀大师
天下无双
发表于 2017-10-13 08:11:05
怎么搞呀,大师,大牛们,知道知道
天下无双
发表于 2017-10-14 11:03:18
大师大师,,出来呀
mupro
发表于 2017-10-14 11:41:15
要吗自己做一个工具,用DLL
要吗用CSR自带的exe,命令行的
天下无双
发表于 2017-10-14 14:07:55
mupro 发表于 2017-10-14 11:41
要吗自己做一个工具,用DLL
要吗用CSR自带的exe,命令行的
就是问命令行呀,哪个工具,什么命令呀,大师
天下无双
发表于 2017-10-16 08:31:33
mupro 发表于 2017-10-14 11:41
要吗自己做一个工具,用DLL
要吗用CSR自带的exe,命令行的
dashi,指导指导呀,自带的哪个工具呀?什么命令