Installing...

Please note that this toolsuite is not part of the official Firewing release but we will try and help where we can...

Installing...

Postby David John Barker » Fri Jan 17, 2014 4:29 pm

Information on installing the XC32 toolsuite can be found here:

http://www.firewing.info/pmwiki.php?n=FirewingUser.XC32Toolsuite
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: Installing...

Postby roger » Fri Jan 24, 2014 11:38 am

David,

I want to start a project using the Pic32. I always develop programs with hardware in MPLAB, using PicKit3 or other debugger.

If I follow the instructions in the article "Using Firewing with MPLAB", and download and install the XC32 toolsuite, is that sufficient to run MPLAB with an R2 board populated with a Pic32.

I searched the website but could not find this stated explicitly.

Thanks for your help

Roger
roger
 
Posts: 33
Joined: Tue Dec 11, 2012 12:41 pm

Re: Installing...

Postby David John Barker » Fri Jan 24, 2014 1:39 pm

No, not quite. Here is what you need to do when using XC32

(1) Add a -t"microchip 32" command line option to MPLAB

(2) Because Firewing 32 does not generate COFF, you need to edit TLFWBasic.ini, installed under .."MPLAB IDE\Core\MTC Suites", so it looks something like this:

Code: Select all
[Language_Suite]
LanguageSuite=Firewing BASIC Compiler
DefaultFilename=default.bas
Source=BAS
Target=HEX
Output=HEX
Debug=HEX
MTC_Files=firewingbasic;mpasm

// Target=COF
// Output=LST;ERR;COD;HEX;COF
// Debug=COF
// MTC_Files=firewingbasic;mpasm
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: Installing...

Postby roger » Fri Jan 24, 2014 2:28 pm

So if Firewing32 does not produce COFF I would then be unable to single step Basic code, only in the disassembly listing - or have I misunderstood?

Roger
Last edited by roger on Fri Jan 24, 2014 2:30 pm, edited 1 time in total.
roger
 
Posts: 33
Joined: Tue Dec 11, 2012 12:41 pm

Re: Installing...

Postby David John Barker » Fri Jan 24, 2014 2:29 pm

Firewing 32 does not generate debug information at the current time.
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: Installing...

Postby roger » Fri Jan 24, 2014 2:32 pm

Ok, thanks
roger
 
Posts: 33
Joined: Tue Dec 11, 2012 12:41 pm

Re: Installing...

Postby David John Barker » Fri Jan 24, 2014 5:12 pm

I've made some changes to the MPLAB toolsuite files. You can download from here:

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

If you already have the Firewing toolsuite installed, just copy over FirewingBasic.mtc and TLFWBasic.ini. When you next restart MPLAB, select PROJECT...BUILD OPTIONS to select either 16 or 32 bit compiler. Don't forget to change your processor in CONFIGURE...SELECT DEVICE. The compiler default to Firewing 16.

If you try the above files, please let me know if it works OK...
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm


Return to Microchip 32

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x