Firewing for PIC18

Information and discussion regarding the main Firewing development board

Firewing for PIC18

Postby David John Barker » Fri Mar 07, 2014 7:57 pm

Just thought I would share this - based around a PIC18F25K22, the board is pin compatible with other Firewing main boards and shields. The board can be run at 5v or 3.3v...
Attachments
fw-blue.jpg
Firewing for PIC18
fw-blue.jpg (110.16 KiB) Viewed 16637 times
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: Firewing for PIC18

Postby Jerry Messina » Fri Mar 07, 2014 8:26 pm

So is that the standard R2 board, just with an 18F25K22 installed?

I take it there's an update planned for the IDE? What backends will you be able to use for the 18F?
Jerry Messina
 
Posts: 280
Joined: Thu Feb 14, 2013 10:16 am

Re: Firewing for PIC18

Postby David John Barker » Sat Mar 08, 2014 10:36 am

> So is that the standard R2 board, just with an 18F25K22 installed?

No, it's a completely new board. The 18F25K22 pinouts are very different from say a 28 pin PIC24 or PIC32. So Firewing will have two main boards

Firewing R2 Black - PIC24 and PIC32
Firewing R2 Blue - PIC18

> I take it there's an update planned for the IDE?

Yes, the Firewing IDE (and command line compiler) will now build for a number of PIC18 devices. For example, 18F25K22, 18F26K22, 18F45K22, 18F26K22 and 18F14K50. The 18F14K50 USB device is included as this is the chip used on both Firewing main boards. So you can "re-purpose" the Firewing USB device (for example, HID interface) using the Firewing compiler. The Swordfish USB libraries have already been ported to Firewing, so we are good to go...

> What backends will you be able to use for the 18F?

You can hook the Swordfish code generator into Firewing, which will enable you to build for any device supported by Swordfish. I also have a PROTON (PDS) toolsuite which I am considering releasing. So if you have a licensed version of PDS, you will be able to build for any PIC18 or PIC24 device supported buy PDS. The code generated by PDS 24 is very optimised but it is still in BETA.
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: Firewing for PIC18

Postby Timbo » Wed Feb 25, 2015 9:37 am

Hi,

Can the board be mad to run at say 16mhz the clock freq and still use the boot loader?

Thanks

Tim
Timbo
 
Posts: 93
Joined: Fri May 03, 2013 7:51 pm

Re: Firewing for PIC18

Postby David John Barker » Wed Feb 25, 2015 10:15 am

You will need to install loader firmware that is designed to run at 16MHz. You can download the loader source at the bottom of this page

http://www.firewing.info/pmwiki.php?n=Firewing.Firewing08

(1) disable the PLL option in the *.asm file
(2) change #define DEVICE_CLOCK 64000000 to 16000000

and that should be it. There is a batch file that will build the *.asm using MPASMWin.
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: Firewing for PIC18

Postby Timbo » Wed Feb 25, 2015 10:22 am

Perfect!


Thanks
Timbo
 
Posts: 93
Joined: Fri May 03, 2013 7:51 pm


Return to Main Board

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x