I'm going to do some searching, but it feels like I must be missing something. The whole idea behind Arduino is that it works out of the box for people with no experience, but that's not what's happening here.
I bought an Arduino M0 from arduino.org. I downloaded the IDE linked to on its documentation page (1.8.3) and updated the tools in the Board Manager such that I had the Arduino M0 as an option.
I compile and upload the following sketch, which seems to upload correctly given the flashing LED patterns from the bootloader:
void setup() {
Serial.begin(115200);
while (!Serial);
Serial.println("hello world!");
}
void loop() {
delay(1000);
}
When I start the serial monitor, however? I get nothing. The entire IDE locks up in fact, until I unplug the Arduino M0 from the USB port.
I suppose I'll get to googling, but what on earth could I have done wrong?
Okee, it seems like what I might not have known is that there's some sort of rival Arduino factions?
This software from arduino.org (Arduino - Home) seems to be the same as the software from arduino.cc (https://www.arduino.cc/en/Main/Software) so they're at least cooperating that much.
I guess you're saying that I should take my questions to the forums on arduino.org? I'm here because this is where I came before when working with an Arduino Uno clone. When I bought this Arduino M0 board it certainly did not look like I'd jumped to an entirely different community.
The M0 is nowadays also sold by arduino.cc. It's however a board that most of us on this form are not familiar with.
Instead of the serial monitor, use another terminal program like realterm.
I see. Heh, well, it's good that the M0 is at least sold by arduino.cc now as the forums on arduino.org seem to be wicked empty.
And good suggestion with changing my serial program: I tried with Putty but no better luck. I also seem to be getting different behavior now when I try to load a sketch as it's no longer bootloading, where I swear I saw proper bootloading behavior before (from the IDE and the Rx/Tx LEDs on the board). Ah well, I guess I'll work through this.
I might be rethinking using the Arduino M0 as a platform for my custom demo board for power ICs, however. The goal behind using the Arduino was that people unfamiliar with embedded software could very simply interface to my power ICs by leveraging the Arduino community (and I absolutely got this benefit when cloning the Uno on previous boards). If my customers can't just download the IDE, connect my board, and push "Upload" then I'm not achieving my goal. To be clear, however, I'm first using an actual Arduino M0 out of the box. I haven't moved onto my own PCB yet.
For whoever might find my post later, this thread has a simple description of the problem and links to the solutions you'll need -> Unable to upload to Arduino M0/Zero | Port changes during upload - Arduino Zero - Arduino Forum
And oh boy what a broken little family it seems Arduino has become...
Glad you found a solution.
BigBobby:
And oh boy what a broken little family it seems Arduino has become...
Not any more; a couple of months ago the differences were settled somehow and cc and org are now supposed to be at least friends again. That's one of the reasons why some of the org boards can now be purchased on the cc site.