Other Parts Discussed in Thread: CC3220SF, UNIFLASH
Tool/software: TI-RTOS
Hi,
I want to load a configuration file which might contain wireless AP information or board-specific parameters into the CC3220SF board with TI-RTOS image. After the project is built via CCS IDE, i use Uniflash to flash the project's .bin file (output) into the board. In Uniflash, i load .bin file via Simple page, then click Advanced, User Files respectively. When User Files is selected, Uniflash displays directory hierarchy of the board. There is mcuflashimg.bin file under the sys folder. Next, i add a configuration file in same directory. Finally, i click Burn, Program Image buttons to burn the image into the board. Although i use both absolute and relative paths to open the file in source code with fopen function, file content is always empty. I have a few questions about it.
First question is how to load any text file in the board and how to access it to read.
Second question is about .cmd file. If i create a memory part and define a section part related to this memory, can i map a text file into this section when creating .bin file?
Last question is about weird operation. In case of mcuflashimg.bin in the board only, it doesn't return error when i use "r" parameter with fopen function. Why?
Thanks in advanced.