Serial Port device names

Hello @ansonhe97

I am testing the new library. I uninstalled the old one (v1.0.0) and installed the one with version 1.7.2, as you showed in the updated wiki. It does work–however there are some issues yet:

  1. Both SerialUSB and SerialDBG both work now, to print output to the Arduino IDE’s serial monitor. I am not sure why this is, or whether or not it’s the effect you wanted with the newer library. But both work equally in terms of function in my code–I just don’t get IDE recognition of SerialDBG, in terms of syntax highlighting. For example, see line #22 in the editors in my attached screen shot:

  1. Serial2 is now recognized AND works as well as Serial1 (yay!), using the new pin diagram as you’ve updated it. This is great news and means we will have two UART ports to play with for peripheral components. So that issue seems to be resolved.

  2. For the life of me, I cannot determine whether or not SerialUSB (or now SerialDBG) is working correctly to SEND serial characters. It wasn’t working with a sketch that I wrote, so I tried it using the SoftwareSerialExample sketch in the Seeeduino Zero examples list. Not only doesn’t that give me anything sent over the SerialUSB port (I cannot read anything on ttyACMO from the Linux side), but I don’t even get any sort of output from that sketch. Therefore I cannot make any determination as to whether or not SerialUSB/SerialDBG is actually working correctly. Maybe @wx4cb can check on this issue on his end, when he gets back home tomorrow.

  3. Perhaps the most concerning issue for me then is that the IDE still freezes a fair bit of the time, and then must be force-killed after you use the serial monitor for a number of repeated attempts to send a character over the serial port. It doesn’t seem to matter whether I use the SerialUSB or now the SerialDBG object–it will just freeze if I try to close the serial monitor, and then I must force-fill the whole IDE in order to reset it. It used to freeze after I sent only a few characters, but now it seems like I can send as many characters as I want at a time, and make as many attempts as I would like. But then when I try to close the serial monitor by clicking the ‘X’ at the upper right corner…the serial monitor doesn’t close, and the whole IDE freezes. I believe @wx4cb experienced this issue in his evaluation as well, so it seems like it’s not just here with my board. Are you able to reproduce this issue?

Anyway, I am going to test some of the code I have written using a different Arduino. I want to verify that it is all working in that code using the Odyssey board.

TB