Page 2 of 5

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Tue Jul 29, 2014 12:26 pm
by brinn
a search shows others have asked how to get the mcw window back to add to the files and even on the microchip forum and got no replies !
and had to give up on mplab completly .its like a secret society

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Tue Jul 29, 2014 12:54 pm
by andrew
View->Project should bring it back up.

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Fri Aug 01, 2014 9:42 am
by Anobium
I have just got one of the these board. Very nice. The quality is excellent. I recommend this product.

I use Great Cow BASIC as my compiler for PIC microcontrollers. Open source and very, very simple. See http://gcbasic.sourceforge.net/index.php

My code to flash the leds is extremely simple and really only a few lines long.

Code: Select all

'   FILE:    PIC_16F877a_LED_Test.gcb
'   DATE:    01/08/14
'   VERSION: 0.1a
'   AUTHOR:  Anobium, based on the work of Andrew Davies dated 26/07/14

'  This test program will flash the LEDs connected to port D on the development board.
'  It was written using the Great Cow Basic (GCB) complier. Install GCB - you are recommended to use
'  GCB@SYN from the Great Cow Basic website.

'    This code is free software; you can redistribute it and/or
'    modify it under the terms of the GNU Lesser General Public
'    License as published by the Free Software Foundation; either
'    version 2.1 of the License, or (at your option) any later version.

'    This code is distributed in the hope that it will be useful,
'    but WITHOUT ANY WARRANTY; without even the implied warranty of
'    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
'    Lesser General Public License for more details.

'    If you require a copy of the GNU Lesser General Public
'    License along with this code; please write to the Free Software
'    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

'Chip settings
  #chip 16F877a, 4    ' Select the chip and the chip speed
  #config Osc = XT    ' Select the external oscillator

  dir portd out         ' Set all PORTD ports as outputs

  do forever            ' Loop for ever

      PORTD=0xFF      'Turn off LED's on port D
      wait 125 ms       'wait

      PORTD=0x00      ' Turn on LED's on port D
      wait 125 ms       'wait
  loop

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Fri Aug 01, 2014 2:23 pm
by Anobium
Working HEX file for PIC_16F877a_LED_Test.gcb

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Sat Aug 02, 2014 12:23 pm
by andrew
That's a very interesting project. I will try and schedule some time in the next few days to have a closer look at it. Maybe it's something we can add to the first post to help beginners to get going with PIC devices.

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Sat Aug 02, 2014 12:40 pm
by Anobium
I have sent Andrew a private message but it is stuck in my outbox. Is there an email address I can send a PM to?

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Sun Aug 03, 2014 10:25 am
by andrew
I got your message and replied to it.

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Mon Aug 04, 2014 3:59 pm
by brinn
now i have trouble with the pickit3 not talking with mplab ,MPLab just cant see the pickit 3 for some reason .not making any progress at all

error message

PICkit 3 detected
Connecting to PICkit 3...
PK3Err0033: 4 bytes expected, 0 bytes received

Failed to properly connect to PICkit 3

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Tue Aug 05, 2014 11:26 am
by brinn
do i need to be using administrator to use it ?

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Posted: Wed Aug 06, 2014 4:11 pm
by andrew
We don't sell this product so it's not really something we can give much advise on. The only thing we have noticed is that quite a few people using 64bit operating systems have reported the same problem with this model of programmer. Quite often their solution was to disconnect the programmer in some way such as selecting a different programmer and then switching back, physically disconnecting the programmer, or downloading the pickit3 programming software, using it to push a firmware update to the programmer and then connecting it back to MPLAB. If your current problem is just related to this programmer please feel free to post in the general discussions area about it as someone who has one may be able to give you some advise. It's a little off topic for this thread which is just for 16F877A development board.