new user help

Discuss the Firewing development environment

Re: new user help

Postby richardb » Tue Apr 24, 2018 11:45 am

I'm posting this for the second time as my last post seemed to get lost someware and i've had this a few times
@ Coccoliso

Thanks for the "show device" option.

p32MX150F128B.ld not p32MX150F128B.lb
that was a typo. It's a shame I cant cut and paste from the results windows.


ok so this
C:\Program Files (x86)\Microchip\xc32\v2.05\pic32mx\lib\proc\32MX150F128B
is the location of the file.

where should it go or how can i change the path for the compiler?

there is a path in enviroment variables as follows

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microchip\xc32\v2.05\bin



I'm not sure what you were trying to say here.


Location is not a restriction for a PATH variable set in Windows path.


Thanks

Richard
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Re: new user help

Postby Jerry Messina » Tue Apr 24, 2018 12:06 pm

Do you know what is happening with firewing? is it a dead project or ....
This forum hasn't been very active lately. I know David's been busy... he hasn't really stopped by much, but he has the Swordfish forum.

I don't know what the issue is with firewing32 and the math libraries.
Jerry Messina
 
Posts: 280
Joined: Thu Feb 14, 2013 10:16 am

Re: new user help

Postby Coccoliso » Wed Apr 25, 2018 6:54 am

richardb wrote:I'm posting this for the second time as my last post seemed to get lost someware and i've had this a few times
@ Coccoliso

Thanks for the "show device" option.

p32MX150F128B.ld not p32MX150F128B.lb
that was a typo. It's a shame I cant cut and paste from the results windows.


ok so this
C:\Program Files (x86)\Microchip\xc32\v2.05\pic32mx\lib\proc\32MX150F128B
is the location of the file.

where should it go or how can i change the path for the compiler?

there is a path in enviroment variables as follows

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microchip\xc32\v2.05\bin



I'm not sure what you were trying to say here.


Location is not a restriction for a PATH variable set in Windows path.


Thanks

Richard


Compiler set system path variable .. nothing else to do or modify.
However, at this moment I did not understand what problems remained to you.
Maybe it's better that you summarize them because I lost the thread of the speech,
"Sometimes you find out what you wanted was not really what you needed".
User avatar
Coccoliso
 
Posts: 177
Joined: Sat Sep 27, 2014 10:02 am

Re: new user help

Postby richardb » Thu Apr 26, 2018 11:07 am

OK. so now I can compile the sample "progarduinio.bas" tft demo program without errors..

so to summarise.

using v1.31 of xc32 allows me to compile without errors

so anyone reading this trying to get firewing to work don't use the link to the compiler on the xc32toosuite page download v1.31 directly from the microchip archive.


having said that I still couldn't get the display working (an st7735) which wasn't too supprising but on looking closer the pins weren't toggling.

so I then tried toggling a pin in a simple program which didn't work initially but switching to firewing 32 seemed to work..


When I'm using microchip32 tool suite do I need to explicitly disable the normal peripherals?
what is the seteup differences that I need when using firewing32 vs microchip32? is there a pagethat I can look at. I've tried to search but didn't come up with much

Richard
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Re: new user help

Postby richardb » Thu Apr 26, 2018 11:20 am

ok so after a bit of playing it seems that when microchip32 is selected it doesn't program the pic with the bootloader, but goes through the motion asthough everything has worked.

do I need to use a pickit when microchip32 is selected?
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Re: new user help

Postby Coccoliso » Thu Apr 26, 2018 1:01 pm

You must declare DEVICE, CLOCK and CONFIG values then use PICKIT to flash device that will lose the bootloader.
I use MC32 and PicKit when I use other HW.
Now I have to ask you if you really need those 3 damn trigonometric functions or you can live anyway without using them.
Firewing 32 seems like a problem with external references to this 3 ( or all may be) gcc trigonometric functions.
Keep in mind that rewriting them could also be the lesser evil.
User avatar
Coccoliso
 
Posts: 177
Joined: Sat Sep 27, 2014 10:02 am

Re: new user help

Postby richardb » Thu Apr 26, 2018 1:33 pm

ok
You must declare DEVICE, CLOCK and CONFIG values then use PICKIT to flash device that will lose the bootloader.


that's ok, now that I know, i'll have to look at how to do this..

Now I have to ask you if you really need those 3 damn trigonometric functions or you can live anyway without using them.


no I don't.
I chose that particular sample code to test with an lcd and it threw an error, so I was thinking how many other problems will turn up and have no idea how to debug them.

the reality is i actually have no interest in firewing the board as a product, i have bought 2 from david one myself and one for work, for testing code and to support "firewing".

I design boards normally with pic18's/fpga's + analog and i wanted a more powerfull processor.

Thanks for your help.

Richard
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Previous

Return to Development Environment

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x