arduino due serial is not working

hello all,

i habe a problem with the serial port on my arduino due board.
i can upload sketches and they are working. i have tested the "blink" examples.

so the connection seems to be ok.

but if i try to read something from the standard serial port, it does not work.
i tryed the simple sketch attached.

i am using the native usb port. arduino 1.5.2. on mac osx 10.6.8

i have tested the sketch with the serial monitor.

could it be the usb cable ? so that only one direction is working.

my arduino uno ist working perfectly on my machine ...

all the best,
lee

void setup() {
  Serial.begin(9600);
  Serial.println("Hello world \n");
  delay(1000);
  Serial.println("Hello world \n");
}

void loop() {
  Serial.println("loop");
}

It was reported that this does only work since mac os lion.
See here: Leonardo doesn't talk to serial monitor in windows 7 - #7 by pjrc - IDE 1.x - Arduino Forum

Previous versions of mac os lack support needed for composite devices (the native port exposes a composite device: serial + hid). If you only need a serial port you might create and upload a sketch that is a serial port only. I had that running on the leonardo. It probably can be made working on the due too. See here: Leonardo doesn't talk to serial monitor in windows 7 - #8 by PeterVH - IDE 1.x - Arduino Forum

hello PeterVH,

thanks for your reply. but it seems, that it is not a os problem.
i tryed to get a serial connection on mac osx 10.8.2, arduino 1.5.2.
with the same result.

i can upload a sketch successfully, but i can not get a serial connection with the the "serial monitor" app (or other applications, which can send/receive serial data)

perhaps it has something to do with the fact, that it is a "TAIJIUINO Due Pro" board.

i will also try a new usb cable ...

perhats someone has an other hint :wink:

all the best,
lee

"Serial" is for the programming port, for the native port use "SerialUSB"

For the TAIJIUINO it looks like "Serial" is the 6-pin connector and "SerialUSB" is the USB connector.

hello stimmer,

thank you very much for looking into this !
SerialUSB is working on mac osx 10.8.2 with arduino 1.5.2 now :slight_smile:

but i did not get it working on my main machine, which is on osx 10.6.8 ...

perhaps it is time to update :wink:
funny that a serial port connection is forcing me to update.

all the best,
lee

It is not the serial port that would force the upgrade, it is the composite device.

Downloading a "serial port only" sketch, will work for mac 10.6.8 too.
I just tried the approach I posted before, and can confirm it works on the Due.
(tested on linux, due native port enumerates as serial port only and ASCIITable sample works (when using SerialUSB instead of Serial, I missed that on your first post))