Search found 1226 matches

by Jerry Messina
Mon Mar 01, 2021 4:39 am
Forum: General
Topic: interested in new device support?
Replies: 12
Views: 659

Re: interested in new device support?

Datasheets now rival War And Peace.

I'm not looking for anything specific, just how things go as you try various functions.
The new devices have some very different layouts.
by Jerry Messina
Tue Feb 23, 2021 1:59 pm
Forum: Compiler
Topic: Vector Interrupts
Replies: 8
Views: 1188

Re: Vector Interrupts

Well, almost a year later and I finally got around to doing an article on using vectored interrupts!

The new IVT V2.0 module in the latest update makes this much easier to setup.
There are also a few more examples and even versions of ISRRX and ISRTimer that support using them.
by Jerry Messina
Mon Feb 22, 2021 8:09 pm
Forum: Wiki Announcements
Topic: New Article: Using Vectored Interrupts with Swordfish
Replies: 1
Views: 423

New Article: Using Vectored Interrupts with Swordfish

There's a new article describing how to use Vectored Interrupts with SF and the IVT.bas module.

This goes along with the IVT V2.0 module in the latest library update.
by Jerry Messina
Mon Feb 22, 2021 8:03 pm
Forum: Announcements
Topic: Swordfish Library and Device File Update 2_22_2021
Replies: 0
Views: 13

Swordfish Library and Device File Update 2_22_2021

Swordfish Library and Device File Update 2_22_2021 This update for V2.2.3.6 has various device file and library updates, including: K83 device file updates to fix interrupt definitions updated IVT module for improved vectored interrupt support (IVT.bas V2.0) versions of ISRRX and ISRTimer for vector...
by Jerry Messina
Sat Feb 20, 2021 11:52 am
Forum: General
Topic: interested in new device support?
Replies: 12
Views: 659

Re: interested in new device support?

Great, Lee. The Q41 has a lot of features to play around with. Sounds like you have all you'll need if your chips ever make the Great Escape!. It'd be good to get some feedback once you're all setup... there's bound to be some things I've missed along the way. I have some library updates that I'll b...
by Jerry Messina
Tue Feb 02, 2021 10:57 am
Forum: Modules
Topic: SOFTWARE UART - ASM ERRORS
Replies: 3
Views: 152

Re: SOFTWARE UART - ASM ERRORS

I think I may have "cried wolf" a bit hastily! I don't think you did. Your old PC probably has an older version of the compiler. The SUART.bas in SF VERSION 2.2.3.6 - ICC 1.2.0.7 will show the error. I tried to simplify some of the include files and left out some stuff. Sorry! The attached file sho...
by Jerry Messina
Wed Jan 13, 2021 5:40 pm
Forum: General
Topic: interested in new device support?
Replies: 12
Views: 659

Re: interested in new device support?

Ruben,

If you go to "quick links" | "Members", David Barker you should be able to send a PM or email to David from there.

I don't have a phone number.
by Jerry Messina
Mon Jan 04, 2021 12:50 am
Forum: Modules
Topic: USART2 interupt
Replies: 8
Views: 183

Re: USART2 interupt

Two things... - Once you're using ISRRX then all read data has to come from the buffering in that module. Don't use UART.Read anything, you have to use the read routines in ISRRX - The ISRRX OnData event is called each time a char comes in, so you normally wouldn't try to read anything inside it. To...
by Jerry Messina
Fri Jan 01, 2021 7:37 pm
Forum: IDE
Topic: Problem with the path to the Library folder
Replies: 21
Views: 983

Re: Problem with the path to the Library folder

Forgive me if this is off-base...
You're not looking for "project.idf" are you?
If so, try looking in the same folder as your program file. Same name, different extension
by Jerry Messina
Thu Dec 31, 2020 4:51 pm
Forum: Modules
Topic: USART2 interupt
Replies: 8
Views: 183

Re: USART2 interupt

Here's an example of using the new user-defined interrupt feature of ISRRX and ISRRX2 to share a single ISR, freeing up the low-priority interrupt for other uses. // ISRRX and ISRRX2 example using a single ISR // requires ISRRX and ISRRX2 v1.3 or later device = 18F27J13 clock = 32 include "intosc.ba...
by Jerry Messina
Wed Dec 30, 2020 6:13 pm
Forum: Modules
Topic: USART2 interupt
Replies: 8
Views: 183

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: 183

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: 183

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: 983

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: 604

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...