• 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 Proprietary Software & SimpliciTI Forum » Reg hex file creation....
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Reg hex file creation....

This question is not answered
ZigBee3593
Posted by ZigBee3593
on Aug 06 2008 09:57 AM
Prodigy60 points

Hi everyone,

            I a G.Suresh from Vi Microsystems. Now I am working with ZigBee CC2431 processor. If I enable the hex fil creation option the hex file is created, but the processor doesn't works and also the verification fails. If create the hex file without enable -M option and debug from IAR it works, but it provides the error "cannot got to main" on enabling the option run to main. in Debugger option. Any one please give the solution for this above problem.

The tools version are,

IAR v7.20H, Z-Stack v1.4.2, Flashp programmer v1.5.0....

Thanks in advance..

with regards,

G.Suresh.... 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • LPRF Rocks the World
    Posted by LPRF Rocks the World
    on Aug 07 2008 14:27 PM
    Genius10415 points

     Hi G. Suresh,

    Are you using our CC2431ZDK kit? If you are, what HW platform BB, DB or EB boards. Any LED's toggling or if it is EB something on the LCD display?

    What did you do with the IEEE address when you reflashed the board using the SmartRF Flash Programmer? Did you retain the address? 

    LPWRocks

    "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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ZigBee3593
    Posted by ZigBee3593
    on Aug 07 2008 23:17 PM
    Prodigy60 points

    Hi,

    Thakn you for your reply. As you asked, I am using the CC2431ZDK kit only. When the program is loaded to the EB there is no indication inthe HW LED's or LCD. When it is loaded into BB there are also no indication in the HW LED. While downloading the code using Flash programmer I have enabled the option "Retain IEEE-address when programing". I have tried with -M option in the option before building the program then also I am Facing the same problem.

     Please provide me the solution to create the hex file...

    with regards,

    G.Suresh....

    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 08 2008 04:21 AM
    Genius10415 points

    Hi, 

    What about comparing hex files? Can you do this? 

    Compared the generated hex file from IAR with a readback file after programming from our Flash programmer. 

    An easy program that can do this comparison for you is WinDiff.

    LPWRocks 

    "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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • esy
    Posted by esy
    on Aug 08 2008 13:43 PM
    Expert3130 points

    Hi G. Suresh.

    I am not very familiar with the Z-stack, but your problems of creating a proper .hex file might be related to some options for the linker that will handle the banking of code.

    Have you remembered to modify the linker file for correct generation of hex
    files?

    In f8w2430.xcl (is this the linker configuration file you use?), remove the comments for line 95 (may vary for Z-stack versions?)

    // HEX FILE GENERATION
    //
    // Include the following line when generating hex file:
    -M(CODE)_BANK1A-1FFFF,28000-2FFFF,38000-3DFFF,3F000-3fff7=(_CODE_END+1)-0xFFFF,0x10000-0x17FFF,0x18000-0x1DFFF,0x1F000-0x1FFF7

    [This should be one line of parameters. Alternatively, you can try to add this linker option as extra parameters (in IAR, first, select e.g. the Release build configuration (the one that should output the hex file), and goto Project Options -> Linker -> Extra option, and add it as extra command line option, then it will be added as an extra option in addition to what's found in the linker configuration file you use (.xcl)]

    Rebuild. Hopefully the generated hex file should now be programmable with e.g. TI SmartRF Flash Programmer application.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ZigBee3593
    Posted by ZigBee3593
    on Aug 10 2008 23:16 PM
    Prodigy60 points

    Hi frnd,

           Thank you very much. thanks a lot. Finally the hex file was generated correctly and it is working now. Initially I was using the -M option provided in the IAR user guide manual but now for the option given by you it is working. Can you tell me how that -M option can be writen according tio the .xcl file.....

     with regards,

    G.Suresh.....

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
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