• 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 Hardware & Tools Forum » Problems in Compiling CC2431 Location Engine Sample
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Problems in Compiling CC2431 Location Engine Sample

Problems in Compiling CC2431 Location Engine Sample

This question is not answered
Rex4046
Posted by Rex4046
on Aug 16 2008 16:49 PM
Prodigy90 points

HI all,
I am testing CC2431DK, I downloaded Z-stack1.4.3 latest version and IAR 7.30B and I tried to compile the sample code of Location Engine.
I chose to compile as Location Dongle and Coordinator EB. Then I click Debug to download the program into the CC2431 module.
What I get on the LCD screen of the SmartRF04B is a screen like below

►►►►►►►►►►►►►►
►►►►►►►►►►►►►►

I contacted TI support and I got useless replies. That guy just thought I was an idiot and using CC2430 to do locationing... I already told him I am using CC2431DK and see what he replies me... I deleted his name here as I still have some respect to him.

I am using Traditional Chinese Windows XP and I am thinking of some problems with the file encodings, anyone have clues on that problem? Seems that I am the only one in the world having this problem... I will try this on an English machine in a few days but please tell me how to fix this if you have had that problem before or you have some clues on the problem.

Thanks in advance!

 

---------------------------------------

BTW let's see what kind of rubbish replies I got from TI:

[Problem:
I am using CC2431DK I set up IAR 7.30B with Z-stack CC2430 1.4.3 with Application examples 1.2.0. When I compile the Location tracking application, I run into a problem. I choose CoordinatorEB and used "#define LOCATION_DONGLE" in LocationProfile.h, then I compile it without warnings and errors. Then I choose Project -> Debug to download the program into the CC2430 Evaluation Board with SmartRF04, what I got on the SmartRF04 LCD screen is full of arrows pointing to the right hand side: Like this: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> The program just don't run and hangs during initialization. And when I check the IAR debug log after a power cycle, I got this when I click "Go"
Fri Apr 11 14:40:09 2008: No verification errors found during download.
Fri Apr 11 14:40:10 2008: Download complete.
Fri Apr 11 14:40:11 2008: Loaded debugee: C:\Texas Instruments\ZStack-1.4.3-1.2.0\Projects\zstack\Samples\Location\ CC2430DB\CoordinatorEB\Exe\SampleApp.d51
Fri Apr 11 14:40:11 2008: Target reset
Fri Apr 11 14:40:31 2008: Unable to execute: driver error.
Fri Apr 11 14:40:31 2008: The stack 'IdataStack' is filled to 100% (192 bytes used out of 192). The warning threshold is set to 90.%
Fri Apr 11 14:40:31 2008: The stack 'XdataStack' is filled to 100% (768 bytes used out of 768). The warning threshold is set to 90.%
Fri Apr 11 14:40:31 2008: The stack pointer for stack 'IdataStack' (currently IData:0x00) is outside the stack range (IData:0x40 to IData:0x100)
Fri Apr 11 14:40:31 2008: The stack pointer for stack 'XdataStack' (currently XData:0x0000) is outside the stack range (XData:0xE008 to XData:0xE308) ]

