Hi I have a strange problem on Digiconnect ME 9210
I can open and use uart4 on FIM port using this code:
comb = open("/com/4", O_RDWR | O_NONBLOCK);
if (comb <= 0)
printf("Failed to open %s\n", "/com/4");
if (tcgetattr(comb, &tios) < 0)
tios.c_cflag &= ~CRTSCTS;
tios.c_iflag &= ~(IXON | IXOFF);
serl_flow_ctrl = FC_NONE;
cfsetospeed(&tios, serl_baudrate); /* set the baudrate */
if (tcsetattr(comb, TCSANOW, &tios) < 0)
And everything is working fine, under debug.
But with disconnected JTAG debugger, after I upload same firmware through FTP, FIM port is not working.
I using routines from FIM UART DRIVER Sample.
Where is the problem ?