Swordfish Toolsuite

General questions about Firewing...

Swordfish Toolsuite

Postby Coccoliso » Sat Sep 27, 2014 10:30 am

Hello,
I installed Firewing and the PIC toolsuite for Swordfish copying the includes in the sub-folder "C:\ProgramData\Mecanique\Firewing\Includes" created by Firewing install program but the device is not show in the Firewing IDE explorer. In these conditions I have 3 errors in the generation ( device PIC registers ) as the device were not included by the compiler.

xJerry.jpg
Without C:\Program Files (x86)\Mecanique\Swordfish\Includes
xJerry.jpg (121.48 KiB) Viewed 44058 times


On the forum I found that someone has created a new folder "Includes" in the installation folder of Swordfish ("C:\Program Files (x86)\Mecanique\Swordfish\Includes") not the standard one that is "C:\ProgramData\Mecanique\Swordfish\Includes".
I tried this, and in fact now the HEX is generated but the device does not appear in the explorer of Firewing IDE.
Other things do not work in the IDE the recognition of symbols like PORTx which I think should be capitalized while editing the source.

xJerry.jpg
Without C:\Program Files (x86)\Mecanique\Swordfish\Includes
xJerry.jpg (121.48 KiB) Viewed 44058 times


I have W7 X64, Swordfish registered and up to date and I've tried with the latest release of Firewing, Swordfish and Toolsuite NewIncludes.
My Documents is located on D: drive and for Swordfish UserLibrary folder is "D:\Users\Michele\Documents\Swordfish\UserLibrary" and for Firewing is "D:\Users\Michele\Documents\Firewing\UserLibrary" created automatically during istallation.
I tried to uninstall and reinstall but nothing, I deleted folders in Firewing to recreate Samples how to recommended in the forum, all was recreated but nothing.
I saw that this issue had also another user, he has resolved to create the folder "Includes" in Swordfish but I think it is not the right thing, then I do not work for the Firewing explorer.
Attachments
xJerry2.jpg
With C:\Program Files (x86)\Mecanique\Swordfish\Includes
xJerry2.jpg (101.24 KiB) Viewed 44058 times
Last edited by Coccoliso on Sat Sep 27, 2014 10:51 am, edited 1 time in total.
User avatar
Coccoliso
 
Posts: 178
Joined: Sat Sep 27, 2014 10:02 am

Re: Swordfish Toolsuite

Postby demanik » Sat Sep 27, 2014 10:42 am

whether check there is a tick
Attachments
sshot-1.jpg
sshot-1.jpg (89.59 KiB) Viewed 44055 times
Image
User avatar
demanik
 
Posts: 56
Joined: Sat Aug 17, 2013 5:53 pm
Location: Ukraine

Re: Swordfish Toolsuite

Postby David John Barker » Sat Sep 27, 2014 11:03 am

You should not change any Swordfish include files or settings when trying to integrate with Firewing, else you are likely to break something. There is an article on installing the Swordfish toolsuite here:

http://www.firewing.info/pmwiki.php?n=FirewingUser.SwordfishToolsuite

Basically, just

(1) install Swordfish toolsuite binary
(2) copy Firewing include files into Firewing include folder (under win7, this is c:\programdata\mecanique\firewing\includes)
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: Swordfish Toolsuite

Postby Coccoliso » Sat Sep 27, 2014 12:19 pm

- David
The installation've done as specified in the article that you said .. and in fact no mention anywhere that you have to touch the installation of Swordfish polluting it with any thing.
The two packages must work without altering each other. I agree and I think my problem is somewhere else.

- Demanik
You know that I can not find the spot to bring up the menu that I've posted? Now make me suspect that something is happening to REALLY WEIRD.
The version of the IDE that I have in about tells me 1.0.0.6.
User avatar
Coccoliso
 
Posts: 178
Joined: Sat Sep 27, 2014 10:02 am

Re: Swordfish Toolsuite

Postby Jerry Messina » Sat Sep 27, 2014 12:49 pm

I agree and I think my problem is somewhere else.

From what I've observed, you'll get errors like
Code: Select all
[ASM ERROR]: Error[113]:...Symbol not previously defined(EEPGD)
if the toolsuite can't find the Swordfish Includes\P18Fxxxx.inc file to match your device.


You know that I can not find the spot to bring up the menu

