This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
CC-DEBUGGER: Problem with SmartRF Flash Programmer. Wouldn't verify HEX on some of our CC-Debuggers.
Part Number: CC1110-CC1111
I have TI SmartRF Flash Programmer version 1.12.8 configured as a tool in IAR v8.30.1:
Command: C:\Program Files (x86)\Texas Instruments\SmartRF Tools\SmartRF Studio 7\bin\SmartRFProgConsole.exeArgument: S() EPV F=$TARGET_PATH$ K(0)
Using IAR, I compile and link my CC1110 code and generate an extra output intel extended hex file with no formal variant.
Generated by IAR, the hex file starts with lines:
When I use SmartRF Flash Programmer to read the file, the generated file starts with lines:
This presents an issue when verifying the files using SmartRF Flash Programmer.
How can I resolve this?Either I need to:
A) know how to keep IAR from writing the Extended Linear Address record ":020000040000FA", or
B) know how to get SmartRF Programmer to read the Extended Linear Address.
Can anyone assist with this?
I don't understand what you mean by "When I use SmartRF Flash Programmer to read the file, the generated file starts with line." Did SmartRF FLash programmer change the file?
Cheers, Marie H.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Marie H:
Here are chronological steps to describe the issue.1) I compile the code using IAR and produce PTag.hex which starts with line :020000040000FA. I download PTag.hex onto the chip using IAR.2) I use Flash Programmer to read the hex file on the chip and name it PTagRead.hex.3) I use Flash Programmer to verify the hex file PTag.hex and PTagRead.hex match. They don't match because PTagRead.hex doesn't start with :020000040000FA.
Next, I want to verify that Flash programmer writes and read correctly:4) I write PTagRead.hex onto the chip using the Flash Programmer.5) I read the hex file on the chip again and call it PTagRead2.hex.6) I use Flash Programmer to verify the hex file PTagRead.hex and PTagRead2.hex. They match.
7) I write the hex file PTag.hex generated by IAR onto the chip using Flash programmer.8) I use Flash Programmer to read the hex file on the chip and name it PTagRead3.hex.9) I use Flash Programmer to verify PTag.hex and PTagRead3.hex match. They don't.
Flash Programmer removes the line :020000040000FA when it reads hex files generated by IAR.How can I prevent Flash programmer from deleting that line so that I can get matching files?
In reply to JDBC:
Option A is the only way to go. Not sure how and if possible in IAR.
The flash programmer will not create any record of the "Extended Linear Address" type if not needed. CC1110/CC1111 does not have more than 32 kB flash and the Extended Linear Address is not needed. From your example you can see that the extended address is 0x0000 so it is not really needed.
In reply to Øyvind K:
For anyone else with this issue, pay attention to the Linker Extra Output format. The CC1110 doesn't need intel-extended. If you use intel-extended, TI Flash Programmer will not verify a code match.
If you use linker extra output format intel-standard, the code will verify correctly with Flash Programmer.
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. 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.