2010-07-20 11:28 PM
Problems with ST-link
2011-05-17 04:59 AM
I´ve got the solution.
In IAR IDe you can load the code in DEBUG or in RELEASE mode. If you choose the first one, you only load the code in ST-link, so when you remove the ST-link the code doesn´t run because any code had been loaded into the micro. If you choose the second one, you load the code in the micro. To configure both, you must to click on Project/options to configure both modes. For debug mode you must to tell the compiler wher to find in linker tabSTM32F10x_RAM.icf For release mode you must to tell the compiler wher to find in linker tabSTM32F10x_FLASH.icf In release mode you must to tell the compiler in C/C++ Compiler/prepocessor tab in defined symbols(one per line) : EMB_FLASH