Serial port basic

From: Bolla (trond.loekstad_at_no.abb.com)
Date: 11/25/04


Date: Thu, 25 Nov 2004 19:05:41 +0100

Having only one serial port on my device the DEBUGMSG works fine using
XSC1BD BSP for 4.2.
Setting the flag BSP_DBGSER_UART1 to nothing disables this (no output
anymore).

How do I activate the serial port to be used by my application?
Is it enough to set some flags for compilation to include required stuff and
what do I have to set in registry?

What is the relation between serial files in the /PUBLIC/COMMON folder and
the files in /PLATFORM/MyBSP/DRIVERS folder?

What interface will I be using from my application (COM_Read and COM_Write,
or ReadFile and WriteFile)?

Need some basc help here!



Relevant Pages

  • Re: Serial Programming trouble
    ... You want to also flag that with O_NONBLOCK. ... Closes the serial port ... void close_port{ ... void send_string(char* sp, int* fd) ...
    (comp.os.linux.misc)
  • Re: [PATCH 1/2] Define FIXED_PORT flag for serial_core
    ... If this flag is set when the serial port is configured, ... any attempts to alter the port's type, io address, irq or base clock ... modules external to the 8250 driver itself, such as PCI, PNP, etc. ...
    (Linux-Kernel)
  • Re: [PATCH 1/2] Define FIXED_PORT flag for serial_core
    ... If this flag is set when the serial port is configured, ... any attempts to alter the port's type, io address, irq or base clock ... modules external to the 8250 driver itself, such as PCI, PNP, etc. ...
    (Linux-Kernel)
  • Re: why cant you create folder with name com ?
    ... Ajay wrote: ... additionally distinguished by pathname so you can have files with the same name as long as they exist in different folders. ... That means you an have no file or folder anywhere with a name already given to a device. ... comN (where N is a digit, these are the "communication", or serial port, devices) is a device name, and should not be available for the filesystem. ...
    (microsoft.public.office.misc)