Hi guys ,How to support the File Operations like read and open functions for my freescale boardmpc5748g

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

Hi guys ,How to support the File Operations like read and open functions for my freescale boardmpc5748g

842件の閲覧回数
yalamandadosaky
Contributor V

Support for File operations like open , read for MPC5748G Board on S32 Design Studio

ラベル(1)
0 件の賞賛
返信
1 返信

720件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

please look at the functions fprintf, fscanf, fgetc, fputc, fgets and fputs. All these functions are implemented in newlib, but unfortunately, I do not have any experience with read/write data from/to file using micro and I am afraid you have to modify these functions or add some functionality manually. I found some information how to read/write to file using Arduino, so I think it should be also possible using MPC5748G, but I am not able to provide any more information.

Please look at the following URL:

Using Newlib in ARM bare metal programs | Freedom Embedded 

 

Regards,

Martin

 

PS: Do not forget correctly configure UART.

0 件の賞賛
返信