simple pic18Fxxx programmer

Started by Naveen in Piclist15 years ago 1 reply

Hello, I had been a PIC16F87x user all these years and trying to switch over to the PIC18 series. I'm looking for a free & simple...

Hello, I had been a PIC16F87x user all these years and trying to switch over to the PIC18 series. I'm looking for a free & simple programmer hardware + software combo for this PIC. The software at www.ic-prog.com seemed ok at first, but one can notice that the config bits are


"Production" ICSP Programmer

Started by Dave Moore in Piclist14 years ago 8 replies

Hate to do it, but I'm looking for opinions on "production" programmers for PIC18 flash devices. I've looked through the archives...

Hate to do it, but I'm looking for opinions on "production" programmers for PIC18 flash devices. I've looked through the archives and web pages, found a few things, but not enough for me to say "that's the one." I'm looking for something that the young technician can us


Re: mul 24by16

Started by Eirik Karlsen in Piclist14 years ago 3 replies

Hi, anyone have a good PIC17/PIC18 (mulwf) signed or unsigned 24by16 multiply routine? I've tried some of those in AN617 but they...

Hi, anyone have a good PIC17/PIC18 (mulwf) signed or unsigned 24by16 multiply routine? I've tried some of those in AN617 but they are flawed. -- ******************************************* VISIT MY HOME PAGE: < http://


PIC18 CCP

Started by Eirik Karlsen in Piclist13 years ago 2 replies

Hi, I think I have the answer to this question but I ask just to be sure. PIC18F4520: I need to: Output two 8bit PWM 's (50Hz -...

Hi, I think I have the answer to this question but I ask just to be sure. PIC18F4520: I need to: Output two 8bit PWM 's (50Hz - 100's Khz usable) Measure one PWM input (500uS - 100mS) Measure two FRQ inputs (5Hz - 5Khz) All of these must be done repeatedly at a minimum of 20Hz.


PIC18 RB pullups ?

Started by Eirik Karlsen in Piclist12 years ago 1 reply

PIC18242 has internal pullups on RB but from the datasheet it seems that they only pertain to inputs. How about when RB is an all outputs ? Do...

PIC18242 has internal pullups on RB but from the datasheet it seems that they only pertain to inputs. How about when RB is an all outputs ? Do I have to use external pullups for driving 1mA loads or are the RB outputs real totem pole ? The datasheet is not clear on this. -- ******************************************* VISIT MY HOME PAGE: LAST


W and WREG

Started by Eirik Karlsen in Piclist14 years ago 4 replies

Hi, PIC18 and MPASM: what is the thing about W and WREG ? Are those labels not 100% compatible? The following lines: SUBWF...

Hi, PIC18 and MPASM: what is the thing about W and WREG ? Are those labels not 100% compatible? The following lines: SUBWF MCI,WREG SUBWF LIMSTAT,WREG ANDWF LIMPSTORE,WREG all generate the compiler warning "Argument out of range. Least significant bits u


TBLPTR bug in MPLAB

Started by Eirik Karlsen in Piclist14 years ago 1 reply

Seems like MICROCHIP can't make up their mind on whether the PIC18 TBLPTR is 21 or 22 bits wide... some places in the datasheet it...

Seems like MICROCHIP can't make up their mind on whether the PIC18 TBLPTR is 21 or 22 bits wide... some places in the datasheet it says it is 21bits, other places it says 22bits. I'm having trouble simulating this stuff. The datasheet


Erasing Config Bits

Started by Eirik Karlsen in Piclist14 years ago

Is it correct that if the processor (PIC18) is to self program the config bits it must first erase them (to FF), and then program...

Is it correct that if the processor (PIC18) is to self program the config bits it must first erase them (to FF), and then program the required bits to '0' ? This is the way it works for the Low ID bytes at 0x200000. And does the processor read the config bits only at start-up


0 "Memory Types"

Started by AMIT KAPOOR in Piclist14 years ago

In the microchip website ..in pic 18 selection tree: microcontrollers--->product family> pic18 OR see the following URL: ...

In the microchip website ..in pic 18 selection tree: microcontrollers--->product family> pic18 OR see the following URL: http://micro


MPLAB C18 compiler student version

Started by Alan Marconett in Piclist10 years ago 3 replies

Anyone familiar with the MPLAB C18 compiler student version? I'm trying to compile the 696 example. I did get it to compile by simply executing...

Anyone familiar with the MPLAB C18 compiler student version? I'm trying to compile the 696 example. I did get it to compile by simply executing the .BAT file in the directory. MPLAB couldn't seem to do it. I think it has something to do with the command line -p option. The batch file doesn't use it. I also attempted to modify the C file and linker file to compile for a PIC18


Operation btfss with a binary number in the second operand?

Started by purp...@gmail.com in Piclist9 years ago 2 replies

I'm looking at a chunk of disassembled code for a PIC18 micro controller (PIC18LF4320, to be exact) below i2c_handler: bcf PIR1, 3,...

I'm looking at a chunk of disassembled code for a PIC18 micro controller (PIC18LF4320, to be exact) below i2c_handler: bcf PIR1, 3, ACCESS movlw b'101101' andwf SSPSTAT, w, ACCESS movlb 0 movwf SSPSTAT_val, BANKED movf SSPBUF, w, ACCESS movwf byte_DATA_61, ACCESS btfss SSPCON1, b'110', ACCESS bra loc_MEM_Program_7A8 bcf SSPCON1, b'110', ACCESS return 0 The command btfss tests a...