[Steps Needed to Recreate Problem:

Set up IAR 7.30B
Install Z-stack CC2430 1.4.3 with Application examples 1.2.0.
Compile the Location tracking application.
Choose CoordinatorEB and used "#define LOCATION_DONGLE" in LocationProfile.h
Click Make to compile or Rebuild All [the same result]
Click Project -> Debug to download the program into the CC2430 Evaluation Board with SmartRF04
What I got on the SmartRF04 LCD screen is full of arrows pointing to the right hand side:
Like this:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>

--------------------------------------------------------------

A REALLY FUNNY REPLY from TI:

Thank you for contacting Texas Instruments. Your request has been received and Service Request number SR#1-601664662 has been assigned to your inquiry.

As my know, CC2430DK didn't support  Location tracking or Location Engine. But CC2431ZDK support this application. So I would adviced you use CC2431ZDK. Could you tell me that your EVM board is CC2430DK or CC2430ZDK or CC2431DK or CC2431ZDK?
 
Thank you for contacting TI Asia Product Information Center.

----------------------------------------------------------------------------

Hi,
As stated in the request form, I use CC2431DK and not CC2430DK.
The z-stack for download is called CC2430- Z-stack CC2430 1.4.3 on
your webpage http://focus.ti.com/docs/toolsw/folders/print/z-stack.html
which is not available now [again].
Best regards,
Sham Pui Sum, Rex

-------------------------------------------------------------------------------

Another responsible reply from TI

Thank you for contacting Texas Instruments. Your request has been received and Service Request number SR#1-601664662 has been assigned to your inquiry.
The links to the software download were temporarily removed because there was a technical problem with the installers. As soon as this is fixed they will be put on web again. 
Thank you for contacting TI Asia Product Information Center.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Lisa TI
    Posted by Lisa TI
    on Aug 18 2008 09:26 AM
    Guru99975 points

    Hi Rex,

     I have just tried this myself and I do not get funny characters on my LCD.  At the moment, for example I have  

    Zigbee Coord

    Network ID: 3FFF

     I am assuming you have not modified anything and have tried cycling the power?  Unfortunately I don't have a chinese machine so can't verify if this might be the cause.  But I can verify the example in Z-stack 1.4.3 seems to give the expected behaviour.

    Cheers,

    Yoda

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rex4046
    Posted by Rex4046
    on Aug 18 2008 10:50 AM
    Prodigy90 points

    Hi Yoda,
    Yes of coz I have not modified anything and have tried cycling power. The problem happens in 1.4.2 and 1.4.3...
    I will test that again with a fresh English machine when I am free these days.
    Do you have any special settings in Windows XP in order to make it work? I mean in Regional and Language Options.
    Thanks again for your reply.
    Cheers,
    Rex

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Lisa TI
    Posted by Lisa TI
    on Aug 19 2008 03:14 AM
    Guru99975 points

    Hi Rex,

     No, I don't believe I have any special settings.   Although I have a german keyboard and have some programs set up for German (for example Word), my computer is set to default US English settings, unfortunately.   So basically the default western character set.   

    Cheers,
    Lisa

    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 Aug 19 2008 09:45 AM
    Genius10415 points

     Hi,

    Interesting feedback :) 

    With this on your displayed I am also sure the green LED is toggling too. Right? You will need to setup your IEEE address. Try to push the center of the joystick down and see what happens

    Hopefully this helps

     LPRF_Rocks

    "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

    CC2431 IEEE address
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rex4046
    Posted by Rex4046
    on Aug 20 2008 06:57 AM
    Prodigy90 points

    Setting the IEEE address is the first step before I flash the chips with IAR. I did all the steps and I confirm that the IEEE addresses are not overlapping.

    The lights are not toggling. Nothing lights up. I tried pushing everything "pushable" and no change in anything. Just funny arrows....

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rex4046
    Posted by Rex4046
    on Aug 25 2008 05:45 AM
    Prodigy90 points

    I have tried that in a freshly installed English Windows XP SP2, I installed  1.4.3 and IAR7.30B, the situation is still the same.
    Those funny arrows still appear and pressing every buttons gives no response, no lights no blinking.
    Of coz pressing the S2 and S3will reset the board and nothing else are useful...

    Do you all really have no special settings? Localization and Lanugage settings?

    Thanks

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Lisa TI
    Posted by Lisa TI
    on Aug 25 2008 10:52 AM
    Guru99975 points

    Hi Rex,

    I have tried a few different things here and still get the normal output on the LCD.   I have no special settings.  However I did notice IAR has a language option as well.  Look under  Tools-> Options -> Language.   Mine is set to US English (the only available option for me).   Check if you have the same.

     Some other things to check

     -  What version hardware do you have?   It would be a good idea to make sure you are using Rev E parts.  You can check the revision in SmartRF Studio or by the following knowledgebase entry   http://www-k.ext.ti.com/SRVS/CGI-BIN/WEBCGI.EXE/,/?St=7,E=0000000000012395325,K=9689,Sxi=0,Case=obj(49151)

    - In your project options, do you have CC2431 or CC2430 selected?  (Of course you want to use the banked model)

    Cheers,

    Yoda

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rex4046
    Posted by Rex4046
    on Aug 26 2008 05:03 AM
    Prodigy90 points

    I selected CC2430 [default settings in 1.4.3 sample code] and I also tested using CC2431 and using banked mode. I tested both settings with CC2431EM and CC2430EM, and results are the same.
    I am using Chip Rev B, (R6=0x01)
    Will there be a problem if I use that old chip Rev?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Lisa TI
    Posted by Lisa TI
    on Aug 26 2008 05:16 AM
    Guru99975 points

    Hi Rex,

     Ok, I now fully believe that what you are seeing is due to the old hardware revision.   I have just tried with an old CC2430 (so non Rev E) and I am getting the same characters on the LCD now.  The best thing I can suggest is to contact your local support centre and tell them you have old parts and would like some updated Rev E (current) EMs.  Hopefully they will be able to arrange this for you ... if not you can always contact me again here.

    I am assuming as you have had a case with the Asia PIC that you are aware how to send the request? 

    I am assuming you may not be comfortable posting shipping and such information here (and I fully understand).

    Hopefully this will help and you are entitled to get updated EMs.

    Best Regards,

    Yoda

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rex4046
    Posted by Rex4046
    on Aug 26 2008 06:37 AM
    Prodigy90 points

    Thanks for your helpful reply, I got some sample chips from TI before and I soldered it onto one of the Rev B modules, and it worked...
    Thanks a lot yoda!
    Oh god it seems that only me in this world has ever faced this problem and some official support still don't know this...
    Can you please tell me who should I contact if I am in Hong Kong?
    I can post shipping information here and it is:
    8/F General Office, Haking Wong Building, The University of Hong Kong, Pokfulam Road, Hong Kong SAR
    You may contact me at rexsham@hku.hk

    May the force be with you!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Lisa TI
    Posted by Lisa TI
    on Aug 26 2008 09:25 AM
    Guru99975 points

    Hi Rex,

     lol ... thanks :  )

     I found you in the system anyhow from your previous request to the Asia PIC so I can get some new EMs sent to you.

    Cheers,

    Yoda

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rex4046
    Posted by Rex4046
    on Aug 26 2008 23:49 PM
    Prodigy90 points

    Hi Yoda,

    I have purchased the CC2431DK from RS components, do you mean TI will replace all the EMs for me or you will just send some for me?
    [Well my boss ask me this question...]
    Do I need to do anything to follow-up the replacement process?
    Do I need to mail the old modules back to TI?

    Thanks a lot!

    Rex

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Lisa TI
    Posted by Lisa TI
    on Aug 27 2008 03:44 AM
    Guru99975 points

    Hi Rex,

    I have requested some EMs for you so you should not have to do anything. 

    Cheers,

    Yoda

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rex4046
    Posted by Rex4046
    on Sep 05 2008 05:31 AM
    Prodigy90 points

    Thanks Yoda, I got the system running now~ ^^

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ahmad
    Posted by ahmad
    on Sep 05 2008 10:31 AM
    Prodigy60 points

     hi every body

    can anybody tell me from where could you download the z location engine sample code not the loction sample .And which is better to start with in order to do localization.

    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