Open file on host computer from program running from internal flash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Open file on host computer from program running from internal flash

1,993 次查看
spartan
Contributor I
I am trying to do execute fopen, fread/fgets, and fclose functions on a file that is located on the host computer.  My program will be flashed to ColdFire's internal flash using CodeWarrior's flash programmer.  When the program runs/debugs, where does it look for the file when calling the      
fopen(filename, mode) function?
The program is to open a file, specified by the user, read it into a buffer for parsing, and then close the file.  I'm already using hyperterminal to take in user's filename but don't know where to go w/ file i/o commands.
 
Thanks
标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,170 次查看
spartan
Contributor I
Also,  I'm using a M52210 DEMO BOARD and CodeWarrior V 7.1
0 项奖励
回复