Jump to content

Recommended Posts

Posted

Hello,

 

I got my STM32F4 board today, and for reasons beyond my understanding I cannot get any LEDs other than LED1 to light up.

I am modifying the application template - so my code is as minimalistic as it gets. If I call MIOS32_BOARD_LED_Set(1,1), the green LED turns on.

MIOS32_BOARD_LED_Set(2,1) or even MIOS32_BOARD_LED_Set(0xF, 1) do nothing.

 

Some answers to potentially obvious questions:

1) I am certain I am properly recompiling the code and uploading, as I see the green led no longer lighting up when trying MIOS32_BOARD_LED_Set(2, 1) and lighting up again when I switch to MIOS32_BOARD_LED_Set(0xF, 1).

2) I tried commenting out the code in the timer function and simply turning the LEDs on in APP_Init()

3) I am compiling using the following env variables:

export PATH=$PATH:/Users/eran/Projects/mutebox/gcc-arm-none-eabi-4_7-2013q3/bin
export MIOS32_PATH=/Users/eran/Projects/mutebox/mios32-svn
export MIOS32_BIN_PATH=$MIOS_PATH/bin
export MIOS32_GCC_PREFIX=arm-none-eabi
export MIOS32_FAMILY=STM32F4xx
export MIOS32_PROCESSOR=STM32F407VG
export MIOS32_BOARD=MBHP_CORE_STM32F4
export MIOS32_LCD=universal
 
What am I missing?
 
Thanks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...