This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

General aspects using a Discovery Board with a STM32F407VG and uVision from Keil and SW4STM32 fon AC6

Hello, some time ago I started to play with CortexM4,

I bought a Discovery Board with a STM32F407VG in order to be programmed with uVision from Keil.

I am developing a project where the money is very restricted, that's why I was using a free licence from Keil.

Everything was working fine until I exceed the program size of 32KB(now I need to pay the license if I want to continue for this way).

I started to look for other option, and gnu-arm-none-eabi with Eclipse seems to be the answer.

The big problem are the peripherals: I need to use UART(to output message on debugging time using the famous "printf()") and SDIO to log some variables from different sensors that require I2C.

In general terms: what are the aspects that I need to consider when I switch those IDEs: from uVision to "System Workbench for STM32" known as SW4STM32.

Parents
  • Hi ilg and jensbauer thanks for the links, they really help me.

    I started with F4Blinky project and it worked very fine. I saw it implemented Hardware Abstraction Layer(_hal_) libraries.

    When I began with STM32F4, I based my work on a "Standard Peripherals Libraries" example. It is a point that I didn't mention before just to focus on the differences between IDEs and its compilers.

    I am not sure how many changes are required to change my code from using "Standard Peripherals Libraries" to "HAL". I have been playing with USART with no success for the moment.

    I am wondering if there is an example of F4 Blinky project using "Standard Peripherals Libraries"? or Can I change the current F4 Blinky project to "Standard Peripherals Libraries"?

    Thanks in advance,

Reply
  • Hi ilg and jensbauer thanks for the links, they really help me.

    I started with F4Blinky project and it worked very fine. I saw it implemented Hardware Abstraction Layer(_hal_) libraries.

    When I began with STM32F4, I based my work on a "Standard Peripherals Libraries" example. It is a point that I didn't mention before just to focus on the differences between IDEs and its compilers.

    I am not sure how many changes are required to change my code from using "Standard Peripherals Libraries" to "HAL". I have been playing with USART with no success for the moment.

    I am wondering if there is an example of F4 Blinky project using "Standard Peripherals Libraries"? or Can I change the current F4 Blinky project to "Standard Peripherals Libraries"?

    Thanks in advance,

Children