|
1. I bought a Pro 40 and a Pro 28 2. I bought both the lab board and the development board 3. The selectors are set to the correct values 4. Any code or even an empty window returns the same error.
If the processor setting is "auto", then I will get a "micro must be connected for automatic detection" type of error if no processor is connected. However if the processor is selected and I invoke "tools>build", then the compiler fails to start regardless of what is in the project code window. So it seems to have nothing to do with the board, cable, micro, etc., just the software setup. For example:
main end
or, as I say, even an empty window returns the same error. The error is a dialog box that says "Error starting compiler" in which the only choice is "OK". Immediately prior to that, the messages:
"Starting Compiler..." "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem"
appear in the Build window. Reinstalling the application does not fix the problem. The installation script reports no errors, I selected all the defaults. Under the same circumstances 8.x runs normally.
The same thing happens invoking "tools>program" after a very short delay if a micro is connected. Studio will find and correctly identify the micro from the preferences window.
I believe this is unrelated, but I also had some difficulties installing the USB serial driver. If I allowed Windows to identify the driver, it would install one, then immediately restart the process ("new hardware found, do you want to search for a driver" type of thing). If I said OK, then I ended up with multiple instantiations of the driver, none of which would recognize the port. Going back to square one (and removing all of the drivers in the control panel) if I forced the search for the driver to go to the Basic Micro Studio folder, then it would install correctly. This seemed to be repeatable, but I only tried it a couple of times. The driver version was the same in all cases good and bad, as reported by the control panel. I believe this is unrelated to the compiler problem as these should be somewhat disconnected functions, 8.x works fine once the driver is installed, and Studio finds and ids the micro, just won't start the compiler.
|