HI.
I'm trying my new EV-board MCBSTM32E from Keil.
I have copied the STM32_Init.c and .h file from the Blinky demo project to one project and added STM32F10xR.LIB and my one main.c.
#include <stm32f10x_lib.h> // #include "STM32_Init.h" // int main (void) { stm32_Init();// STM32 setup GPIOB->ODR = (GPIOB->ODR & 0xFFFF00FF) | (1 << 8); while(1); }
I can debug the code but the led won't go on. I don't think that's has something to do with the GPIO but more a overall Init problem.
I know that it can be a lot of thing, but I think it's something simple I have missed
Thanks. Soren
you are saying that after power up your program is working? then all you need to do is reset the board after download (using the checkbox available at "flash download setup" dialog of uVision).