This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Erro "Cannot open Port"

Hallo all,

My project is for AT89C51CC03.In keil uvision4 i copy header file and include this file in following file.

#include<stdio.h>
#include "AT89C51CC03_HEADER.h"

void main(void)
{ printf("\n Hello world");

}

after comliling and linking no problem but when i press Load button "Download on FLASH Memory" the follwing msg appered on "Build output" screen.

linking...
Program Size: data=30.1 xdata=0 code=1079
"Try-uv3" - 0 Error(s), 0 Warning(s).
"batchisp" -device AT89C51CC03 -hardware RS232 -port COM1 -baudrate 19200 -operation MEMORY FLASH LOADBUFFER Try-uv3.HEX PROGRAM
Running batchisp 1.2.4 on Thu Jul 22 11:33:56 2010
AT89C51CC03 - RS232 - COM1 - 19200
Device selection....................... PASS
Hardware selection..................... PASS
Opening port........................... FAIL Cannot open port.
ISP done.