Hi!
I have a big problem with a tx_timer and a serial write function.
I created a timer with:
tx_timer_create (&Timer, “Com Timer”, Comm, 0, 1000, 100, TX_AUTO_ACTIVATE);
And in the Comm funtion I use a write command for the serial port:
result = write (zeroFd, sendBuffer, bytestosend);
But when the timer tries to write to the serial line I get an exception…
When I call the function from another function it works fine, so it’s just when I call the write() command from a timer…
Have anyone tried this, and maybe have a workaround or a solution
Specs:
NETOS 7.1.1
Digi Connect ME 4mb -C JTAG
Thx
/Jakob