April 23, 2004NEW VERSION OF PROGRAMMER SOFTWAREI made 2 new QBASIC pgms for programming the PIC. These programs do not solve a problem I have been working on., but they clean up and speed up the process. A program called INBTWEEN.BAS takes the hex file produced by my ASSEMBLER and prodeuces a file of 16 character strings, all containing 1's & 0's. Ther second program WORKRND2.BAS reads the string file and sends this data along with the necessary programming COMMANDS to the PIC. Note that I still have to enter & leave programming mode each time I write an instruction to the PIC. But I have cleaned up the code and the processing. I have a variable I use for delay loops. Up to now I have been using 1000, but I have found by experiment that the program works at 100, which has speeded things up tremendously
Posted by larrykeegan at 07:04 PM
MY FIRST PIC-CONTROLLED ROBOTHere are some new happenings in my PIC programming adventures. The program uses the timer0 with an interrupt. The pre-scaler is set for 1:256.
Posted by larrykeegan at 06:49 PM
April 18, 2004LATEST ON THE PIC - a letter to BOBHere is the latest on what I am doing with the PIC Hi Bob By the way, my communication between the 2 PICS was just input/output - Let me get back to my programming software for loading in my programs to the PIC. I explained how I am almost embarrassed to admit that all my programs have been loaded onto the PICs by software which is a WORKAROUND for a problem I have encountered. To program the PIC there are a handful of commands which are interspersed with the data you are sending to the PIC. My problem is that each time I write one line of data (an instruction) to the PIC, it either drops out of programming mode or something and does not carry out the remainder of the commands. My workaround has been to write one line of data to the PIC, then leave programming mode, then re-enter programming mode which always brings you to location zero. At this point, I have talked with some people at MicroChip where I uncovered some errors in Well there it is, I'm sure much more than you wanted to hear. Larry Keegan in Stoneham, MA On 4/18/04 10:56 AM, "Robert Sweeney" > Hi Larry,
Posted by larrykeegan at 04:51 PM
|
Search
Archives
April 2005
February 2005 January 2005 August 2004 July 2004 May 2004 April 2004 March 2004 February 2004 January 2004 December 2003
Recent Entries
NEW VERSION OF PROGRAMMER SOFTWARE
MY FIRST PIC-CONTROLLED ROBOT LATEST ON THE PIC - a letter to BOB
CONTENTS
About Larry
Experiments -  CREATING BELL SOUNDS -  PROXIMITY DETECTION FOR ROBOTS -  Stirling Engines PROGRAMMING THE pic microcontrollers -  LATEST NEWS IN LARRY KEEGAN'S WORLD OF EXPERIMENTS !!!!!! -  AMAZING BREAK-THROUGHS !!! -  I've Cleaned Up My Shop -  A ROBOT THAT AVOIDS OBSTACLES! -  LIGHT-SEEKER WORKS!! -  A NEW ROBOT -  NEW VERSION OF PROGRAMMER SOFTWARE -  MY FIRST PIC-CONTROLLED ROBOT -  LATEST ON THE PIC - a letter to BOB -  TACTICAL RETREAT -  SOME MORE APPs ! -  THE AMAZING PIC !! -  MY ASSEMBLER PROGRAM -  MY PIC PROGRAM WORKS -  More on the PIC16F628 -  good things to COME !!!! Poetry -  THE TERTIANS -  ANCESTORS -  BETWEEN STORMS -  THE NORTHEAST KINGDOM -  THE LAST RIDE -  SPECIFICALLY, THE PACIFIC -  VICTIM -  THE WHEELS GRIND SLOWLY -  WHEN WINTER COMES -  THE SEASON OF THE GRAIL -  COLUMBINE -  MAXWELL -  PARKWAY QUEEN -  THE SEMINARIAN -  thoughts from a cell -  THE NUMBERED DEAD -  SYLLABLES -  NOT A CLOUD -  JANICE SLEEPS -  UNDER THE TOWER -  SPOT POND IN STONEHAM -  JOURNEY -  CLEARED TO LAND -  NUMBERS -  CROSSROADS -  DINNER IN DELAWARE -  CONEY ISLAND -  THE ROSE -  PHILOSOPHIA DE LORENZO -  "CLOSED CAR WASH" -  "A Stranger Walks"
Links
|