2023-08-12 01:43 AM
Hello I am using STM32F0 Series MCU.
I am saving some data every 10 minutes on external Adesto flash. I am able read data from ext flash and display on console using printf command. Now I want to save the data on external file rather than just display only. please suggest a way so I can save data in .txt file
Solved! Go to Solution.
2023-08-12 06:36 PM
If it is not a requirement to save directly from F0 to a file device, printf to a PC/Mac serial terminal program. Usually it will have a log to file capability, or you can copy and paste terminal display text to a text processor such as NotePad.
2023-08-12 06:21 PM - edited 2023-08-12 06:21 PM
2023-08-12 06:36 PM
If it is not a requirement to save directly from F0 to a file device, printf to a PC/Mac serial terminal program. Usually it will have a log to file capability, or you can copy and paste terminal display text to a text processor such as NotePad.
2023-08-13 09:03 AM
It might be interesting to know this:
https://www.usb.org/getting-vendor-id
(Some manufacturers like FTDI may offer some ICs for use without the need to obtain a license, but the design may look less professional)
A vendor identification is necessary for obtaining a certification of compliance from the USB-IF. The USB-IF is responsible for issuing USB vendor identification numbers to product manufacturers.
Alternatively, many members of the open source community promote the use of USB VID 0xF055 (visually similar to FOSS) for open-source hardware projects. Although this VID is not registered to any company (as of October 2015), the USB-IF have not released any confirmation about reserving it for this particular purpose.
Source: https://en.wikipedia.org/wiki/USB_Implementers_Forum