rs232 active? - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Hardware (https://forum.logicmachine.net/forumdisplay.php?fid=12) +--- Thread: rs232 active? (/showthread.php?tid=4535) |
rs232 active? - benanderson_475 - 25.01.2023 Hi i have LM5p2-DR HW: LM5 M4 (imx6) SW: 20211215 i am attempting to use the rs232 port, '/dev/RS232' when i navigate to the utilities, system status, serial ports, only /dev/RS485-1 and /dev/RS485-2 are showing? i should have /dev/RS485-1, /dev/RS485-2, /dev/RS485-3 /dev/RS232 ?? is there anything to enable or configure to use the RS232 port, i have tried the below code, or maybe i have something else wrong? Code: port = serial.open('/dev/RS232', { baudrate = 9600, parity = 'even', duplex = 'full' }) but port is always nil so i assume '/dev/RS232' never is opened? x = io.exists('/dev/RS485-1') x returns true but x = io.exists('/dev/RS232') x returns false RE: rs232 active? - admin - 26.01.2023 Wrong firmware. You need to install LM5 Lite + Ext. RE: rs232 active? - benanderson_475 - 26.01.2023 (26.01.2023, 06:00)admin Wrote: Wrong firmware. You need to install LM5 Lite + Ext. Thought it might be, Many thanks all sorted now. |