Skip to main content
Visitor II
September 29, 2025
Solved

No Application code when jumping from Boot to Application

  • September 29, 2025
  • 1 reply
  • 358 views

I am trying to load LwIP_TCP_Echo_Server (an example project created by STMicroelectronics) onto a Nucleo_H7S3L8 Evaluation Board (produced by STMicroelectronics) and it's crashing. I had some trouble getting the BootLoader to run through to the JumptoApp function (covered under a different post) and used a workaround fix it.

I set a break point just before the jump and examined the App memory at 0x70000000 (memory mapped). It was all 0xFFFFFFFF. No wonder the code crashed. I used the STM Programmer, and the memory looked ok. Code at 0x70000000 looked like a vector table and definitely not 0xFFFFFFFF. I added the Template_XIP_Boot project to my build as described in the README.md.

I really need to get this piece of ...    code to work. Like now. This stuff is basic startup operation. This is an ST example project on ST Nucleo hardware. What's going on? I've seen no other forum posts on my recent issues. Why is everyone else having fabulous success? Am I alone? What's wrong with me?

There are concepts like OctoSPI, XIP, and memory-mapped External Flash which are pretty complex, and I do not want to have to debug them (especially through the HAL).

    This topic has been closed for replies.
    Best answer by Dor_RH

    Hello @JimEno,

    The example works correctly. To better assist you, could you please specify the version of STM32CubeH7RS you are using as well as the revision of the Nucleo_H7S3L8 board you have?

    Thank you for your collaboration.

    Dor_RH

    1 reply

    Dor_RHAnswer
    ST Employee
    October 1, 2025

    Hello @JimEno,

    The example works correctly. To better assist you, could you please specify the version of STM32CubeH7RS you are using as well as the revision of the Nucleo_H7S3L8 board you have?

    Thank you for your collaboration.

    Dor_RH

    JimEnoAuthor
    Visitor II
    October 5, 2025

    Dor_RH,

    I omitted the following step from the README.md file thinking it was only needed if I programmed my Nucleo board using the Programmer.

    - User Option Bytes requirement (with STM32CubeProgrammer tool)

    - XSPI2_HSLV=1 I/O XSPIM_P2 High speed option enabled

     

    Turns out I need it. It seemed to fix not only this issue, but my previous issue

    with some function timing out in the BootLoader. It was a weird symptom.

    So I will consider this issue resolved. Thanks for your response.