Hi,
I have made the hardware MSP430F2618 + CC2520...
and I am trying to use z tool. I am using
MSP430F2618HAL_UART=TRUEMT_SYS_FUNCMT_ZDO_FUNCMT_ZDO_CB_FUNCMT_UTIL_FUNCMT_ZDO_MGMTZAPP_P1ZTOOL_P1MT_TASK
compile options and the board is connected to PC via a USB and a printer parallel port ( RS232 is there to program the board)(I don't
know how it sounds) after downloading it says 0 errors and warning, Now I start the Z tool 2.0 which scans the device and says No devices
found. I have also tried going to tools-> settings -> serial Devices it shows to COM port COM1 and COM8..I think COM8 is for the USB which is connected
to the board and COM1 is for mouse. But it doesn't show LPT1 (Printer port of CPU which is getting used to program i think) have tried changing the
HANDSHAKE RTC/CTS and NONE but nothing is happening for me now it always shows NO Devices Found.
Kindly Help it's really urgent.
Thanks a lot.
Regards
Sumit
Hello Sumit,
You should be able to use the Z-Tool with the MSP430F2618+CC2520 design. I will recommend comparing your design against a reference point.I took the sample application GenericApp with ZStack-MSP2618 release used the following compile options:
MSP430F2618ZTOOL_P1MT_TASKMT_SYS_FUNCMT_ZDO_FUNCLCD_SUPPORTED
Then, on Z-Tool for the baud rate used the following settings: BaudRate: 38400, Stop Bits: 1. Parity: None, Data Bits: 8, Handshake: RTS/CTS
On SmartRF05 Board (in my case Rev 1.8.1) ensure that the RS232 enable switch P14 is set properly (RS232 enabled) and switch P19 is set to select MSP on EM selection.Then you should be able to detect the device using Z-Tool. Can you please compare if you are doing these things and compare your hardware connections with the reference design. Please let me know if you have any questions and if you were able to get the device detected via the Z-Tool.
Also, my reference hardware was CCMSP-EM430F2618 board + CC2520 + SmartRF05EB board + RS232 cable connecting the SmartRF05 board to the PC.
Hey Suyash,
Thanks a lot for reply !
But look I don't have SmartRF05EB board, I just have MSP430F2618 + cc2520 board and this board has a 14 pin ISP port via which I programmed the board.
And I am able to run the sample applications on it, and also I can send messages and can detect on other zigbee devices.
I programmed using MSP430 USB-DEBUG-Interface (MSP-FETU430IF), So when I start z tool my design is just a MSP430F2618 + cc2520 board connected to CPU with an USB connector and MSP430 USB-DEBUG-Interface (MSP-FETU430IF to the 14 pin ISP port via which i programmed the device) and both are serial and the z tool detects both devices two com port for the devices and the settings are same as you mentioned.
So I am not using the smartRF05EB board, some where i read that it is needed only when your MSP430F2618 + cc2520 board does not have rs232 port but by MSP-FETU430IF I can send data serially so I don't think that it should be a problem but I am not sure.
So your suggestions ??...
Thanks a Lot !
With best regards
The code uses Port Pins P3.4 and P3.5 for UART
#define HAL_UART_PORT_CONFIG() { P3SEL |= BV(4) | BV(5); } /* P3.4, P3.5 - UCA0TXD and RXD */
Please make sure you are connecting the port pins correctly for UART port used by Z-Tool.
It turns out that a lot of people (including me), running Z-Tool, are getting message «No devices found".
Here is the steps you need to do for disappearing angry message «No devices found" when you run the Z-Tool. It is checked for Windows 7 (in Windows 8 it is not working), for the board MSP430FG4618/F2013 Experimenter's Board, for Zstack-1.4.3-1.2.0 (works with all versions Zstack).
Naturally, in the IBM PC COM port is set to 38400, 8 bits, 1 stop bit, no parity.
What is needed:
1. In IAR in Project in Options... C/C++ Compiler item, on the Preprocessor tab in Defined symbols: (one per line) box, at least, to write
MSP430FG4618
MT_TASK
ZTOOL_P1
2. In accordance with the scheme of the board, shown in the document slau213a.pdf MSP430FG4618/F2013 Experimenter's Board User's Guide, page 19, it is clear that the information's transmit to IBM PC is impossible, if not set the active level of DTR. Therefore, in the Z-Tool settings select Tools → Settings → Serial Devices → COM1 (or COM X) → Edit → Handshake DSR / DTR.
It must to work.
The issue was solved thanks to European University Program of TI, especially thanks to Robert Owen.