Hi all, i need to read data from a text file and write in keil µvision program. How to open file, read, write and close file works in µvision programs. Thanking you,
"So what exactly do you want uVision to do with this data once it has read it from the file?" for example i have to give receivers addres to vision when it is in transmitt mode. so user will select the receivers address in GUI and that address will save in a text file , so µvision program has to read the address from text file like that. Thanking you, if you have some idea please help me. Thanking you.
I think it exists at least 2 solutions - use one serial port from Keil and a second from another application running in parallel which provide all needed infos - use the AGSI interface and write a plugin best regards Dirk
Hi Thx for ur message, but is this AGSI interface can use to read and write from .txt file ?
Yes, with an AGSI Plugin you can do many things. If you need some assist look at http://www.jasys.de/prod_sw_e.htm or write to plugin@jasys.de
"i have to give receivers addres to vision when it is in transmitt mode." uVision does not have a "transmit mode" What do you mean by this? Are you talking about running code in the uVision simulator?
Keil's AGSI documentation: http://www.keil.com/appnotes/docs/apnt_154.asp You might also want to look at: http://www.keil.com/appnotes/docs/apnt_143.asp http://www.keil.com/appnotes/docs/apnt_144.asp http://www.keil.com/appnotes/docs/apnt_145.asp http://www.keil.com/appnotes/docs/apnt_170.asp