Windows 7 64 bit. Using Swordfish with MPLAB

Discuss the Integrated Development Environment (IDE)

Moderators: David Barker, Jerry Messina

Post Reply
Les
Posts: 3
Joined: Thu Jun 17, 2010 12:52 am
Location: New Zealand

Windows 7 64 bit. Using Swordfish with MPLAB

Post by Les » Wed Sep 15, 2010 9:12 pm

I can't get MPLAB to accept Using Swordfish with MPLAB Language Tool Location. I have already done this twice with XP and both were no problem.
I have tried the compatibility thing and also running as an administrator but still no go.
Can some one please help?

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Thu Sep 16, 2010 8:12 am

I've not tested the compiler on 64bit windows, but cannot see why you would have problems. Does the standalone version work OK? What error are being reported from MPLAB?

Dredd
Registered User
Registered User
Posts: 12
Joined: Mon Sep 13, 2010 12:27 pm
Location: Canada (Montreal)

Re: Windows 7 64 bit. Using Swordfish with MPLAB

Post by Dredd » Thu Sep 16, 2010 5:50 pm

Les wrote:I can't get MPLAB to accept Using Swordfish with MPLAB Language Tool Location. I have already done this twice with XP and both were no problem.
I have tried the compatibility thing and also running as an administrator but still no go.
Can some one please help?
Works fine here on Win7 x64 (Home Premium/Pro/Ultimate). Using MPLAB v8.56 & SF 2.1.0.0 :D

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Thu Sep 16, 2010 6:03 pm

Out of interest, did you have to do anything special to install or did it work fine by following the instructions supplied with the compiler?

Dredd
Registered User
Registered User
Posts: 12
Joined: Mon Sep 13, 2010 12:27 pm
Location: Canada (Montreal)

Post by Dredd » Thu Sep 16, 2010 7:27 pm

I followed the instructions here:

http://www.sfcompiler.co.uk/wiki/pmwiki ... User.MPLAB

The only thing you need to modify is the registry file provided. Since the .reg file was made for a 32bit OS, the registry entries are wrong:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microchip\MPLAB IDE\Legacy Language Suites\{80955F6E-9A09-4809-8E73-569608FF396D}]
""="TLSFBASIC.INI"

Should be:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microchip\MPLAB IDE\Legacy Language Suites\{80955F6E-9A09-4809-8E73-569608FF396D}]
""="TLSFBASIC.INI"

Is it missing the "Wow6432Node" part.

After modifying the .reg file, everything worked fine.

Here is the content of the file fixed for 64bit. I wanted to upload the .reg file but it doesnt seem we can attach files in the post. Just copy/paste all in you current .reg file and it should work.

Code: Select all

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microchip\MPLAB IDE\Legacy Language Suites\{80955F6E-9A09-4809-8E73-569608FF396D}]
""="TLSFBASIC.INI"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microchip\MPLAB IDE\Legacy Language Suites\{80955F6E-9A09-4809-8E73-569608FF396D}\{7E8DCE77-732E-486F-A980-FA52156C02BA}]
""=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microchip\MPLAB IDE\Legacy Language Suites\{80955F6E-9A09-4809-8E73-569608FF396D}\Tools]
""=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microchip\MPLAB IDE\Legacy Language Suites\{80955F6E-9A09-4809-8E73-569608FF396D}\Tools\{963728B9-F815-472F-8F29-A936107A38F2}]
""="SFBASIC.MTC"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microchip\MPLAB IDE\Legacy Language Suites\{80955F6E-9A09-4809-8E73-569608FF396D}\Tools\{963728B9-F815-472F-8F29-A936107A38F2}\{A00BFCB9-46DD-4A07-9C14-4FD2F6D25A49}]
""="SFBASIC.MTC"

Hope it helps :)
Dominic

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Thu Sep 16, 2010 7:39 pm

That's very useful - thanks...

Les
Posts: 3
Joined: Thu Jun 17, 2010 12:52 am
Location: New Zealand

Thanks

Post by Les » Sat Sep 18, 2010 2:15 am

Hey thank you very much, worked great.

User avatar
ohararp
Posts: 194
Joined: Tue Oct 03, 2006 11:29 pm
Location: Dayton, OH USA
Contact:

Post by ohararp » Wed Oct 20, 2010 3:18 am

I followed the directions here to get up and running with 8.53. How can I check whether MPLAB 8.53 was used though. Everything seems to compile fine otherwise. I just can't tell if this change has taken effect.
Thanks Ryan
$25 SMT Stencils!!!
www.ohararp.com/Stencils.html

User avatar
ohararp
Posts: 194
Joined: Tue Oct 03, 2006 11:29 pm
Location: Dayton, OH USA
Contact:

Post by ohararp » Thu Oct 21, 2010 1:21 pm

Just wanted to say that I upgraded to MPLAB 8.53. Apparently things worked as I had some "buggy" code that was causing me trouble a few months ago.

With the recent updates to SF and now MPLAB things are working as they should. I am very glad to have David back and will now plan to continue development and sharing with this platform again!!!!
Thanks Ryan
$25 SMT Stencils!!!
www.ohararp.com/Stencils.html

Post Reply