Forums Search for: PIC18
pic18f67j90 emulato
ini want to join this group as i am doing a project based on this pic18f67j90microcontroller. right now sir i want to know weather there is...
i want to join this group as i am doing a project based on this pic18f67j90microcontroller. right now sir i want to know weather there is emulator for this microcontroller in the market and if it can be available in INDIA . thank you sir .
USB bus powered PIC32 issues ?
inWhile we are talking about Microchip, has anyone tried using the PIC32 as a USB bus powered device in your own circuits and did you have any...
While we are talking about Microchip, has anyone tried using the PIC32 as a USB bus powered device in your own circuits and did you have any issues as result ? It's on my todo list in the upcoming future, so I am trying to find any possible issues upfront. I've done some searching online but I keep hitting stuff for the PIC18 or even the PIC24 instead. I have not found anything explicit ...
Which PIC18 C Compiler?
inHello, I currently have an ICD2 from Microchip. I use it to develop PIC16 code using the MPLAB debugger and assembler. I need to move to the...
Hello, I currently have an ICD2 from Microchip. I use it to develop PIC16 code using the MPLAB debugger and assembler. I need to move to the PIC18 parts and C language, but I am struggling figure out the development tools to get. Do you have any experience with the CCS compiler running with MPLAB and ICD2? ($175 solution) Thanks, Talal
PIC18 transistor LED drivers
inHappy Halloween! Last year I built a collection of plywood pumpkins to stick in the yard on Halloween night. I installed superbright LED's in...
Happy Halloween! Last year I built a collection of plywood pumpkins to stick in the yard on Halloween night. I installed superbright LED's in the eyes, nose, mouth, etc and was pretty pleased with the results. This year I want to animate the LED's. I bought a DLP-245PL which uses a PIC18LF8720 to drive it's digital I/O. I need a simple transistor circuit to drive each LED. There's a...
PIC18 Timer2 weirdness
inHi, I'm seeing something unexpected in the running time of a Timer2 based delay loop. With the combined prescale, period, and postscale,...
Hi, I'm seeing something unexpected in the running time of a Timer2 based delay loop. With the combined prescale, period, and postscale, should be setting TMR2IF at 500Hz? I expect the polling loop below to fall out after approx 2ms. But it's taking closer to 3.8ms* and I can't think of an explanation. Part is PIC18F6680, Fosc = 40 MHz. ; THIS DOESN'T WORK... ; Timer2 input = Fosc/4 ...
Strange behaviour in PIC18 interrupt
inI am using a PIC18F4320 and have been trying to solve a very strange problem.. I have configured an interrupt using Timer1 which fires every...
I am using a PIC18F4320 and have been trying to solve a very strange problem.. I have configured an interrupt using Timer1 which fires every 1ms. In that interrupt an ascii character gets sent, and is incremented, every time. Also, every 79 interrupts another section of the code gets executed, which just sends a '%' and resets the ascii code to '1'. Nothing else is going on AT ALL in the...
PIC18 Branch, simple question.
inI'm a beginner using assembler on PIC18 and I try to understand the Branch (BRA) instruction. The Manual says that the parameter used with BRA...
I'm a beginner using assembler on PIC18 and I try to understand the Branch (BRA) instruction. The Manual says that the parameter used with BRA is ADDED to the Program Counter (PC), but trying this with simple code makes me thing that the parameter overwrites PC instead. PC = 0xBE BRA 4h This should add 4 + 2 to PC but the PC actually jumps to 0x4! Am i interpreting the manual wrong?...
PIC18 Interrupts
inHello all. I'm a newbie in the realm of micro programming. I'm using MPLAB C18 with the PIC18F452 and PICDEMO 2 Plus board. I can't, for the...
Hello all. I'm a newbie in the realm of micro programming. I'm using MPLAB C18 with the PIC18F452 and PICDEMO 2 Plus board. I can't, for the life of me, figure out how to do an interrupt routine! I've used the buzzer interrupt sample that came with the ICD2 software, but have been unable to modify it to suit my needs. What I want to do is wait for a button to be pressed to start my rout...
C Compiler comparison for PIC18?
inDoes anyone out there know about a decent c compiler which targets the pic18 family? So far, I played with the Sourceboost C compiler and the...
Does anyone out there know about a decent c compiler which targets the pic18 family? So far, I played with the Sourceboost C compiler and the Microchip C18 compiler, I'm happy with none of these, am willing to spend some money on something really good, but won't waste my time on buying and trying... -- Grinnikend door het leven...
Need schematic to make programmer for PIC18 family PICs
inI would like to build my own programmer for Microchip PICs. There are many schematics on the Internet available but I can't seem to find exactly...
I would like to build my own programmer for Microchip PICs. There are many schematics on the Internet available but I can't seem to find exactly what I want. What I would like is something that provides all (or most) of the following functions: * Can program PIC18 family of devices (or all of the major PIC families if possible) * In-circuit programming (not debugging): the electronics us...
Need schematic to make programmer for PIC18 series
inI want to build my own hardware programmer to program the Microchip PIC18 series of devices. I want to use the parallel port or possibly the USB...
I want to build my own hardware programmer to program the Microchip PIC18 series of devices. I want to use the parallel port or possibly the USB port. I don't want to use the serial port because they are now obsolete and no longer ship on newer computers. USB-to-Serial adapters cannot be used because programmers like IC-Prog and WinPic cannot work with these "virtual" serial ports - they need...
Microchip in Space
inMicrochip, in cooperation with NASA, has launched SuitSat-1, based on the PIC18 microcontroller. Actually, it's a pretty cool embedded systems...
Microchip, in cooperation with NASA, has launched SuitSat-1, based on the PIC18 microcontroller. Actually, it's a pretty cool embedded systems project... http://Microcontroller.com/news/microchip_SuitSat1_NASA.asp Regards, Bill Giovino Executive Editor http://Microcontroller.com
Microchip Announces New 48MHz PIC18 Microcontrollers with USB 2.0
inThey're not kludged serial interfaces, they've got USB 2.0 as native peripherals. There's also a 10-bit...
They're not kludged serial interfaces, they've got USB 2.0 as native peripherals. There's also a 10-bit A/D. http://Microcontroller.com/news/Microchip_PIC18_USB2.asp Regards, Bill Giovino Executive Editor http://Microcontroller.com
pic18 self-checking tests code wanted
inHi, I have written a VHDL model of a pic18 micro, and I have written self test code which has run correctly in an FPGA implementation. I am...
Hi, I have written a VHDL model of a pic18 micro, and I have written self test code which has run correctly in an FPGA implementation. I am looking for additional test code to run on the model to verify that it is operating correctly. Thanks, Scott L Baker
pic18 questions
ina) CONFIG/CBLOCK directive: I don't know what these directives do b) retfie dt; this is a Pic18 instruction. But, mplab uses only "retfie"....
a) CONFIG/CBLOCK directive: I don't know what these directives do b) retfie dt; this is a Pic18 instruction. But, mplab uses only "retfie". Is it equivalent to "retfie 0"? If I comment these directive, then my files are compiled. But, the hex files are not same. Also, mplab generated hex files are not in previous (pic16fx) format. The header is in previous format. But, the body is bro...
Interrupts on a PIC18
Ok, I THOUGH I was following the C18 compiler User guide to a T, but I am having trouble getting the interrupts to work right. I am working...
Ok, I THOUGH I was following the C18 compiler User guide to a T, but I am having trouble getting the interrupts to work right. I am working with a PICDEM HPC, which has a 18F8722 as the main chip, I am just trying something simple to get an understanding of their interrupt system. The HPC demo board has 8 LEDs on PortD, the code powers every other LED 1010 1010. When I don't include t...
PIC18 Pseudo-Instructions
inHi. Can anyone advise please? I'm migrating code from a base device to a PIC18Fxxx. No real problems except the original code uses...
Hi. Can anyone advise please? I'm migrating code from a base device to a PIC18Fxxx. No real problems except the original code uses Pseudo-Instructions and I can't find equivalent(s) for the higher-end devices. Do they exist for the 18F parts or do I have to take say, CLRC and use BCF STATUS,C instead? Cheers, Simon
UCOS-II port
inI am looking for UCOS-II port for PIC18 (compiler: HTSOFT PIC18). Can anyone point me one? The port for PIC18 I found from micrium.com doesn't...
I am looking for UCOS-II port for PIC18 (compiler: HTSOFT PIC18). Can anyone point me one? The port for PIC18 I found from micrium.com doesn't work. Thanks a lot. Time
Embedded Systems Class Question
inIn March, I'll be teaching a class called Embedded Systems. The text (which I don't have yet) will use the PIC18???? chip and a free windows IDE...
In March, I'll be teaching a class called Embedded Systems. The text (which I don't have yet) will use the PIC18???? chip and a free windows IDE that uses the C language. I'd like my students to be required to subscribe to and participate in related groups. Besided here, what other groups would be appropriate?
SAsmE - OpenSource Smart Asm Editor for PIC18 Asm
inHi all, i just released my first version of SAsmE, it's a cross platform smart editor (with syntax highlighting too of course) for PIC18 Asm...
Hi all, i just released my first version of SAsmE, it's a cross platform smart editor (with syntax highlighting too of course) for PIC18 Asm with a very nice feature: it can translate brain-struggling asm code into human readable pseudo-code just pressing "Control-Space"... for example code such as ----------------------------- movlw UPLOAD_CHUNK_SERIE movwf bl_counter2,A movlw BL_RAM_BAN...