Other Parts Discussed in Thread: UNIFLASH,
我想给每个设备写入一个ID,用CC3200怎么能方便的存储这个ID?用uniflash可以实现这个功能么?或者在程序运行过程中写入flash,有没有相关例程?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
CC3200不能直接对flash进行读写,需要通过文件系统访问flash。Uniflash不能实现这样的功能
你或许可以获取MAC地址,用它来标记设备,它也是唯一的,可参考:https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/751719/rtos-cc3200-extract-mac-id/2779109#2779109
Hi Kevin 非常感谢,但我还有个问题想请教 我尝试调用以下代码,发现 VERIFY_NO_ERROR_HANDLING_IN_PROGRESS(); 这个直接返回了 我追了以下应该是SL_IS_COMMAND_ALLOWED!= (_u8)TRUE (g_SlDeviceStatus=0)造成的,您知道是什么原因么?
_u8 MAC_Address[6];
MAC_Address[0] = 0x8;
MAC_Address[1] = 0x0;
MAC_Address[2] = 0x28;
MAC_Address[3] = 0x22;
MAC_Address[4] = 0x69;
MAC_Address[5] = 0x31;
sl_NetCfgSet(SL_MAC_ADDRESS_SET,1,SL_MAC_ADDR_LEN,(_u8 *)MAC_Address);
这是另一个问题了,与主题不相关,请为此重开一个新帖,以便其他人查找