If you mean the "Show Device" selection, you can access that using the small down triangle that's at the right side of the title bar in the Code Explorer pane.
Jerry Messina
 
Posts: 280
Joined: Thu Feb 14, 2013 10:16 am

Re: Swordfish Toolsuite

Postby Coccoliso » Sat Sep 27, 2014 1:46 pm

OK,
now I found the menu and check "Show Device" and device there is now.
The problem is that the compilation does not happen because like you said Jerry 18Fxx.inc file is not found by the compiler.
The file instead there is in "C: \ ProgramData \ Mecanique \ Firewing \ Includes" the only way to have a compilation is create a folder Includes in Swordfish ("C: \ Program Files (x86) \ Mecanique \ Swordfish") and put it inside.
David tells me that this is a crap but it seems that is the only way to find the INC and above all I would like to be sure I do not screw up the compilation in Swordfish.
Now try it with and without FW includes in SF.
User avatar
Coccoliso
 
Posts: 178
Joined: Sat Sep 27, 2014 10:02 am

Re: Swordfish Toolsuite

Postby RKP » Sat Sep 27, 2014 4:55 pm

David and Jerry,

Unfortunately my problem still persists.
As you can tell from my post on the Swordfish forum. My installations for Firewing and Swordfish are in the default locations in Win7.
for some reason it will not compile as Jerry said it does not see the include file but it is there as my screen shot shows.

Do you have any ideas?

My home and work PC exhibit the same behavior.
I am also a registered Swordfish user so i not sure what the issue is. Work PC is Win 7 Pro and the sscreen shots are from there.
My hone PC is Win 7 Home, but as I said they both do not compile.

Any suggestions becasue i would like to start using Firewing and SF.

Thanks,

Keith
RKP
 
Posts: 21
Joined: Mon Nov 26, 2012 3:12 am

Re: Swordfish Toolsuite

Postby Coccoliso » Sat Sep 27, 2014 6:01 pm

Hello RKP,
I believe that the efforts made in Firewing worth the candle because the new language is very similar to object-oriented programming VB.NET and I find it very comfortable especially because it will be the bridge between the 8-bit MCU and the future (maybe more current than expected) .
I realized as mentioned by another user who creates a folder named "Includes" in the installation folder of Swordfish and putting in the INC of used device FW is working correctly.. you did this test?
On my machine MyDocuments folder is in "D:\Users\<myname>\Documents\" is your condition?
I think there are points in common between my and your problems and concern over the machine that uses more than the development system.
I had tried different compilers before coming to SW and I noticed that there are incompatibilities between the installations of different products.
For example:
1) I happened by removing Proton I skipped the license of SW and FW said that the software was not present in the system
2) installing SW and FW on a virtual machine SF work and FW told me that SW was not present.

But in all these real/virtual machines I had previously installed the same packages (and previous version of SW like SE and FW ) so I should make a new machine :cry: before saying that FW does not work ..
User avatar
Coccoliso
 
Posts: 178
Joined: Sat Sep 27, 2014 10:02 am

Re: Swordfish Toolsuite

Postby RKP » Sat Sep 27, 2014 6:30 pm

Coccoliso ,

I agree about the use of Firewing as a new language having a future since it is based off of VB.

Just not sure why it does not work on my two machines.

They were both installed in the default directories so my issues are not exactly the same as yours but I am replacing my hard drive soon with a SSD and I would like to put my working files and data on my HD and the OS and program files on my SSD. Since Win 7 boots up is so slow!!!

One thing i have no control of at work is the Virus software but at home i can turn it off and see if this is the culprit.
One other thing is I have my old laptop with XP as the OS and SF installed. I will download Firewing on it to see if i can get a program to compile.
It may take a while will be busy this evening and football (American) tomorrow.

Keith
RKP
 
Posts: 21
Joined: Mon Nov 26, 2012 3:12 am

Re: Swordfish Toolsuite

Postby Jerry Messina » Sat Sep 27, 2014 9:45 pm

I'm not a good one to ask about installation issues since I didn't install either package in their default locations, and moved everything around so the folder structures matched my XP machine.

I'm not recommending this mind you, it's just that I hate the way Win7 scatters everything around all over the place.
Jerry Messina
 
Posts: 280
Joined: Thu Feb 14, 2013 10:16 am

Next

Return to Questions

Who is online

Users browsing this forum: No registered users and 10 guests

cron

x