2017-11-09 07:46 PM
Hello !!
stm32f207 I am trying to develop on a Nucleo board.
Receive an alarm message ([2017,01 / 15 16:07 20] AC Power OFF) from uart,Write and read to Flash and then write the recorded log dataI want to create a txt file on my usb memory stick.I would appreciate any samples or advice.
Thank you for your help.
2017-11-09 08:26 PM
The F2 and F4 parts are very similar. The is a Firmware Upgrade example in this library that uses USB Flash drives and FatFs, you might want to look at that and port to the NUCLEO-F207 board.
My preference for these things is to write directly to MicroSD cards, writing to the onboard flash probably isn't at all desirable, and the USB drivers are fairly complex.
You might want to start with manipulating data structures in RAM and get a clear idea of how to manage things, and what the data looks like.