Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: could not open specified hex file

$
0
0

[quote user="YiKai Chen"]

Do you generate the hex file with the following two steps?

1.Select "intel-extended" output in your linker option.

2. Enable the following two lines.

// Include these two lines when generating a .hex file for banked code model:
-M(CODE)[(_CODEBANK_START+_FIRST_BANK_ADDR)-(_CODEBANK_END+_FIRST_BANK_ADDR)]*\
_NR_OF_BANKS+_FIRST_BANK_ADDR=0x8000

[/quote]

Hello YiKai Chen,

Thanks for your help.

In order to enable IAR debugging capabilities and also generate HEX file I made the following changes:

 

Now I can use the HEX file for flashing my device.

Regards,

Efi


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>