Loading...
 

STM32MP1 support available in SW4STM32

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4; you can download a short video showcasing this on the ac6-tools website (registration required).

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