Open file on host computer from program running from internal flash

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Open file on host computer from program running from internal flash

1,689件の閲覧回数
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 返信

866件の閲覧回数
spartan
Contributor I
Also,  I'm using a M52210 DEMO BOARD and CodeWarrior V 7.1
0 件の賞賛
返信