- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to write to a txt file or something through UART? I tried to just use fopen, fwrite etc. But the file isn't created and it gives the error "function not implemented".
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Then you will have to write a C-program on the PC side, reading the com-port and storing the data in a file. There the fopen() will be supported by the windows OS.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Initially there is no file system on the PSoC. There is no operating system and there is even not much memory to save a file. Look at the PSoC as an embedded micro controller -what PSoCs actually are-.
So what do you want to save at the PSoC's side and what are you going to do with that data?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not looking to save the data on the PSOC. I have the PSOC connected to my computer through UART, so I want to send data from the PSOC over UART, and have it recorded in a txt file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Then you will have to write a C-program on the PC side, reading the com-port and storing the data in a file. There the fopen() will be supported by the windows OS.
Bob