cancel
Showing results for 
Search instead for 
Did you mean: 

freertos + flashwrite gives hardfault

SOZKA.1
Associate

Hii all,

ım using stm32f103c8t6 and trying to implement freertos project,

i have flash write function and it work very well but when i use it in freertos project, if ı call write flash func before vTaskStartScheduler it is okey but after vTaskStartScheduler from any of task it gives hard fault.

what can go wrong

it tried tasksuspend , taskenterritical, disable_interrupt but none of them helped,

any sugestions, thanx s

1 REPLY 1

Hello @SOZKA.1​ ,

Can you share the example so I can reproduce your issue ?

Thanks in advance.

Walid