TI E2E Community
Low Power RF & Wireless Connectivity
Low Power RF Proprietary Software & SimpliciTI Forum
Reg hex file creation....
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..
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?
"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
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...
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.
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
hexfiles?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
[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)]
Hopefully the generated hex file should now be programmable with e.g. TI SmartRF Flash Programmer application.
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.....
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.