cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f207 develop flash and memory log write help!

Study Yahoo
Associate III
Posted on November 10, 2017 at 04:46

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 data

I want to create a txt file on my usb memory stick.

I would appreciate any samples or advice.

Thank you for your help.

1 REPLY 1
Posted on November 10, 2017 at 05:26

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.

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-standard-peripheral-library-expansion/stsw-stm32068.html

 

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.

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