Posted on May 17, 2011 at 09:35Here's another data point. Yesterday I used the code in ST's FMI sample program, which looks like the same code you are using, and it worked as expected on the IAR development system. I can write flash memory with one ...
Posted on May 17, 2011 at 09:35I think there's a bug in GPIO_ANAPinConfig(), which configures pins of PORT4 for analog input. The line SCU->GPIOOUT[4] &= ~(0x3<seems wrong, and stomps on other pins in PORT4. I'm not sure if this line is needed at a...
Posted on May 17, 2011 at 09:35I need to have some variables that retain their values when the CPU is reset or powered off. I'm using the IAR dev. system, and the only way I can see to do it is by using their ''@'' and ''__no_init'' C extensions tha...
Posted on May 17, 2011 at 09:33Maybe if I just give my code, somebody can find the problem: main.c ------ #include ''91x_lib.h'' #include int IRQ_counter = 0; main() { TIM_InitTypeDef TIM0_InitStructure; // usual clock & uart initialization, etc. om...