Can you use the serial monitor with arduino due. If so how?
The usual way you use the serial monitor with mega etc doesn't seem to work with Due.
I have been googling for 30 minutes. There is PLENTY on how to debug regular arduinos, but nothing specifically on how to debug a Due. Clearly they are not the same because the serial monitor is not working with my due.
Surely someone somewhere has written a tutorial on how to debug a sketch on a due?????
I found this:
Native port
Opening and closing the ''Native' port at the baud rate of 1200bps triggers a “soft erase” procedure: the flash memory is erased and the board is restarted with the bootloader. If, for some reason, the MCU were to crash during this process, it is likely that the soft erase procedure wouldn't work as it's done in software by the MCU itself.
Opening and closing the Native port at a baudrate other than 1200bps will not reset the SAM3X. To use the serial monitor, and see what your sketch does from the beginning, you'll need to add few lines of code inside the setup(). This will ensure the SAM3X will wait for the SerialUSB port to open before executing the sketch:
while (!Serial) ;
But it is not enough information! Because the native port is even recognized by windows as a com port.