pic18f46k22 help please.

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
john hauton
Posts: 40
Joined: Wed Jul 08, 2009 3:23 pm
Been thanked: 2 times
Contact:

pic18f46k22 help please.

Post by john hauton »

Hi,
I'm trying to generate a hex file for the above chip.
It compiles to c ok, but throws up the libc file not found error when I try to compile to hex.
When I tell flowcode 4 where these files are, it gives a long list of errors with return code -2
for some reason, occasionally the linker location refers to C:\SourceBoost\etc.
However, if I put C:\program files (x86)\Matrix Multimedia\Boostc\lib etc
it still does not work!
any help would be appreciated

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: pic18f46k22 help please.

Post by medelec35 »

Hi John,
Are you running 32bit or 64bit windows?
Would you like to post your flowchart and c code so we can check it out for you.
Did you try using reg files from this post?
http://www.matrixmultimedia.com/mmforum ... 74&#p47197

Can you also post your
Filename.msg.txt

That can help us see what could be going wrong.

Martin
Martin

john hauton
Posts: 40
Joined: Wed Jul 08, 2009 3:23 pm
Been thanked: 2 times
Contact:

Re: pic18f46k22 help please.

Post by john hauton »

Hi Martin, thanks for answering.

All I did was a simple loop displaying some text on an lcd display. I have used this on many different pics
with no problem. I'm still having trouble where the linker location gets confused, so maybe theres more than one
problem. It keeps going back to c:\program files(x86)\Sourceboost....etc. As we know the location is in the matrix multimedia
folder with \boostc.

The version of windows is 64 bit professional

Thanks Martin....regards john

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

Re: pic18f46k22 help please.

Post by Kenrix2 »

As we know the location is in the matrix multimedia
folder with \boostc.
That is the wrong location. Please try a copy and paste of the settings I suggested in your previous topic:
http://www.matrixmultimedia.com/mmforum ... 29&t=12149
Very strange how it keeps changing on you, must be frustrating.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: pic18f46k22 help please.

Post by medelec35 »

I would say its changing because the registry has got the wrong default values.
So when selecting Restore defaults, then wrong paths stored within the registry are loaded back into compiler settings.

To resolve this you could take a look here:

http://www.matrixmultimedia.com/mmforum ... =26&t=6896

Just make sure settings from here are entered:
http://www.matrixmultimedia.com/support ... f=22&t=683
Since your using 64bit windows you will need to look at the very bottom of the page.
Martin

john hauton
Posts: 40
Joined: Wed Jul 08, 2009 3:23 pm
Been thanked: 2 times
Contact:

Re: pic18f46k22 help please.

Post by john hauton »

Hi, frustrating is not the word!!

I think i've found out whats causing it, but not how.
Everything was working perfectly, I had version 3 (pic avr arm), and the same with v4 all professional.

When I wanted to see the differences in v5 prior to maybe buying the pic version. I installed the demo version of v5 pic,
and the demo of dspic v4 i think.
Since then, whichever computer i do this on (one running win xp home one running win7 pro 64bit) I get this problem where
the default boostc part of the linker changes to c:\program files(x86)\sourceboost\ etc etc
Also the floatlib wether for pic 16 or 18 vanishes...
This is driving me crazy, although I have copied a functional linker parameter line to a text file on the desktop
which i can copy and paste each time. Not elegant, but works
I could not find the section in the registry shown, part of it seemed to be missing!
Any help, or a recommended hair restorer would be appreciated.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: pic18f46k22 help please.

Post by medelec35 »

Didn't reg file that was attached in the other link work?
attached within zip file is the file in question.

It always worked with me.
Attachments
Flowcode Default with PPP win 64Bit.zip
(651 Bytes) Downloaded 341 times
Martin

Post Reply