EmbeddedRelated.com
The 2024 Embedded Online Conference

PIC (Microchip) assembler syntax query

Started by bruce varley in comp.arch.embedded18 years ago 4 replies

Hi, Maybe deserves an RTFM response, but I've just spent an hour on this with no success. I appear to be trying what the various advice...

Hi, Maybe deserves an RTFM response, but I've just spent an hour on this with no success. I appear to be trying what the various advice notes suggest, but it isn't working. I'm declaring data memory space (starts at 0x20), up to now have been doing it clunkily as follows: REG1 EQU 0x20 REG2 EQU 0x21 But with other platforms one usually declares the locations themselves, as ...


olimex PIC-ICD2

Started by fred in comp.arch.embedded19 years ago 1 reply

After getting my feet wet with a small photovore robot, now i want to experiment some more. Previously I was using a crude programmer that i...

After getting my feet wet with a small photovore robot, now i want to experiment some more. Previously I was using a crude programmer that i built myself, but i'd really like some debugging features. Sparkfun has the olimex PIC-ICD2 ( a drop in replacement for the Microchip In-Circuit-Debugger 2 (ICD2)) for about $95.. Does anyone have any experience with this product? Does it work as...


Real Time Clock Code (RTC) for PIC family

Started by tomcee in comp.arch.embedded13 years ago 51 replies

Hello: What is the latest RTC code anyone could recommend for the PIC (16f) family? My requirements are simplicity and low power, with LCD...

Hello: What is the latest RTC code anyone could recommend for the PIC (16f) family? My requirements are simplicity and low power, with LCD display and perhaps RS232 interface. Is the Microchip AN582 as good as it gets? Thanks, TomC


getting started on C programming on PIC16F628A, PIC16F690, OR PIC18F2620

Started by ssylee in comp.arch.embedded17 years ago 4 replies

I'm trying to get started with C programming on either one of the PIC microcontrollers in MPLAB IDE using C18 compiler (or any other C compiler...

I'm trying to get started with C programming on either one of the PIC microcontrollers in MPLAB IDE using C18 compiler (or any other C compiler that Microchip makes), however, I'm having some trouble drafting a source code that has, for example, LEDs flashing or display a "Hello World" message through printf() and in such fashion that I can see it on a host computer. Does anyone know any good...


Which PIC18 C Compiler?

Started by Talal Itani in comp.arch.embedded17 years ago 87 replies

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

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


ENC28J60 layout

Started by karun_sriram in comp.arch.embedded17 years ago 6 replies

Hello, I'm a new bee to PCB design and trying to layout ENC28J60. I didn't find any layout rules for the device in microchip website. Can...

Hello, I'm a new bee to PCB design and trying to layout ENC28J60. I didn't find any layout rules for the device in microchip website. Can anyone share what rules need to be followed for routing? If you have image of design which has been already routed, it will be helpful. Regards, Sriram


DIY PIC programmer (16F88)

Started by Damn Dan in comp.arch.embedded17 years ago 18 replies

I've been working on a PIC programmer for my 16F88. So far I've met a mild degree of success, but I've run into a strange roadblock. I...

I've been working on a PIC programmer for my 16F88. So far I've met a mild degree of success, but I've run into a strange roadblock. I think it may have something to do with my reset routine. The Microchip documentation is... well... lacking, to put it generously. I've used the 16F88 Programming Specification document up until now, but I'm finding it more and more difficult to uncover spe...


dsPIC 1024 or 2048 FFT?

Started by Thomas Magma in comp.arch.embedded16 years ago 3 replies

Hello, I'm programming a dsPIC33 that has 16384 bytes of RAM. I'm trying to figure out if I can do a 1024 or 2048 FFT with this device. The...

Hello, I'm programming a dsPIC33 that has 16384 bytes of RAM. I'm trying to figure out if I can do a 1024 or 2048 FFT with this device. The code examples and twiddle factors provided from Microchip only allow lengths up to 512. Does anyone know if longer length FFTs are possible on the dsPIC33? Thanks, Thomas Magma


MPLAB IDE v7.10 [Logic Analyzer]

Started by Thomas Magma in comp.arch.embedded19 years ago 1 reply

Wow!! What a difference from the old Microchip simulator. The speed improvement is night and day, and the new logic analyzer is very...

Wow!! What a difference from the old Microchip simulator. The speed improvement is night and day, and the new logic analyzer is very handy. I'm having a few problems with the Logic Analyzer settings though. The triggering doesn't really make sense to me and it won't let me enter anything into the Trigger PC test box. Also it only has one selection for the Time Base but the documentation say...


implementing ethernet server on FPGA or other choices

Started by Anonymous in comp.arch.embedded16 years ago 5 replies

i have to build a weather station. the data from the sensors is to be transmitted via ethernet and IP protocols.. i couldnt really reach a...

i have to build a weather station. the data from the sensors is to be transmitted via ethernet and IP protocols.. i couldnt really reach a decision on which of these develpoment tools should i use.. or which one is better..? 1. FPGA 2. PIC18F + EN28J60+eeprom ( all from microchip) 3. microntroller with built in ethernet controller OPTION1: its a college project, so FPGA's are readily ...


Next generation products - microprocessor family

Started by Gian in comp.arch.embedded18 years ago 21 replies

Hi all, we're trying to solve a complicated task. We have to choose uP' family for our next generation's products. Since now we disperse a...

Hi all, we're trying to solve a complicated task. We have to choose uP' family for our next generation's products. Since now we disperse a lot of energy (and money of course) in different system equipped with: - infineon C167CRLM - fujitsu MB90545 - various microchip - some atmel (AVR) - some TI (don't remember partname) Mine product are something like PLC. To be more precise, produ...


