From: Molnar Z. <mz...@te...> - 2002-09-07 20:15:11
|
Hi all, I have problem opening the COM3 port wich is actually a 16C450 chip on a FALCOM GSM modem. The port is tricky to access from Norton term95 too: I have to select the 'Fast' UART driver to be able to talk with the modem. All other drivers causes term95 to hang up. The code using DZCOMM0.98 works fine for COM1, COM2 (16C550 chips). When opening COM3 the program simply hangs at 'comm_port_init'. Port settings: [COM3] baud=9600; data=8; parity=None; stop=1; irq=7; address=0x3e8; control=none; name=Port C; [COM3 END] This would be the code: //initialize comm. port with GSM modem - COM3 if((GSM_port = comm_port_init(_com3)) == NULL) { printf("Error initializing serial port, terminating ...\n"); exit(1); } if(comm_port_load_settings(GSM_port, "comm3.ini") == 0) { printf("Error loading port settings, terminating ...\n"); exit(1); } if(!comm_port_install_handler(GSM_port)) { printf("Error installing serial handler, terminating ..."); exit(1); } Do You support 16c450 chips? Is there any work arround for this? Best regards, Zoltan Molnar _____________________________________________________________ Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com _____________________________________________________________ Promote your group and strengthen ties to your members with em...@yo... by Everyone.net http://www.everyone.net/?btn=tag |