[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