Other Parts Discussed in Thread: CC2530, CC2531, Z-STACK
小白求助!把SensorDemo用例修改了之后,CC2531USB Dongle插到PC机上没有反应了,不能识别了,求指导~
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.
按照以前的论坛上说的(http://e2e.ti.com/support/wireless_connectivity/f/158/p/137236/498669.aspx#498669),我在SensorDemo的用例上做了如下修改:
1.首先,我想要将CC2531USB dongle 作为协调器,连接CC2530节点,希望可以通过PC先用串口调试,我选择了CollectorEB.
2.我在项目的options中,将Target中的Device换成了CC2531F256.
3. 在C/C++ Compiler的Preprocessor的include directories中将“..\Components\hal\target\CC2530EB”换成了:
$PROJ_DIR$\..\..\..\..\..\COMPONENTS\HAL\TARGET\CC2530USB
$PROJ_DIR$\..\..\..\..\..\COMPONENTS\HAL\TARGET\CC2530USB\usb\library
$PROJ_DIR$\..\..\..\..\..\COMPONENTS\HAL\TARGET\CC2530USB\usb\library\cc2531
$PROJ_DIR$\..\..\..\..\..\COMPONENTS\HAL\TARGET\CC2530USB\usb\class_cdc
由于是刚接触,不是很明白需要修改什么,运行后,修改了报错信息后,将代码烧入USB,插入电脑后,没有识别,找不到串口。
可以给写指导么?谢谢!