cancel
Showing results for 
Search instead for 
Did you mean: 

Bsp examples are not working .

Ss.61
Associate III
  • I have stm32f7508-DK ,
  • i am trying to execute the project examples located in ,

<STM32CubeF7-master\Projects\STM32F7508-DISCO\Examples\BSP>

<STM32CubeF7-master\Projects\STM32F7508-DISCO\Examples\LTDC>

  • but i cant able to see any action on lcd display,
  • while running the code debug mode nothing display on lcd ,

after few seconds code stops with error (refer attached img file)

  • i want to know how to execute the example project on discovery board?

4 REPLIES 4

Hello @Ss.6​ ,

Make sure that you have program the internal Flash with the ExtMem_Boot (Path: Projects\STM32F7508-DISCO\Templates\ExtMem_Boot).

In order to make the example work, you must do the following:

 1. Select required configuration in memory.h in Templates\ExtMem_Boot\Inc.

   The default configuration is the right one: 

   - DATA_AREA set to USE_INTERNAL_SRAM

   - CODE_AREA set to USE_QSPI

 2. Program the internal Flash with the ExtMem_Boot.

 3. Program the external memory with this example "Examples/BSP".

 4. Start debugging user example or reset for free running.

Otherwise, you can find all the steps to run the example in the README file.

I hope this helps.

BeST Regards,

Walid

There really needs to be some robust QA to ensure that examples all work out of the box.

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

Thank you very much for quick response,

yes ,

  1. I programmed the internal flash with ExtMem_Boot (Use of STM32CubeIDE 1.7.0)
  2. The same way i open the "Examples/BSP" , i built and try to debug but after few seconds the code got stopped, nothing display on lcd screen.

<it shows the error attached image>

  • I want to ensure that the above procedure is right or wrong?
  • Or kindly explain how to program / debug code in external memory.

regards

sivanesh

The query,

How to debug the code in external memory?

 Is the same procedure open the project and do the debug or any other methods?