Search found 82 matches
- Mon Mar 08, 2010 3:35 am
- Forum: Compiler
- Topic: USB and 14K50 or 13K50
- Replies: 4
- Views: 3822
USB and 14K50 or 13K50
Has anyone successfully used the USB module with either of those PIC's?
- Thu Oct 29, 2009 2:12 pm
- Forum: Compiler
- Topic: 18f2550 and PortE
- Replies: 6
- Views: 4193
madru, Here is a program written for the 18F2455 it is the little brother of the 18F2550 (I do not have a 18F2550). Anyway here is the program and it works. { ***************************************************************************** * Name : Test_RE3.BAS * * Author : [select VIEW...EDITOR OPTION...
- Wed Oct 28, 2009 12:17 am
- Forum: Compiler
- Topic: 18f2550 and PortE
- Replies: 6
- Views: 4193
madru,
Try adding this in the P18F2550.inc
There is no PORTD in this PIC so it is not needed.
If this is no help, could you post some code?
RKP
Try adding this in the P18F2550.inc
Code: Select all
; SYSTEM PORTS...
PORTE EQU 0X0F84 ; Add this
PORTC EQU 0X0F82
PORTB EQU 0X0F81
PORTA EQU 0X0F80
If this is no help, could you post some code?
RKP
- Tue Oct 27, 2009 12:45 pm
- Forum: Compiler
- Topic: 18f2550 and PortE
- Replies: 6
- Views: 4193
- Wed Sep 30, 2009 1:44 am
- Forum: Compiler
- Topic: 18F25 K20 versus 26K20 odd things
- Replies: 11
- Views: 9576
- Wed Sep 16, 2009 10:01 pm
- Forum: Compiler
- Topic: 18F25 K20 versus 26K20 odd things
- Replies: 11
- Views: 9576
Francis, I just thought it was odd that it worked for 18F25k20 and not 18F26k20. So I looked at each PIC's ".bas" in the include directory to see if there are any differences. #variable _maxaccess and #const _ram_banks were different. Then I looked at the data sheet in section 5.0 MEMORY ORGANIZATIO...
- Wed Sep 16, 2009 3:52 pm
- Forum: Compiler
- Topic: 18F25 K20 versus 26K20 odd things
- Replies: 11
- Views: 9576
Francis, Open this file located in the Swordfish\Includes "18F26K20.bas" with your favorite text editor. Then change this line from: #variable _maxaccess = $80 // access ram is 128 bytes To: #variable _maxaccess = $60 // access ram is 96 bytes Save the file, close Swordfish if it was open. Reopen Sw...
- Wed Aug 12, 2009 3:12 am
- Forum: Compiler
- Topic: PIC18F14K50 and USB
- Replies: 11
- Views: 14341
RD, I could not get your code to compile as well. Even a simple blink code will not compile without errors. But I think I know the problem. You need a newer version of the MPASMWin.exe that is located in the Bin folder. On my computer I have MPLAB v8.0 (it is not the latest but) copy MPASMWin. exe f...
- Wed Apr 08, 2009 4:23 pm
- Forum: General
- Topic: Regarding interfacing with USB via VB6
- Replies: 6
- Views: 5735
Liak,
I found it on the Wiki site here is the link http://www.sfcompiler.co.uk/wiki/pmwiki ... er.Plugins
Have fun,
RKP
I found it on the Wiki site here is the link http://www.sfcompiler.co.uk/wiki/pmwiki ... er.Plugins
Have fun,
RKP
- Wed Dec 17, 2008 2:33 pm
- Forum: Compiler
- Topic: OW example
- Replies: 20
- Views: 9274
Hi Charlie, Here is some code that woked for me a while back. This one use the UART and it is for 18F4520. // This program measure the temp from a DS18S20 temp sensor on a // EasyPic4 demo borad and sends it to the PC via the USART Device = 18F4520 Clock = 8 // import modules... Include "DS18S20.bas...
- Wed Aug 13, 2008 2:25 pm
- Forum: Modules
- Topic: Strange issue with ADC.Read blocking on 18F4553 (12-bit A2D)
- Replies: 3
- Views: 3741
Marc, You need to open the 18F4553.bas from the include folder and edit this line then save it. From: #const _adc = $05 // 5 ADC channels available To: #const _adc = $0D // 13 ADC channels available I have seen this a few times with the A/D modules when the include files do not match the data sheet ...
- Mon Jul 28, 2008 3:57 pm
- Forum: Compiler
- Topic: 18F26K20 Compile Troubles
- Replies: 9
- Views: 5032
- Fri Jul 11, 2008 10:51 am
- Forum: Modules
- Topic: adc on PIV 18f2553
- Replies: 6
- Views: 5059
- Fri Jul 11, 2008 3:16 am
- Forum: Modules
- Topic: adc on PIV 18f2553
- Replies: 6
- Views: 5059
speed64, Check out this post http://www.sfcompiler.co.uk/forum/viewtopic.php?t=438&highlight= Like you I had a problem with the ADC but on the PIC18F2455. Changing the lines in 18F2553.bas from: #const _adc = $05 // 5 ADC channels available to: #const _adc = $0A // 10 ADC channels available may solv...
- Thu Jan 24, 2008 4:26 pm
- Forum: Compiler
- Topic: USB stops if SPI is used
- Replies: 9
- Views: 4896