PDA

View Full Version : PICBasic Pro 2.50c on Win 7 - ERROR: Unable to execute mpasmwin.



kirtcathey
- 29th November 2009, 13:11
Hi All.

I am using PBP 2.50c and am waiting for PBP 2.60 upgrade to be delivered.

Getting back to PIC USB programming after about a six month break between projects. I put together another PIC 18F2550 circuit fairly easily that works on old code created (Thanks again Darrel Taylor), but when I went to edit and re-compile the code, I get the following error, no matter what:
ERROR: Unable to execute mpasmwin.

I have changed the directory to something shorter and without any spaces in the name. After a search in this forum, the following link is referred to, but after installing the MPLab plugin, I do not find the stated BAT file in the PBP install directory.
http://www.melabs.com/support/mplab.htm

THEN, after giving up hours later on MPLab, I re-installed Microcode Studio and when this program goes to compile, it errors stating that it cannot create a Run.bat file.

Any ideas? Any help is appreciated.

kirtcathey
- 30th November 2009, 03:39
Figured out MPLab, I think. After getting some zzzzzzs, re-read the page on Melabs to see that those instructions referred to PBP 2.60 or later. (Ordered the PBP 2.60 update CD last night, so have to wait a couple weeks for that.) So went to the earlier version page to see that 2.50c is only compatible with MPLab v8.15a or earlier.

Still haven't figured out what is wrong with MCS though.
Any help with Microcode Studio?

Acetronics2
- 30th November 2009, 10:32
Hi, KCy

May be re-do the MCS Compiler auto - search ...

Alain

kirtcathey
- 20th December 2009, 12:57
Need to run as Administrator. Right click on the icon and select run as admin.