Page 1 of 1

Serial port issue

Posted: Tue Jul 14, 2015 12:33 am
by sconway
I just purchased a Mintbox 2 and am having an issue with the native serial port. The problem exists in Kermit as well as in Python code I've written.

The receive buffer seems to empty a hundred milliseconds or so after receiving data. If you read quickly enough, the data is there. Otherwise, no luck.

There are other issues...On occasion an exception is thrown on port open, write. I needed to close/open the port prior to writes.

FYI, I've used a USB-Serial converter, and it is working perfectly.

Suggestions?

Re: Serial port issue

Posted: Wed Jul 15, 2015 11:17 am
by mbirger
Checking with the relevant engineer.
BTW, do you use the latest BIOS?

http://www.fit-pc.com/wiki/index.php/IPC2_BIOS_Update

Re: Serial port issue

Posted: Wed Jul 15, 2015 9:01 pm
by sconway
The bios was already up to date.

FYI, it's a IPC, not an IPC2...instructions you linked were for an IPC2.

Re: Serial port issue

Posted: Thu Jul 16, 2015 7:29 am
by mbirger
IPC BIOS update instructions are these:
http://www.fit-pc.com/wiki/index.php/In ... IOS_Update

Anyway, I have forwarded the issue to one of our SW guys.

Re: Serial port issue

Posted: Mon Jul 27, 2015 9:19 am
by Denis
We have nether encountered with serial port issues on ipc (mintbox 2). To be sure it's a hardware or software problem please try
- last recent kernel available for your distro, may be it includes relevant patches
- another baudrate, may be it's related somehow
- try on windows7

Re: Serial port issue

Posted: Mon Jul 27, 2015 4:10 pm
by sconway
I've found the problem...I didn't realize that there was a TTY port that was using the serial port. The odd thing is that it was allowing other programs to access the port.

Once I removed the TTY issue, everything is working as expected.

Re: Serial port issue

Posted: Tue Jul 28, 2015 7:59 am
by mbirger
Great :)