Discuss the Integrated Development Environment (IDE)
Moderators: David Barker, Jerry Messina
-
Jerry Messina
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
Post
by Jerry Messina » Tue Sep 10, 2013 2:53 pm
Is there a newer version of SystemConvert available that handles the CONFIG settings for these guys?
The version I have produces
Code: Select all
PLLDIV(PLLDIV) = [NODIV, DIV2, DIV3, DIV4, DIV5, DIV6, DIV10, DIV12, RESERVED, RESERVED, RESERVED, RESERVED, PLL4X, PLL6X, PLL8X, NOPLL],
and the compiler is complaining about 'Duplicate option' (for the RESERVED settings I suppose ??)
-
David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
-
Contact:
Post
by David Barker » Tue Sep 10, 2013 2:57 pm
No, but to be honest it's pretty easy to delete these entry's for the exceptions.
-
Jerry Messina
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
Post
by Jerry Messina » Tue Sep 10, 2013 3:01 pm
Should I delete them or just change them to be unique (ie 'RESERVED1, RESERVED2, RESERVED3, RESERVED4) to preserve the order?
I can never remember how they map to the actual binary settings.
-
David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
-
Contact:
Post
by David Barker » Tue Sep 10, 2013 3:12 pm
It doesn't matter - just delete them, ordering isn't important. The config settings are pretty much passed directly to MPASM as textual information - MPASM does the actual work with respect to which bits should be set.
-
Jerry Messina
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
Post
by Jerry Messina » Thu Jun 26, 2014 5:30 pm
SystemConvert seems to be having a hard time with the 100-pin versions of the 97J94 family (the 18F9xJ94 devices).
These are a little odd in that they have two extra ports (PORTK and PORTL) that aren't in the usual place.
I get a number of odd "#const _no_ = $01" lines generated, and a few missing/incorrect PORT/LAT/TRIS definitions.
Is the source code for the SF SystemConvert similar to the FW sysgen_08 version?
-
David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
-
Contact:
Post
by David Barker » Thu Jun 26, 2014 6:00 pm
> Is the source code for the SF SystemConvert similar to the FW sysgen_08 version?
Yes. It's really just the very last stage in converting any structures into the target code. You should find it easy to modify to fit your needs.