80 likes | 330 Views
Connect Z-Tool with Stellaris. just4u78@gmail.com. Z-Tool Overview. Monitor & Test ( MT ) Interface Z-Tool Issue MT Commands to ZigBee Device. 1. Compiler Options. SampleApp’s. Additional Options. IAR_ARMCM3_LM LCD_SUPPORTED BUILD_ALL_DEVICES HOLD_AUTO_START ZTOOL_P1
E N D
Connect Z-Tool with Stellaris just4u78@gmail.com
Z-Tool Overview • Monitor & Test(MT) Interface • Z-Tool • Issue MT Commands to ZigBee Device
1. Compiler Options SampleApp’s Additional Options IAR_ARMCM3_LM LCD_SUPPORTED BUILD_ALL_DEVICES HOLD_AUTO_START ZTOOL_P1 MT_AF_FUNC MT_AF_CB_FUNC MT_APP_FUNC MT_DEBUG_FUNC MT_NWK_FUNC MT_NWK_CB_FUNC MT_SYS_FUNC MT_TASK MT_UTIL_FUNC MT_ZDO_FUNC MT_ZDO_CB_FUNC • Not Supported Options • MT_SAPI_FUNC • MT_SAPI_CB_FUNC • IAR_ARMCM3_LM • LCD_SUPPORTED • BUILD_ALL_DEVICES • HOLD_AUTO_START
2. Code modification to works \Components\mt \MT_DEBUG.c Optional (HAL_KEY=FALSE) \Components\hal\target \LM3S9B96CC2520\hal_mac_cfg.h #define HAL_MAC_CONFIG_TX_ACK_DONE_HIGH_LEVEL_INT() \ { \ GPIOIntTypeSet(HAL_MAC_TX_ACK_DONE_GPIO_PORT, \ HAL_MAC_TX_ACK_DONE_GPIO_BIT, \ GPIO_HIGH_LEVEL); \ IntEnable(INT_GPIOJ); \ } • Add to include sections (due to MT_DEBUG_FUNC) #include "mac_radio_defs.h"
3-1. Find Serial Port # of Stellaris • Windows Device Manager • Port (COM or LPT) • Stellaris Virtual COM Port • My System shows COM12
3-2. Serial Port Setting Settings Window Serial Port Settings