TI E2E Community
Low Power RF & Wireless Connectivity
Low Power RF Hardware & Tools Forum
Problems in Compiling CC2431 Location Engine Sample
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.d51Fri Apr 11 14:40:11 2008: Target resetFri 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.30BInstall 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.hClick Make to compile or Rebuild All [the same result]Click Project -> Debug to download the program into the CC2430 Evaluation Board with SmartRF04What 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 onyour webpage http://focus.ti.com/docs/toolsw/folders/print/z-stack.htmlwhich is not available now [again].Best regards,Sham Pui Sum, Rex
Another responsible reply from TIThank 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.
I have just tried this myself and I do not get funny characters on my LCD. At the moment, for example I have
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.
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
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.
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
"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
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....
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?
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)
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?
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.
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 SARYou may contact me at email@example.com
May the force be with you!
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.
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!
I have requested some EMs for you so you should not have to do anything.
Thanks Yoda, I got the system running now~ ^^
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.
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.