Noob Questions - 1 Conceptual, 1 Implementation
Complete noob here. I have two questions - one conceptual and one about implementation.
1) When I run a program written for a microprocessor in Work Bench on my Windows PC, what does the PC actually do? I assume it can’t actually run the program because it is physically different from the microcontroller. For example, if I write a program to blink a specific LED on the microcontroller, that LED doesn’t exist on my computer, so does the PC just quietly run through the program and not actually execute it...?
2) I wrote basically a “Hello World” program and got a Launch Failure error. I followed some suggestions regarding the Run Configurations and that got me to the point where I’m now getting a new set of errors (“Error Starting Process”) - log below followed by code. I likely need to give folks more info, and am happy do so if you can point out what exactly I should provide.
Thank you for any help you can provide:
Error starting process.
Cannot run program “C:\Users\rmccann\workspace\FirstARMProject\inc\main.cpp”: Launching failed
Cannot run program “C:\Users\rmccann\workspace\FirstARMProject\inc\main.cpp”: Launching failed
Cannot run program “C:\Users\rmccann\workspace\FirstARMProject\inc\main.cpp”: Launching failed
/*
* firstmain.cpp
*
* Created on: Jun 30, 2018
* Author: rmccann
*/
- include
int main ()
{
using namespace std;
cout