Search found 82 matches
- Thu Apr 14, 2011 5:49 pm
- Forum: Compiler
- Topic: CDC and timer interrupt
- Replies: 20
- Views: 12174
Jerry, Those two links were pretty much what I have found. Anyway I put your MACROS in a module and included in the main and it work great. :) I also put them in after the Dim's but before the interrupt and it work there as well. :) I guess what my previous question was, was how and where to put the...
- Thu Apr 14, 2011 3:08 pm
- Forum: Compiler
- Topic: CDC and timer interrupt
- Replies: 20
- Views: 12174
Jerry, I am too looking forward to your consolidated version of the USB libs. Also, you mention that you are porting the MCHP HID bottloader to SF. All I can say to that is, that's awesome and you are a huge asset to the SF community. Now to the 16 bit Timer load issue. Your second explanation is ve...
- Wed Apr 13, 2011 9:18 pm
- Forum: Compiler
- Topic: CDC and timer interrupt
- Replies: 20
- Views: 12174
Thanks Jerry, Both interrupts are now working as they should. Part of my problem was, I was using the CDC3 demo as a starting point and timer INT did not work in with it. I switched to the CDC1 and it works just fine, thanks again. My Timer0 seems to load the 16 bit word without any problems, not su...
- Wed Apr 13, 2011 4:06 pm
- Forum: Compiler
- Topic: CDC and timer interrupt
- Replies: 20
- Views: 12174
Well almost there. I added this INTCON2 = %00000000 ' IPR1 = %00000000 ' all others low priority IPR2 = %00000100 ' USB is high priority RCON.7 = 1 ' Enables priority levels of interrupts Now the USB CDC functions even when the timer is activated. But the timer interuupt only seem to be call when da...
- Wed Apr 13, 2011 2:43 pm
- Forum: Compiler
- Topic: CDC and timer interrupt
- Replies: 20
- Views: 12174
Jerry, I am using the 14K50 but it stops working on the 18F2455 as well. Yes, the CDC module defaults to the USB_SERVICE= true. Here is my set up procedure // Sub Procedures Sub ActivateTimers() TMR0 = TimerValue ' Setup Timer 0 T0CON = %10000001 ' Enable TMR0 to 16 bits, int. Clock ' Prescalar 4 Ti...
- Wed Apr 13, 2011 12:49 am
- Forum: Compiler
- Topic: CDC and timer interrupt
- Replies: 20
- Views: 12174
CDC and timer interrupt
Has anyone gotten a timer interrupt to work with USB CDC module. The reason I ask is the CDC works fine by itself and a timer interrupt also works fine by itself, but when they are combined neither work. The program is pretty basic. All it does is echo back what you send it until, a certain string i...
- Tue Mar 22, 2011 2:06 am
- Forum: Compiler
- Topic: First post
- Replies: 10
- Views: 5342
Welcome Miles,
Check out David's program here http://www.sfcompiler.co.uk/wiki/pmwiki ... temConvert
It will generate new includes and bas files for the newer PIC chips.
You will need one of the later version MPLAB that support those chips.
Good luck,
Keith
Check out David's program here http://www.sfcompiler.co.uk/wiki/pmwiki ... temConvert
It will generate new includes and bas files for the newer PIC chips.
You will need one of the later version MPLAB that support those chips.
Good luck,
Keith
- Sun Mar 06, 2011 7:05 pm
- Forum: General
- Topic: Licence question
- Replies: 5
- Views: 4397
Francis, To answer question number one. No you were not naughty, and you were allowed to use SF on any machine as long as you had the license dongle. Number 2, I can't speak for David but if you PM him about your machine he may be accommodating Also once you have updated to the lastest versions (sin...
- Mon Jan 17, 2011 1:39 pm
- Forum: Modules
- Topic: 18F46J50 - USB HID NOT WORK!! (RESOLVED)
- Replies: 10
- Views: 7264
- Sat Jan 15, 2011 6:53 pm
- Forum: Modules
- Topic: 18F46J50 - USB HID NOT WORK!! (RESOLVED)
- Replies: 10
- Views: 7264
mdb80, This PIC may work as a USB device with Swordfish but a few of the library files need to be edited (Modified). This is what make Swordfish excellent compare to other basic compilers. All the libraries are open soucre so they can be modified to allow users to make newer PIC's function just as t...
- Tue Nov 02, 2010 1:01 pm
- Forum: IDE
- Topic: Online Updates... option is greyed is greyed out
- Replies: 3
- Views: 3386
Garry,
I think you need to be a registered user to get the latest round of updates for Swordfish (2.2.0.4).
To register look at this link http://www.sfcompiler.co.uk/forum/viewtopic.php?t=1322
For the work PC adminstator problem, maybe you can PM David and he suggest a solution.
Keith
I think you need to be a registered user to get the latest round of updates for Swordfish (2.2.0.4).
To register look at this link http://www.sfcompiler.co.uk/forum/viewtopic.php?t=1322
For the work PC adminstator problem, maybe you can PM David and he suggest a solution.
Keith
- Wed Oct 13, 2010 3:17 pm
- Forum: IDE
- Topic: Updates... password?
- Replies: 11
- Views: 7128
- Wed Oct 06, 2010 4:20 pm
- Forum: Compiler
- Topic: Latest Chips and Modules
- Replies: 2
- Views: 2132
Ryan,
Check out David's reply to this post.
http://www.sfcompiler.co.uk/forum/viewtopic.php?t=1288
He has posted a link to SF's convert program for making includes for new PICs, if they are supported by MPLAB.
Keith
Check out David's reply to this post.
http://www.sfcompiler.co.uk/forum/viewtopic.php?t=1288
He has posted a link to SF's convert program for making includes for new PICs, if they are supported by MPLAB.
Keith
- Fri Sep 10, 2010 4:28 pm
- Forum: General
- Topic: Welcome Back!
- Replies: 14
- Views: 10544
- Sat Jul 17, 2010 6:16 pm
- Forum: Compiler
- Topic: Unable to get 18F14K22 to start up
- Replies: 5
- Views: 5302
blackcattech, Checkout this post over at PDS http://www.picbasic.org/showthread.php/60842-18F13K22-and-PIKIT2-round-2-new-info It appears Ryan has figured it out at post #5, Bit 7 of Config4L needs to be set to a 1 in the PICKIT2 programming utility. Hopefully it will work when that is changed. Did ...