Re: Native Serial code on TINI
Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Andreas Skaar wrote: > I create a serial port object in the java code to set up the serial > port. I then want to use the code above to send data bytes. > But at the moment the code seems to be sending random stuff. And if I > try to run the above code more than 2 times without restarting the TINI > board the board sends random bytes after the program has finished. Your native code is causing an interrupt that will be handled by the ISR installed when you opened the port in Java. One solution is to setup and use the port from native only or Java only, but not both. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini