Ubuntu Development Dream Lives OnI wasn't about to give up on my dreams of having a non-Windows development box to do my hardware tinkering on. So I decided to give Wine a try. Turns out it works like a champ and my bootloader project is simulating just as I expect. In case anyway else is interested here are the steps to get it up and running.
Install WineThe first step is to install Wine. That is quite simple as it can be done through the Ubuntu Software Center. Just do a search for "wine" and install the "Wine Microsoft Windows Compatibility Layer."
Download and Prepare FilesNext up is to download MPLAB 8 and the Standard-Eval version of C18. Once you have downloaded them they need to be set as executable so that Wine can run them properly. You'll need to extract the zip file contents for MPLAB first. After that, change directories to the folder containing mplabc18-v3_38-windows-eval-installer.exe and run:
sudo chmod 777 mplabc18-v3_38-windows-eval-installer.exe
Next, change directories again into MPLAB_IDE_8_73 and run:
sudo chmod 777 *.*
- Right-click on the C18 exe and select Open with Wine Windows Program Loader
- Accept the defaults through the install
Install MPLAB 8Right-click setup.exe and Open with Wine Windows Program Loader. I chose the Custom setup and accepted everything that was checked by default. I accepted all other defaults during the install. If you selected the Hi-Tech compiler as part of the custom install it will launch a separate installer. I accepted all of the defaults during Hi-Tech C Compiler install except I checked the box to add the compiler path to the environment variable.
Test it Out
- Go to Applications->Wine->Programs->Microchip->MPLAB IDE v8.73->MPLAB IDE
- Open the project from the Project menu
- Viola! Works like a champ.