This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to transfer txt file to the board and read this file?

Hello,

I am playing with a STM32F746NG board, and I am trying to implement a chess game on the board.

To do this, I have found an existing Chess Engine (TSCP) and it is working perfectly in Visual Studio.

However, when I was trying to integrate this engine to my embedded application, this crashed my application... and I have then realised that the TSCP code was trying to use "fopen" to read a txt file.

This seems nonsense for the embedded application to read a txt file that doesn't exist in the system. So that I have actually read [1] & [2]. [2] explains the file system.. but then I am confused..

For the file system, it supports 1) USB memory drive, 2) memory card, 3) RAM, 4)NOR Flash, 5) NAND Flash. I obviously dont understand the NOR & NAND Flash..and I also couldn't find any USB port for a flash drive. Furthermore, I don't have any memory cards. I am wondering if I must use the "RAM" option. What would you suggest??

In case of using the RAM, so how can I transfer my existing txt file to this file system from my laptop?

Thanks!!

[1]http://www.keil.com/pack/doc/mw/FileSystem/html/fs_create_app.html#fs_Device_Configuration
[2]http://www.keil.com/pack/doc/mw/FileSystem/html/