Skip to main content
VPati.2
Associate
August 10, 2022
Question

how to print hello world in mcu boot using stm32f429zi board.

  • August 10, 2022
  • 4 replies
  • 2937 views

we r doing one task how to print hello world in mcu boot using stm 32 board . I KNOW THERE IS CONFIGURATION BUT NOT WORK properly we tried. there is one configuration CONFIG_BOOTLOADER_MCUBOOT=y which connect mcu boot code and application code. when we press reset button of stm board print statement is not coming using mcu boot ???? answer please it is needed . thank you

    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    August 10, 2022

    Not Working is an unhelpful description of the problem. Link to code, show how you are initializing the clocks, pins, USART, etc prior to sending the string.

    What development environment are you using?

    The board is the STM32F429I-DiSCO ?​

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    VPati.2
    VPati.2Author
    Associate
    August 10, 2022

    STM32 nucleof429zi is the board and we are using zephyr west to build mcu boot in command prompt and we are running the code from zephyr project and when ever we flash mcu boot code it wont flash but if we flash application code it is going to flash could you give example or could you suggest any other way to print hello world using mcu bootloder

    Tesla DeLorean
    Guru
    August 10, 2022

    I'm not using​ Zephyr.

    You are trying to build/replace their bootloader?

    Is that building completely?

    How is it that you can't flash it, or debug it?

    Are there expectations about ​how you update the bootloader with new code?

    Do you need to use the ST-LINK via STM32 Cube Programmer.

    Is this part of some coursework?​

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    VPati.2
    VPati.2Author
    Associate
    August 10, 2022

    You are trying to build/replace their bootloader?

    ya we need to update code from hello world to hello man

    How is it that you can't flash it, or debug it?

    when flash using command west flash there is no error but i open stm32 cube programmer but there is no data after flashing

    Are there expectations about ​how you update the bootloader with new code?

    just from hello world to hello man

    z�?en
    Associate II
    October 9, 2023

    Hi @VPati.2 . Did you fix this issue? I am in the same situation. I am developing the stu5 series mcu with zephyr project. I am stuck on mcuboot implementation. No error but there is no data after flashing.

    Cheers!

    Tesla DeLorean
    Guru
    October 9, 2023

    STU5 ?? You mean STM32U5xx parts?

    For Zephyr expect to work with devs or review related tutorials. Perhaps find Zephyr centric support forums.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..