Search found 1246 matches

by Jerry Messina
Wed Dec 30, 2020 6:13 pm
Forum: Modules
Topic: USART2 interupt
Replies: 8
Views: 408

Re: USART2 interupt

Garry - Here's a copy of the new ISRRX2 module, along with updated ISRRX and PPS modules. There's an example program in there too: J13_isrrx1_isrrx2.bas // ISRRX and ISRRX2 example device = 18F27J13 clock = 32 include "intosc.bas" #option DIGITALIO_INIT = true // automatically call SetAllDigital at ...
by Jerry Messina
Wed Dec 30, 2020 2:33 pm
Forum: Modules
Topic: USART2 interupt
Replies: 8
Views: 408

Re: USART2 interupt

I have a version of ISRRX2 that you can use along with ISRRX which uses both interrupts... you set one as ipHigh and the other as ipLow. I also have provisions for using both of those modules along with a user-defined ISR so they can share a single interrupt (untested). I think I have a 27J13 around...
by Jerry Messina
Wed Dec 30, 2020 12:27 am
Forum: Modules
Topic: USART2 interupt
Replies: 8
Views: 408

Re: USART2 interupt

If all you want to do is use ISRRX to handle USART2, then just set the option RX_USART_SELECT: #option RX_USART_SELECT = 2 include "isrrx.bas" If you want to use two uarts then that won't do it. Do you need to use any other interrupts? By default, two copies of ISRRX would chew up both interrupts on...
by Jerry Messina
Thu Dec 17, 2020 6:47 pm
Forum: IDE
Topic: Problem with the path to the Library folder
Replies: 21
Views: 2009

Re: Problem with the path to the Library folder

The IDE somehow found a copy dated 2006 from a directory I was using back then. I tried coping the current version from 2019 into my working directory and it still links to the 2006 version. If you look in the project .idf file, the second section (.file) includes a list of all the included files a...
by Jerry Messina
Thu Dec 10, 2020 7:26 pm
Forum: Announcements
Topic: SwordfishICC V1.2.0.7 update for Swordfish V2.2.3.6
Replies: 0
Views: 995

SwordfishICC V1.2.0.7 update for Swordfish V2.2.3.6

ICC v1.2.0.7 update fixes an issue with const data/string access generating ASM error: 'Symbol not previously defined (NVMEN)' (for 18FxxQ10 device family) See "Swordfish V2.2.3.6 ICC update V1.2.0.7" on the User Modules wiki page or download ICC update V1.2.0.7 Unzip the file and run either SF_ICC1...
by Jerry Messina
Thu Nov 26, 2020 12:43 pm
Forum: Compiler
Topic: SF 2.2.3.6 and 18FxxQ84 CONFIG
Replies: 2
Views: 548

Re: SF 2.2.3.6 and 18FxxQ84 CONFIG

Thanks. I was glad to see that it could be done.

I think SF may be the first (perhaps only!) third-party BASIC compiler to support these new parts.
by Jerry Messina
Tue Nov 24, 2020 1:12 pm
Forum: General
Topic: interested in new device support?
Replies: 12
Views: 1504

Re: interested in new device support?

just fyi - V2.2.3.6 provides support for these new devices.
by Jerry Messina
Tue Nov 24, 2020 1:10 pm
Forum: Compiler
Topic: SF 2.2.3.6 and 18FxxQ84 CONFIG
Replies: 2
Views: 548

SF 2.2.3.6 and 18FxxQ84 CONFIG

The recent v2.2.3.6 update includes support for a number of new devices, including the Q83/Q84 families. Just a heads up - these devices have some quirks with their CONFIG settings... they have more config registers than mpasmx can handle (it's limited to 16 registers... past that and it blows up). ...
by Jerry Messina
Tue Nov 24, 2020 10:22 am
Forum: Announcements
Topic: Online update - 23-11-2020 - v2.2.3.6
Replies: 0
Views: 856

Online update - 23-11-2020 - v2.2.3.6

There is a new compiler update (2.2.3.6) available for registered users. Download: http://www.mecanique-web.co.uk/downloads/swordfish-si.exe and enter your activation key to install. You can view a list of changes here: https://www.sfcompiler.co.uk/wiki/pmwiki.php?n=Swordfish.VersionHistory For SE v...
by Jerry Messina
Thu Nov 12, 2020 3:01 pm
Forum: General
Topic: interested in new device support?
Replies: 12
Views: 1504

Re: interested in new device support?

I agree, that's probably the right way to do it, but that's a boatload of work! In the meantime, I have mpasmx assembling for all the new chips that it didn't support (Q83, Q84, Q40, and Q41), so I just have to create devices files (and add some library support) and it should be good to go with SF. ...
by Jerry Messina
Thu Nov 05, 2020 1:01 pm
Forum: General
Topic: interested in new device support?
Replies: 12
Views: 1504

interested in new device support?

There have been a number of new devices released recently that are no longer supported by the existing tools since mchip dropped support for MPASM, including the Q83/Q84 and the 14/20-pin Q40/Q41 families. I've been looking into extending MPASM to work with these devices and so far it looks promisin...
by Jerry Messina
Sat Oct 10, 2020 1:18 pm
Forum: Announcements
Topic: SwordfishICC V1.2.0.5 update for Swordfish V2.2.3.5
Replies: 0
Views: 957

SwordfishICC V1.2.0.5 update for Swordfish V2.2.3.5

An update is available to fix an issue for Q10/Q43 devices.

See "SwordfishICC V1.2.0.5 update for Swordfish V2.2.3.5" on the User Modules wiki page
https://www.sfcompiler.co.uk/wiki/pmwik ... er.Modules
by Jerry Messina
Wed Sep 30, 2020 1:59 pm
Forum: IDE
Topic: UMC Build Error
Replies: 17
Views: 1259

Re: UMC Build Error

Thanks for checking that out.

Just fyi... the intosc of the K42 should be accurate enough for serial use in most cases (spec is 2% over range 0-60degC)
That'll let you run up to 64MHz
by Jerry Messina
Sun Sep 27, 2020 9:08 pm
Forum: IDE
Topic: UMC Build Error
Replies: 17
Views: 1259

Re: UMC Build Error

I normally uncheck 'Case Sensitive' and set 'Processor' to 'default'
Clipboard01.jpg
Clipboard01.jpg (52.44 KiB) Viewed 358 times
If there are any error messages it'll produce a .ERR file with the line number + message.
It also produces a .O file (which you don't need)
by Jerry Messina
Wed Sep 23, 2020 11:25 am
Forum: IDE
Topic: UMC Build Error
Replies: 17
Views: 1259

Re: UMC Build Error

Thanks, Gav. One other thing... I only tested this using the internal osc (I'm too lazy to go find my other dev boards), so if anyone has problems using an external xtal let me know. It's supposed to switch the config settings for you based on '#define intosc' but I didn't check to see if I got thos...