Programming PICs in C: Resource Guide

  • Thread starter Thread starter Jammin_James
  • Start date Start date
  • Tags Tags
    Programming
AI Thread Summary
The discussion centers on programming the PIC16F690 microcontroller, with a focus on transitioning from assembly language to C. Users seek recommendations for free resources to learn PIC programming in both C and assembly. Suggestions include downloading tools from the Microchip website and considering the CC5X compiler for basic use. There are mentions of the PICkit programmer for in-circuit programming options. Additionally, there is a brief tangent regarding the limitations of general-purpose registers in PIC 16 series compared to Atmel chips.
Jammin_James
Messages
49
Reaction score
0
Hey all!

So I recently purchased a PIC16F690 for a project and I've been trying to learn the assembly language for it and it's turning into a somewhat daunting task. I've programmed in assembly before but it was with an ATMEL chip. This was about two years ago, so everything is kinda fuzzy. I've decided to try to apply what I've learned in C to this project now, since I assume it's a more general language I can use in any microcontroller project.

Is there a good, free resource I can look at to get started programming PICs in C? Maybe even a good resource of programming PICs in their assembly language.

Thanks guys!
 
Engineering news on Phys.org
Go to the Microchip web-site and download everything you need. You will need to purchase a programmer. A PicKit isn't too expensive.
 
I don't remember why but I settled on CC5X http://www.bknd.com/cc5x/ for the PIC 16F's.
Free for the basic version and seems to work fine. Microchip may have something better for the 16's -- I use their free 18F compiler -- but I ignored it.

If you are doing in-circuit programming see Microchip's PICkit's or look at sparkfun.com for some other options ICSP and not.
 
Hi all.
Iam trying to write extended kalman filter algorithm in microC (dspic) software.
My question is how to invert a matrix in that software? I have read the manual but could'nt find any command for matrix inversion.pls check out the attachment.
can anyone help me out...!
thanks in advance.
 
Hmm this is vaguely on topic but I remember the Atmel chips were easier to program in asm because of the number of registers which were freely usable.

Do the PIC 16 series only have 1 general purpose register?
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...

Similar threads

Back
Top