Page 1 of 1

SystemConvert and the J94/J99 series

Posted: Tue Sep 10, 2013 2:53 pm
by Jerry Messina
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 ??)

Posted: Tue Sep 10, 2013 2:57 pm
by David Barker
No, but to be honest it's pretty easy to delete these entry's for the exceptions.

Posted: Tue Sep 10, 2013 3:01 pm
by Jerry Messina
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.

Posted: Tue Sep 10, 2013 3:12 pm
by David Barker
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.

Re: SystemConvert and the J94/J99 series

Posted: Thu Jun 26, 2014 5:30 pm
by Jerry Messina
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?

Re: SystemConvert and the J94/J99 series

Posted: Thu Jun 26, 2014 6:00 pm
by David Barker
> 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.