Skip to main content
Richard Cooke
Associate III
August 28, 2017
Question

Is there a listing of the program that come loaded on the STM32 Nucleo L031 board?

  • August 28, 2017
  • 1 reply
  • 749 views
Posted on August 28, 2017 at 18:22

Hi Folks,

I've just started working with the STM32 NucleoL031 board and I think it would help me understand the system if I can find a listing of the program that is pre-loaded on the chip.  It blinks the green LED at one rate and if you put the jumper on that connects GND with D2 it will blink at a slower rate.

I've searched through the ST site but can't seem to find it.

Thanks in advance,

Richard

#nucleo-l031 #nucleo #l031
    This topic has been closed for replies.

    1 reply

    waclawek.jan
    Super User
    August 29, 2017
    Posted on August 29, 2017 at 10:26

    In CubeL0, under Projects/[board name]/Demonstration

    JW

    Richard Cooke
    Associate III
    August 29, 2017
    Posted on August 29, 2017 at 16:28

    Thanks Jan but the only demo project is the one where you need the Gravitech add-on board to display the power consumed.  I only have the Nucleo32L031 board that blinks the green LED.  The firmware must be a trade secret, why else would they not let us users see it.

    RC

    waclawek.jan
    Super User
    August 29, 2017
    Posted on August 29, 2017 at 17:46

    That still might be it. Did you try? The binary (hex) is enclosed.

    snippets from the source:

      /* Initialize the Gravitech 4 digits 7 segments nano shield */

      if(BSP_DIGIT4_SEG7_Init() != HAL_OK)

      {

        /* Initialization Error */

        Error_Handler();

      }

    [...]

    void Error_Handler(void)

    {

      /* Configure LED3 */

      BSP_LED_Init(LED3);

      while (1)

      {

        /* Toggle LED3 with a period of one second */

        BSP_LED_Toggle(LED3);

        HAL_Delay(1000);

      }

    }

    JW