Microchip Pic32 exception: ???

Started by Claude in comp.arch.embedded12 years ago 10 replies

Hi. I'm trying to understand the Pic32 (a decade of familiarity with Pic16 and Pic18). I got myself an Ethernet Starter Kit. The demos run,...

Hi. I'm trying to understand the Pic32 (a decade of familiarity with Pic16 and Pic18). I got myself an Ethernet Starter Kit. The demos run, and I have been able to edit them. So I tried to get two stacks working together. I then proceeded merging the TCPIP demo and the USB MSD demo. The latter just looks for a pendrive and when it sees it a simple text file gets written. The TCPIP integ...


regarding DAC in dsPIC33FJ128GP802

Started by bharath reddy sareddy in comp.arch.embedded14 years ago

hi frds im using dsPIC33FJ128GP802 for my application im trying with ADC-DAC loop back as intial step. my ADC is working finely but i have a...

hi frds im using dsPIC33FJ128GP802 for my application im trying with ADC-DAC loop back as intial step. my ADC is working finely but i have a strange problem with DAC.......... intially data register(DAC1RDAT) is loading with default value and then always it is going to zero.............. i have tried with the example given by microchip also.....it is also giving the same problem i m not...


PicForth 1.0 is released

Started by Anonymous in comp.arch.embedded19 years ago 37 replies

PicForth 1.0 has been released today. PicForth is a Forth cross-compiler running on Unix hosts (tested on FreeBSD) and targetting the Microchip...

PicForth 1.0 has been released today. PicForth is a Forth cross-compiler running on Unix hosts (tested on FreeBSD) and targetting the Microchip 16F8xx family of microcontrollers. PicForth 1.0 is hosted by gforth 0.6.2. For more information, please look at: http://www.rfc1149.net/devel/picforth/ PicForth 1.0 is mature and is already used in production at several places. Sam -...


linux toosl for PIC32MX development

Started by Randy Yates in comp.arch.embedded14 years ago 5 replies

Hi, I'm going to be doing some PIC32 development and I'd love to do it under linux if I'm able. We have a PIC32MX and the Microchip ICD2...

Hi, I'm going to be doing some PIC32 development and I'd love to do it under linux if I'm able. We have a PIC32MX and the Microchip ICD2 "hockey puck" JTAG. I don't care so much about an IDE - I'd rather build my stuff using emacs/gnumake. But what I need are: 1. A cross-compiler/assembler/linker that runs under linux 2. The debugger. Keep in mind we also have the MPLAB software ...


USB VID & PID

Started by Mike Perkins in comp.arch.embedded7 years ago 1 reply

I understand that some silicon vendors provide a PID on request such as Microchip, unfortunately I can't see that ST have this sort of...

I understand that some silicon vendors provide a PID on request such as Microchip, unfortunately I can't see that ST have this sort of policy. What do people do here rather than pay $5k per year for the privilege of 'owning/renting' a VID/PID combination? I have come across MCS Electronics who sell PIDs for a withdrawn VID. -- Mike Perkins Video Solutions Ltd www.videosolutions....


Re: Microchip & OnSemi want to buy Atmel?

Started by Rich Webb in comp.arch.embedded15 years ago 4 replies

On Thu, 09 Oct 2008 10:31:26 -0400, Phil Hobbs wrote: > Jasen Betts wrote: > > On 2008-10-06, Martin Brown wrote: > > > > > The...

On Thu, 09 Oct 2008 10:31:26 -0400, Phil Hobbs wrote: > Jasen Betts wrote: > > On 2008-10-06, Martin Brown wrote: > > > > > The most obvious way is not always the most efficient algorithm. Certain > > > C constructs are hell for optimising compilers. And without using lint > > > (or a similar tool) there are far too man


Microchip PICs don't come pre-installed with a bootloader firmware??

Started by Anonymous in comp.arch.embedded18 years ago 15 replies

I am just learning about Microchips's bootloader capabilites. What is not clear from any of the documentation I've read is whether the...

I am just learning about Microchips's bootloader capabilites. What is not clear from any of the documentation I've read is whether the chips with bootloading capabilities ship with the bootloader firmware installed. Some posts in this group indicate that you have to add the firmware yourself with an ICSP, which of course requires a hardware programmer and the corresponding software. This m...


18F452 RC oscillator mode

Started by SebastiaNot in comp.arch.embedded16 years ago 7 replies

I read in ( 18Fxx2 DataSheet ) > > > http://ww1.microchip.com/downloads/en/DeviceDoc/39564c.pdf that I can use a Resistor and a...

I read in ( 18Fxx2 DataSheet ) > > > http://ww1.microchip.com/downloads/en/DeviceDoc/39564c.pdf that I can use a Resistor and a Capacitor to clock the 18f452 PIC Page 18 says (including a diagram) : Recommended values:3 k=A6=B8 =A1=DC REXT =A1=DC 100, CEXT > 20pF But there is not place I can find the achieved clocking related to those values. Any clue ? Sebastian.


C program flow control - Very Basic Question.

Started by Royston Vasey in comp.arch.embedded14 years ago 35 replies

I've got a very basic question guys, I'm teaching myself C using Microchip's C18 compiler. I've got my main loop running, looking for...

I've got a very basic question guys, I'm teaching myself C using Microchip's C18 compiler. I've got my main loop running, looking for certain conditions to occur, receiving a serial command & processing it. I need to monitor a few things for a time out condition, to do this I'm pre-loading Timer1 with the required values and when the timer overflows it jumps to the relevant interru...



The 2024 Embedded Online Conference