• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF ZigBee® Software & IEEE 802.15.4 Forum » sensordemo & mt tools issue
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

sensordemo & mt tools issue

sensordemo & mt tools issue

This question is not answered
Guillermo Vides
Posted by Guillermo Vides
on Nov 22 2010 08:08 AM
Prodigy200 points

Hi,

I'm having trouble when I try to use mt-tools with the sensordemo app. When I start  mt tools (connected to the gateway/coordinator), a warning message says that the stack version is not the expected (v 2.30). I'am using v 2.30 1.40, the demo works, compile fine but I can't use the MT tools. Is there any problem in using mt tool with sensordemo? 

thanks

Guillermo

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Frank O
    Posted by Frank O
    on Nov 26 2010 16:07 PM
    Prodigy80 points

    Hi,

    I have the exact same problem with Z-Stack 2.3.1-1.4.0

    I use a CC2530EM with SmartRF05 Rev 1.8.1

    I'm building (succesfully) SensorDemo - CollectorEB-PRO with the following compile options:

    ZIGBEEPRO
    HOLD_AUTO_START
    BUILD_ALL_DEVICES
    REFLECTOR
    NV_INIT
    NV_RESTORE
    ZTOOL_P1
    MT_TASK
    DEVICE_LOGICAL_TYPE=ZG_DEVICETYPE_ROUTER
    LCD_SUPPORTED
    MT_SYS_FUNC
    MT_ZDO_FUNC

    When I start ZTool.exe (2.0) I get the following message:

    *** WARNING *** Expected Z-Stack version (2.3.1) does not match with actual Z-Stack version. Z-Tool may not work properly.

    When I send a "SYS_PING"   <TX>04:29:20.51 COM1 SYS_PING (0x2101)

    I get this answer:  <RX>04:29:20.51 COM1 SYS_PING_RESPONSE (0x6101)    Capabilities: MT_CAP_SYS, MT_CAP_UTIL (0x41)

    I tried with different compile options (MT_UTIL_FUNC), the Capability list is always the same "MT_CAP_SYS, MT_CAP_UTIL (0x41)"

    Only "SYS_PING" works and none of the "MT_UTILS" commands are working.

    Thanks

    Frank

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Guillermo Vides
    Posted by Guillermo Vides
    on Nov 27 2010 08:44 AM
    Prodigy200 points

    Hi, Frank

    The ping works because the answer is handled at the app. level. It seems that there is a compatibility problem with the uart (two apps trying to access it)  but I can't see where it is.  (it would be logical  in Linux, but I don't think that OSAL handle task and resources)

    Guillermo

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Biao Yu
    Posted by Biao Yu
    on Mar 04 2011 12:41 PM
    Prodigy20 points

    I have exactly the same problem.

    Any one find a solution??

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • LPRF Rocks the World
    Posted by LPRF Rocks the World
    on Mar 04 2011 13:55 PM
    Genius10415 points

    Sensor Demo is using MT interface connecting to Sensor Monitor Application.

    LPRF Rocks the World

    "Customer Centricity, Enthusiasm, Mass collaboration and Great minds are the best path towards great products"

    “Victory awaits him who has everything in order – luck people call it. Defeat is certain for him who has neglected to take the necessary precautions in time; this is called bad luck.” 
    Roald Amundsen, The South Pole

    Sensor Monitor App.
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ismail HANCI;
    Posted by ismail HANCI;
    on May 02 2012 08:12 AM
    Intellectual285 points

     

    LPRF Rocks the World

    Sensor Demo is using MT interface connecting to Sensor Monitor Application.

    LPRF Rocks the World

    So, what can we do? how can we use callback functions;?

    SensorDemo cc2530
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on May 03 2012 00:11 AM
    Mastermind9350 points

    Hi,

    We use the following defines to enable MT functions that we need in our project.

    ZTOOL_P1
    MT_TASK
    MT_AF_FUNC
    MT_AF_CB_FUNC
    MT_APP_FUNC
    MT_DEBUG_FUNC
    MT_NWK_FUNC
    MT_NWK_CB_FUNC
    MT_SYS_FUNC
    MT_SYS_OSAL_NV_READ_CERTIFICATE_DATA
    MT_UTIL_FUNC
    MT_ZDO_CB_FUNC
    MT_ZDO_FUNC
    MT_ZDO_MGMT

    You can add these to your project and see if it works to your project.

    Regards!

    YK Chen

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ismail HANCI;
    Posted by ismail HANCI;
    on May 03 2012 07:10 AM
    Intellectual285 points

    i add all defines at SensorDemo application by Coordinator Compiler Options. But nothing changed. i add all at Home Automation application Coordinator compiler Options. I never run Ztool with this and the coordinator don't response my sys_ping Command(0xFE,00,21,01,20). 

    am i doing Wrong. i spent for three weeks to build a general gataway with home Automation profile which can be controlled from serial port. But i have no success. 

    can anybody help me. I am just using zstack Examples. I didn't change anything  on the code except compiler options to add YH Chen's Defines. What is wrong:(  

    zstack 2.5.1

    Ztool 2.0

    cc2530 ZDK

    ZStack ZTOOL cc2530 ZDK
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on May 04 2012 03:27 AM
    Mastermind9350 points

    Hi HANCI,

    Do you enable your RS232 on your EVB? I use SMART RF05 EVB and its switch is P14.

    Regards!

    YK Chen

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ismail HANCI;
    Posted by ismail HANCI;
    on May 06 2012 18:25 PM
    Intellectual285 points

    i am using P18 pin header.

    9-RX

    11-TX 

    20-GND

    Also P14Enable but it makes no sense on P18, i believe.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on May 08 2012 00:53 AM
    Mastermind9350 points

    Hi HANCI,

    If it is possible, I suggest you use P14 to use default RS232 connector on Smart05EB.

    4604.Smart05EB.pdf

    Regards!

    YK Chen.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ismail HANCI;
    Posted by ismail HANCI;
    on May 10 2012 14:46 PM
    Intellectual285 points

    oh yeah, That's it.

    it is working and i will find the real problem at the backside :).

    Now i activate  AF, SYS., ZDO...  functions. .

    But still there is some problem. when i activate UTIL functions, an "Key_established  . .. relay.. " in r51 file of UTIL file.

    I want to activate all funcitons. How can get ride of the compiler errors.

    zdo AF stack
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on May 10 2012 21:17 PM
    Mastermind9350 points

    Hi HANCI,

    Great to hear that it works on your side. Would you please describe more specific about the compiling errors that make you suffer? Which define will cause compiling error?

    Regards!

    YK Chen

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ismail HANCI;
    Posted by ismail HANCI;
    on May 24 2012 17:44 PM
    Intellectual285 points

    Hi,

    I can enable the Layer function folder on Ztool such as AF,ZDO,NWK etc. 

    But most of them don't response correctly. in Ztool, I used Load Parameter buton for network information.

    But only IEEE adress can be read. Others are all N/A. 

    I am using SimpleLight Example for Home Automation Profile.

    Shortly, I can ping, read IEEE adress but i can't search networks  with "MAC_SCAN_REQ" . But MAC function folder (NWK) seems inZtool.

    What should i do?

    ZTOOL
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on May 25 2012 00:56 AM
    Mastermind9350 points

    Hi,

    Do you check your checksum byte? Is it correct when you send MT command?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ismail HANCI;
    Posted by ismail HANCI;
    on May 25 2012 05:40 AM
    Intellectual285 points

    I am using last version Ztool and SYS folder functions are working.

    I could't run ZDO functions. some functions in Ztool and answers are in below. ZDO functions are not responded

    <TX>01:35:00.74 COM6 SYS_PING (0x2101)

    <RX>01:35:00.75 COM6 SYS_PING_RESPONSE (0x6101)
    Capabilities: MT_CAP_SYS, MT_CAP_AF, MT_CAP_ZDO, MT_CAP_APP (0x119)

    <TX>01:35:06.97 COM6 SYS_OSAL_NV_READ (0x2108)
    Id: 0x0001
    Offset: 0x01

    <RX>01:35:06.98 COM6 SYS_OSAL_NV_READ_SRSP (0x6108)
    Status: SUCCESS (0x0)
    Len: 0x07
    Value: hZ..K.. (0x68, 0x5A, 0x01, 0x00, 0x4B, 0x12, 0x00)

    <TX>01:35:47.73 COM6 ZDO_NWK_DISCOVERY_REQ (0x2526)
    ScanChannels: CHNL_0x00000800 (0x800)
    ScanDuration: 0x0A

    <TX>01:35:59.22 COM6 ZDO_MGMT_LEAVE_REQ (0x2534)
    DstAddr: 0x0000
    DeviceAddress: 0x0000000000000000
    RemoveChildren_Rejoin: 0x00

    <TX>01:36:05.66 COM6 ZDO_GET_LINK_KEY (0x2525)
    IEEEAddr: 0x0000000000000000

    home automation ZTOOL
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use