Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


SD card on stm32f7-discovery board problem ?

Hi

Please help ;o)

I take the project application from the cubemx fatfs_uSD and import it to sytem workbench ...everything works fine...

Then i make a new project and take the files from the exsample see attached ..
Everything compile fine no mesage etc.

AND NOW IT DO NOT WORK

I did try to debug but can realley not see what is going wrong.....

can anybody give a hint where to take a look

Hjalmar

hi

Seems like i get the failure here :

/*##-4- Create and Open a new text file object with write access #####*/
if(f_open(&MyFile, “STM32.TXT”, FA_CREATE_ALWAYS | FA_WRITE) != FR_OK)
{
/* ‘STM32.TXT’ file Open for write Error */
Error_Handler();
}

and it do works in the imported exsample ....everything compile so i really do not understand


hi

and it do erase the sd card so hardware are working ...

What can the difference be on the importede exsample and a new project created with openstm ?

hjalmar


Tunisia

the main differences are the generated linker script (LinkerScript.ld) vs the original one (STM32F746NGHx_FLASH.ld)
and project settings (especially linker miscellaneous flags)

THANKS TAREK BOUCHKATI...

The linker files was the same but the solution was the missing linker instrulction as you can see in the attached images

I did try to google to learn was happend when setting -specs=nosys.specs -specs=nano.specs but can not see how it can influence on FATFS ..

But you are my hero today ;o)

Hjalmar


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs