Hi Tormod,
I tested the gitorious code on IAR 5.4 and it doesn’t work. The IAR 5.4 version does not use the .xcl files as linker command files, but instead uses .icf files.
The .icf files are not included in the gitorious tree. Therefore I used two stm32f10x_flash.icf files from other project (BenFv3forIAR5.0). These files determine the ROM and RAM start location.
The stm32f10x_flash.icf used in APP defines ROM as 0x800C000…0x0801FFFF and RAM as 0x20001800 … 0x20004FFF (same values as in lnkarm_flash.xcl).
The stm32f10x_flash.icf used in LIB defines ROM as 0x08004000…0x0801FFFF and RAM as 0x20000000 … 0x20004FFF (same values as in lnkarm_flash.xcl).
When I tweak the Project - Options to use the linker command files and generate hex files, convert to dfu and load these files, the DSO nano will on startup display “Please connect to USB Host” and only accept uploading functionality.