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.

.hex or .d51 or more

Other Parts Discussed in Thread: CC2430

Hi,

I have buit my project completely...In folder named "exe",i found the file extend ".d51" ...could i import it to cc2430 through RS232 or USB?

Hope reply soon,thank you very much

  • d51 is the debug file from IAR. Normally, this file would be used with the IAR EW8051 to download to target you have with CC2430.
    Build a *.hex (Intel Extended) file and use our SmartRF Flash Programmer to flash the CC2430.

    LPRF Rocks the World

  • But,i code and build program with IAR...Could i do the same way with "SmartRF Flash Programmer" to build ".hex" file ?

  • You can set up IAR to produce the intel-extended output file. 

    Go to Project > Options, select Linker and then the Extra output tab. Check "Generate extra output file" and select output format as intel-extended (format variant: None).

    The extra output file will be in the same folder as your .d51 output. If the content of the Extra output tab is disabled, go to the Output tab and check the "Allow C-SPY-specific extra output file" checkbox.

    Best regards,
    ABO 

    --
    PS. Thank you for clicking  Verify Answer  if this answered your question!

  • I do it step by step as your advise said, but IAR doesn't creat the ".hex" file...This is my project and some pictures about my steps...could you check it? 

    4572.LCD new.rar

    and here is my steps

    0827.steps.rar

     

  • Hi again,

    It is the LCD.a51 file that has the intel-extended format. If you want the output file to use the  .hex extension, check the "Override default" checkbox and type in e.g. LCD.hex.

    You can use SmartRF Flash Programmer to download the intel-extended image to your device no matter what extension you use.

    Best regards,
    ABO 

  • thanks a lot...i relly appreciate...^^...i do creat the hex file...