Hello,
I got difficulties with the Keil µVision 4 IDE. I'm using the ST Discovery-Board (STM32F407VG) and want to use the Discovery-Board as an I2C-Master. I got a working CooCox-project, but now I have to migrate it to Keil µVision 4.
When I create a new project (in µVision 4) I'm able to communicate with the board (I did some blinky-programs successfully). Problem seems to be the correct usage of libraries/ errors from the linker.
My working CooCox-project is derived from this example: ").
This project has main.c/.h and stm32_ub_i2c1.c/.h with I2C-functions. Other embedded code in the CooCox-project: stm32f4xx.c/.h stm32f4xx_gpio.c/.h stm32f4xx_rcc.c/.h stm32f4xx_i2c.c/.h
Thank you for your help.
Best Regards, Ilyas
solution to the startup problem was to remove the startup-function of the CooCox IDE (which was still in the code) and replace it with the startup procedure of the example-project for the MDK-ARM IDE.
So now the program runs with KEIL µVision 4. :-)
Thanks to all of you for your contribution. If you want a ZIP-folder of the project, please let me know.
Greetings, Ilyas