Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Software Development System Installation (http://www.chiefdelphi.com/forums/showthread.php?t=32522)

Mike Betts 11-01-2005 09:02

Software Development System Installation
 
There have been numerous threads and posts concerning the new MPLAB, C18 compiler and problems with compiling default code. The purpose of this post/thread is to document my journey…

First of all, I am running XP home SP2 with the firewall ON in its default configuration. I am also running AVG 7.03 resident shield and Spybot 1.3 with inoculations resident.

First, I uninstalled old versions of MPLAB, C18 and IFI Loader, in that order. Uninstall of C18 was notable in that XP reported that C18 was already uninstalled and asked me if I wanted the icons removed. I said yes and moved on…

I downloaded the full version of MPLAB 7.00 from Microchip. I also downloaded C18 2.40 (via the FIRST link). I also downloaded IFI Loader 1.0.10 from IFI. Note that I did not use any files from the CDROM included in the 2005 kit.

I performed a full install of MPLAB 7.00 and answered NO to installation of ICD and ICE support. No issues.

I then performed a full install of C18 2.40 with, apparently, no issues. During the install, I checked all boxes involving the addition of C18 to my PATH, et cetera.

After the C18 install, XP complained "Application Has Failed to Start Because Framedyn.dll Was Not Found" when I started Spybot. I reinstalled Spybot which had no effect.

After reviewing information at http://support.microsoft.com/default.aspx?scid=kb;en-us;319114, I verified that framedyn.dll was not corrupted. However, I did find a problem in my PATH.

I corrected by PATH to be: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32 \wbem;C:\mcc18\mpasm;C:\mcc18\bin;<and more PATH variables not relevant to FIRST> and that problem went away.

The IFI Loader installation went uneventfully except for it complaining that there were shared files in use. I told it to continue and the rest of the installation was normal.

Whew!

After all of that, I was able to build Team 177’s 2004 robot code, FRC’s 2005 default code, Kevin Watson’s 2005 navigation demonstration code and FRC’s 2005 camera code with no errors.

I will not be able to test on a robot until this afternoon. If I have problems, I’ll let everyone know…

I hope this information saves some of you some grief and frustration. Please feel free to post your experiences.

Regards,

Mike

P.S.: Moderator, please make this thread a sticky for the next week or two… Thanks.

Joe Ross 11-01-2005 09:37

Re: Software Development System Installation
 
Somebody else reported on FIRST Q/A that the new compiler corrupted the PATH environment variable on XP (ID967).

This is definitely something people need to watch out for.

Greg Marra 11-01-2005 10:10

Re: Software Development System Installation
 
XP Home SP1

I uninstalled the old versions of MPLAB and C18. However the C18 icon did not go away in the add/remove programs list, but further attempts to remove only told me it couldn't find it. This happens with some uninstallers, so I ignored it.

Then I rebooted.

Then I installed MPLAB 7.0, which went smoothly. Without rebooting I installed C18 2.4, checking all 6 of the check boxes when prompted, which also went smoothly. I then rebooted.

On boot my optical mouse didn't work, it was all lit up but wouldn't move the cursor. I rebooted and the same thing. Unplugging and replugging the mouse at the Welcome Screen fixed it.

Everything seems to be working perfectly.

Terry Sherman 11-01-2005 20:57

Re: Software Development System Installation
 
We've installed IFI Loader 1.0.10 and attempted to download the new FRC_2005 default code. It says that it loads but the LED on thr controller that describes program failure/fault blinks. We tried the same 2005 FRC Default code with the 1.0.2 IFI Loader and it loaded and ran correctly. We also updated the Main FRX code (*.bin file) from Innovation First.

Has anyone else seen this issue?
Thanks!

Mike Betts 11-01-2005 21:03

Re: Software Development System Installation
 
Quote:

Originally Posted by Terry Sherman
We've installed IFI Loader 1.0.10 and attempted to download the new FRC_2005 default code. It says that it loads but the LED on thr controller that describes program failure/fault blinks. We tried the same 2005 FRC Default code with the 1.0.2 IFI Loader and it loaded and ran correctly. We also updated the Main FRX code (*.bin file) from Innovation First.

Has anyone else seen this issue?
Thanks!

I would most definately post this to IFI: http://www.ifirobotics.com/forum/

CJO 11-01-2005 21:08

Re: Software Development System Installation
 
I think that these *may* be SP2 problems. I have setup the whole system on three SP1 machines running Pro, and had no problem, however, I am using a multipurpose loader/diagnostics tool that one of the IFI guys gave us at the nationals last year instead of the IFI loader.

DanDon 11-01-2005 21:45

Re: Software Development System Installation
 
Quote:

Originally Posted by CJO
I think that these *may* be SP2 problems. I have setup the whole system on three SP1 machines running Pro, and had no problem, however, I am using a multipurpose loader/diagnostics tool that one of the IFI guys gave us at the nationals last year instead of the IFI loader.

Hey CJO, is there any way you can upload that "multipurpose loader/diagnostics tool"?

I would much appreciate it,

Thanks,

Dan

CJO 11-01-2005 22:02

Re: Software Development System Installation
 
It is on a machine at school, but I'll try tomorrow. The real beauty of it (and the reason we got it) is it allows you to read programs out of the memory . . . so, if you forget to backup beofre you re-compile, and you are in the middle of a match, you can always restore back to where you were.

devicenull 11-01-2005 22:37

Re: Software Development System Installation
 
Quote:

Originally Posted by CJO
It is on a machine at school, but I'll try tomorrow. The real beauty of it (and the reason we got it) is it allows you to read programs out of the memory . . . so, if you forget to backup beofre you re-compile, and you are in the middle of a match, you can always restore back to where you were.

Send me a PM if you need somewhere to upload it

CJO 11-01-2005 22:40

Re: Software Development System Installation
 
Actually, I think I have it here, it is in a backup file, so, as soon as I finish restoring that particular disc, i'll post.

CJO 12-01-2005 00:40

Re: Software Development System Installation
 
I found the source, I cannot find an .exe so I am compiling, will post later.

CJO 12-01-2005 00:51

Re: Software Development System Installation
 
1 Attachment(s)
Ok, here you go,

un-tar and run.

USE AT YOUR OWN RISK

I'll post the source tomorrow. I also have source for the PIC18 firmware uploader, I am building that right now. I just put out the exe, I do not think that you will need any other files if you are running XP pro full install, I have tried it out on one machine. If it is the case that I am missing .dll's etc, I post, and I will include them. IFI loader should install all neccessary files.

Also, DO NOT HIT THE RUN BUTTON

CJO 12-01-2005 10:44

Re: Software Development System Installation
 
Ok, upon the advice of a couple of people I have decided not to post the bootstrap, firmware uploader, etc. because as someone put it "it is too much like leaving a loaded gun lying around." Also it is big. If anyone wants source/the other stuff, PM and I will e-mail you a link.

devicenull 15-01-2005 20:29

Re: Software Development System Installation
 
Just a question, is there a helpfile for this anywhere?
Wondering what:

RD PRG and RD EE do, BLK ERASE, will that wipe the program code or _everything_


Also, whats going to happen if I hit the run button? If its going to screw stuff up, I'm taking the button out with resource editor

russell 15-01-2005 22:17

Re: Software Development System Installation
 
I too am having issues with MPLAB. At school when we tried to install v 7.00 on our laptop it flashed up a bunch of error messages right as it finished the install, so I just hit ok on all of them, then tried to run it. It flashed up another error message, but we had to leave then. Another guy took the laptop home and is trying everything he can think of to get it to work, but he is currently installing it for the third time and it still isnt working. So meanwhile I came home to try to compile the rev-3 camera code (I havent compiled anything at home yet) and it said it couldnt find about a million things, so I changed some settings and fixed that, but now the only error left is this:
Quote:

MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find file 'clib.lib'.
Errors : 1
I reinstalled the IDE and C18 both and it still flashes up this message. Anyone have any ideas? I have located this clib.lib file but I cannot find any way to tell MPLAB where it is.


All times are GMT -5. The time now is 07:30.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi