Supported devices...
Moderators: David Barker, Jerry Messina
Supported devices...
Hello friends, who know me from forums proton + ... I just bought swordfish ... and I wanted to ask how I can add support for 18F24J11 before going crazy looking on the forum .. any help? thanks in advance... Milom
-
- Registered User
- Posts: 185
- Joined: Mon Mar 10, 2008 8:20 am
- Location: Seattle, WA USA
- Contact:
Hello Jon, thanks to you ... intervention the (SE) does not (I think) the possibility of updates and the folder "Includes" .. I myself created the folder and uploaded the files as mentioned in the forum, but the compiler does not invoke the *. inc and *. bas on devices required .. I just wanted to know if something wrong or is it just me version of swordfish to do so ...
thanks for patience..
milom
thanks for patience..
milom
-
- Registered User
- Posts: 185
- Joined: Mon Mar 10, 2008 8:20 am
- Location: Seattle, WA USA
- Contact:
Hello Jon .. thanks for the help ... I found the second folder ... hidden where you said .. I use Seven64. But now I have another problem ... The attached picture gives an idea of what happens launching a demo. I searched the forum, but it seems that nobody has the same error. You know you help me? thanks again ..
Milomir
PS
I bought the program ... but I realize that "maybe" is not supported properly by those who produce it ..
too many things to discover .. too many problems to solve on their own .. too many questions that is not answered.
hello ..
[/img]
Milomir
PS
I bought the program ... but I realize that "maybe" is not supported properly by those who produce it ..
too many things to discover .. too many problems to solve on their own .. too many questions that is not answered.
hello ..
[/img]
-
- Registered User
- Posts: 185
- Joined: Mon Mar 10, 2008 8:20 am
- Location: Seattle, WA USA
- Contact:
I see what's happening. The convert include loads the utils include, which has the command "SetAllDigital" which does not support the k-series.
I think there have been some posts here about how to fix the utils inlude to support the k-series. I've only just started using a k-series (1825k20) and hadn't run across this problem yet
I think there have been some posts here about how to fix the utils inlude to support the k-series. I've only just started using a k-series (1825k20) and hadn't run across this problem yet
Find the following in utils.bas
and place this text after it
Code: Select all
// J50 and J55 family...
#elseif _device in (18F65J50, 18F66J50, 18F66J55, 18F67J50, 18F85J50, 18F86J50, 18F86J55, 18F87J50)
ANCON0 = $FF
ANCON1 = $FF
Code: Select all
// PIC18F2XK20/4XK20 family
#elseif _device in (18F25K20,18F45K20)
ANSEL = $FF
ANSELH = $FF
CM1CON0.7 = 0
CM2CON0.7 = 0
digital-diy.com - Hobby microcontroller projects and tutorials. Assembly, PICBasic and C examples.
Australian distributor for the Swordfish Compiler
Australian distributor for the Swordfish Compiler
Hello Grim, thanks to you for the help .. nothing to do, I myself did something like that to run the compiler, realizing that the problems could be like this.
I think now the problem is assembling.
The type of error indicates the compiler is in recognition of system variables. So I think now the problem is not included among, but in the sequence assembly.
As you can see I placed in the includes folder UserLibrary, and the compiler is either a copy of the definitions of the controller, is a modified copy of "utils.bas".
But something prevents it.
Of course I'll miss something, but I repeat: these are not issues that should have a simple user approaches to the compiler.
And especially the lack of proper support from those who produce it is missing this swordfish.
Thanks for help.. I really need
I think now the problem is assembling.
The type of error indicates the compiler is in recognition of system variables. So I think now the problem is not included among, but in the sequence assembly.
As you can see I placed in the includes folder UserLibrary, and the compiler is either a copy of the definitions of the controller, is a modified copy of "utils.bas".
But something prevents it.
Of course I'll miss something, but I repeat: these are not issues that should have a simple user approaches to the compiler.
And especially the lack of proper support from those who produce it is missing this swordfish.
Thanks for help.. I really need
-
- Registered User
- Posts: 185
- Joined: Mon Mar 10, 2008 8:20 am
- Location: Seattle, WA USA
- Contact:
The reason you can't save it is because Windows is busy trying to protect you from yourself. I had the same problem.
Find Notepad, and RIGHT CLICK on it, then select "Run as administrator". Make the addition, which is almost the last line of the file, and save it.
Thanks for figuring out the needed changes Graham.
Find Notepad, and RIGHT CLICK on it, then select "Run as administrator". Make the addition, which is almost the last line of the file, and save it.
Thanks for figuring out the needed changes Graham.
-
- Registered User
- Posts: 185
- Joined: Mon Mar 10, 2008 8:20 am
- Location: Seattle, WA USA
- Contact:
After doing battle with Windows Vista, I made the above changes to the utils.bas file. Once this was done, your code compiles without error for both 18F25k20 and 18F45k20.
Sorry that this takes a little effort, but Swordfish is an awesome language and I encourage you to take the effort to get past this problem.
Sorry that this takes a little effort, but Swordfish is an awesome language and I encourage you to take the effort to get past this problem.
Solved! ... I had some doubts about the installation, so I installed it on my little AcerOne.
The result was a clean installation of all folders to the site where they would be. I made the following changes:
Installation of *. bas and *. inc K series in the folder "Programs> Mechanic> SwordfishSE> Includes"
I inserted the # elseif Utils.bas for modifying the "Programs> Mechanic> SwordfishSE> Library"
and you're done!.
Then there was something wrong about Seven.
I did a search on "C: \" I found an answer.
Swordfish is fragmented into three folders placed inside the operating system, one of which (in this case the one that contains all file access to the program) hidden in an absolute way if you do not run as administrator.
Going to C: \ and search it; find "C: \> ProgramData> SwordFishSE.
Anyway thanks to all ... I wrote everything for those who might have problems like me and can find the forum a more thorough as possible on what has happened to me .. and to be less "disaffected" this compiler .. which should be the summary of perfection and combines the versatility of C for its modularity and simplicity of writing Basic.
Thanks to everyone who replied to me .. You were all very helpful ...
milom
The result was a clean installation of all folders to the site where they would be. I made the following changes:
Installation of *. bas and *. inc K series in the folder "Programs> Mechanic> SwordfishSE> Includes"
I inserted the # elseif Utils.bas for modifying the "Programs> Mechanic> SwordfishSE> Library"
and you're done!.
Then there was something wrong about Seven.
I did a search on "C: \" I found an answer.
Swordfish is fragmented into three folders placed inside the operating system, one of which (in this case the one that contains all file access to the program) hidden in an absolute way if you do not run as administrator.
Going to C: \ and search it; find "C: \> ProgramData> SwordFishSE.
Anyway thanks to all ... I wrote everything for those who might have problems like me and can find the forum a more thorough as possible on what has happened to me .. and to be less "disaffected" this compiler .. which should be the summary of perfection and combines the versatility of C for its modularity and simplicity of writing Basic.
Thanks to everyone who replied to me .. You were all very helpful ...
milom