cancel
Showing results for 
Search instead for 
Did you mean: 

Generate .hex for FlashLoaderDemonstrator with EWARM 6.70.1.5794

joe_lambord
Associate II
Posted on February 08, 2015 at 23:36

Hello,

I'm using IAR EWARM 6.70.1.5794 for developping a firmware on a STM32F107VCT6. I use a ST LINK V2 for debug. Now i would like generate an hex or bin file for downloading the file without ST-LIN V2 but with Flash Loader Demonstrator in bootloader mode. I have tried Project -> Options -> Output Converter -> Generate additional output file / Intel extended but when i try to load the file with Flash Loader demonstrator, i have an error : ''unable to load this file...''

I have although tried to unselect ''include debug information in output'' but that's the same problem =(

Anyone have an idea to solve this?

Thanks

#flash-demonstrator-iar-hex
2 REPLIES 2
Posted on February 09, 2015 at 02:40

What address did you build the code for? 0x00000000 or 0x08000000

Could you attach the .HEX you've built currently? Would be useful to identify what the problem is.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
joe_lambord
Associate II
Posted on February 09, 2015 at 07:58

Apparently, the ROM start at 0x08000000.

/*-Memory Regions-*/

define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;

define symbol __ICFEDIT_region_ROM_end__ = 0x080FFFFF;

define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;

define symbol __ICFEDIT_region_RAM_end__ = 0x20017FFF;

/*-Sizes-*/

define symbol __ICFEDIT_size_cstack__ = 0x400;

define symbol __ICFEDIT_size_heap__ = 0x200;

________________

Attachments :

Project.hex : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hz2o&d=%2Fa%2F0X0000000bMx%2FB3MiP8mo_LOdmsAPKs5c4xAgRHV60CANuA2JLPF1n_I&asPdf=false