Keil™, An ARM® Company

Discussion Forum

sending test text file to serial input port

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
THIERRY ROUCHEUX
Posted
19-Jan-2003 18:08
Toolset
C51
New! sending test text file to serial input port
hi all

has someone a uv2 function to send the content of a text file ( ex: C:\XXX.txt) to the SIN vtreg ?

Thanks
Read-Only
Author
Jon Ward
Posted
20-Jan-2003 18:15
Toolset
C51
New! RE: sending test text file to serial input port
Take a look at the following knowledgebase article:

http://www.keil.com/support/docs/2262.htm

Jon
Read-Only
Author
THIERRY ROUCHEUX
Posted
21-Jan-2003 01:37
Toolset
C51
New! RE: sending test text file to serial input port
ok for this procedure, but i have a test file to send to the serial port coming from the hdd of my dev system.
The size of this file is more than one megabyte and contains binary data!.
So how can i make a script to send this data to the Sin port?.
I can have the same problem the other way to collect results.

Read-Only
Author
Jon Ward
Posted
22-Jan-2003 10:19
Toolset
C51
New! RE: sending test text file to serial input port
Use the ASSIGN debugger command to redirect the SIN input from a COM port. Then, use a PC to send the file via RS-232.

Jon

Next Thread | Thread List | Previous Thread Start a Thread | Settings