Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools Display Modes
Old 8th January 2009, 08:19 PM   #1 (permalink)
Unhappy Pic Programming Commands

I'm having trouble finding the all the commands that are used in the programming of a PIC 16F627A/628A. Is there somewhere I can find a more complete list of commands that are used to program PICs?
__________________
This is the way the world ends,
This is the way the world ends,
This is the way the world ends,
Not with a BANG
But with a BELCH

BURRRRRRRRRRPPPPPPP

Last edited by skeeterb; 8th January 2009 at 08:21 PM. Reason: Taking out unneeded info
skeeterb is offline  
Old 8th January 2009, 08:23 PM   #2 (permalink)
Default

Currently all the 14bit core PICs like the 16F627A have the same 33 instructions as every other 16F PIC. There are newer ones coming that have 43 instructions.

Download my Firefly manual as it has the 14bit instruction set done in color including the SFRs for the 16F88

For your state machine why not just download and try out PIC BASIC Pro (the free version) much easier than assembly for getting started.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/

Last edited by blueroomelectronics; 8th January 2009 at 08:24 PM.
blueroomelectronics is online now  
Old 8th January 2009, 08:45 PM   #3 (permalink)
Default

Quote:
Originally Posted by skeeterb View Post
I'm having trouble finding the all the commands that are used in the programming of a PIC 16F627A/628A. Is there somewhere I can find a more complete list of commands that are used to program PICs?
Get the datasheet. Look at Chapter 15.0 on Page 115.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is offline  
Old 8th January 2009, 09:05 PM   #4 (permalink)
Default

Quote:
Originally Posted by skeeterb View Post
I'm having trouble finding the all the commands that are used in the programming of a PIC 16F627A/628A. Is there somewhere I can find a more complete list of commands that are used to program PICs?
How can you have trouble?, they are listed in the datasheet for every PIC.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th January 2009, 09:37 PM   #5 (permalink)
Post

I didn't know I'm totally new to working with microcontrollers. I realized my circuit is gonna have to be edited after thinking about the way the inputs and outputs are wired in my circuit, and I'm gonna have to rip up the current routing on the PCB that I have designed to fix the changes.
__________________
This is the way the world ends,
This is the way the world ends,
This is the way the world ends,
Not with a BANG
But with a BELCH

BURRRRRRRRRRPPPPPPP
skeeterb is offline  
Old 9th January 2009, 04:25 AM   #6 (permalink)
Default

Looking over the data sheet for the chip, and I think I got some of the commands, but its the memory registers to use for my simple logic that eludes me. It only uses 2 inputs and 5 outputs, one leading to the relay to the output and 3 LEDs. How would I go about finding what memory registers to use in my program?

Circuit Logic

Upper + Lower = 1; Operation = 1; Warn = 0; Refill = 0
Upper = 0; Lower = 1; Operation = 1; Warn = 1; Refill = 0
Upper = 0; Lower = 0; Operation = 0; Warn = Flashing; Refill =1
__________________
This is the way the world ends,
This is the way the world ends,
This is the way the world ends,
Not with a BANG
But with a BELCH

BURRRRRRRRRRPPPPPPP

Last edited by skeeterb; 9th January 2009 at 04:27 AM.
skeeterb is offline  
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Title Starter Forum Replies Latest
c18 commands parts-man73 Micro Controllers 2 29th September 2008 04:54 PM
Need help !! If commands in asm file rukshankb Micro Controllers 1 22nd September 2007 04:15 PM
Cellular AT Commands mayo General Electronics Chat 4 28th June 2006 08:45 PM
AT COmmands of GSM mowri Electronic Projects Design/Ideas/Reviews 2 3rd February 2006 05:24 PM
commands Gaston Micro Controllers 2 9th April 2005 08:12 AM



All times are GMT. The time now is 02:16 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker