Hello i have a question I'm working with the new arduino Zero/M0 pro and i have the ide of 1.7.6 i can upload sketches and everything But Serial monitor comes up blank. If i write a Hello world for serial print nothing shows up in the serial monitor now if i put that same sketch in my uno or mega board it shows up in the serial monitor with no problem can someone please help me out not sure what is going on?
Hello can someone please help me i do not know why i can not see anything in the serial monitor on Ide 1.7.6 using the Arduino Zero M0 pro.
How many serial ports does the Zero have and which one are you trying to view in the serial monitor ?
there are 2 usb ports one says com 12 for the programming port and one says com14 for the native porti tried both ports and tried to view both for serial monitor and nothing.
When I'm in programming port and select the programming port in tools/boards for the m0 i get this message when i try to upload a hello worldin serial monitor.
Sketch uses 10,796 bytes (4%) of program storage space. Maximum is 262,144 bytes.
Open On-Chip Debugger 0.9.0 (2015-05-26-16:17)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: JTAG Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 01.1F.0118
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 500 kHz
Info : SWD IDCODE 0x0bc11477
Info : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x61000000 pc: 0x000028f4 msp: 0x20002c00
** Programming Started **
auto erase enabled
Info : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM)
wrote 16384 bytes from file C:\Users\BIGBLE~1\AppData\Local\Temp\build7882330937734114911.tmp/sketch_jul20c.cpp.bin in 2.501005s (6.397 KiB/s)
** Programming Finished **
** Verify Started **
verified 12276 bytes in 1.022002s (11.730 KiB/s)
** Verified OK **
** Resetting Target **
shutdown command invoked
But nothing in the serial monitor shows.
Joseph. You have been round long enough to know that posting an example of the code that does not work makes it much easier to provide help. Please post your Hello World program.
You are correct my fault it was early when i posted it and i was just waking up so it's my fault i will fix it
my hello world code is below
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("Hello, world!");
delay(1000);
}
also fixed above comment for log