MCUmall EPROM BIOS Chip Burner Forum
MCUmall EPROM BIOS Chip Burner Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 MCUmall Forums
 TOP USB Programmer
 how use top2048
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sdow

4 Posts

Posted - 12/20/2006 :  21:55:35  Show Profile  Reply with Quote
I bought Top2048, can you explain me how to program my PIc16F877
Reply #1

sdow

4 Posts

Posted - 12/22/2006 :  12:36:39  Show Profile  Reply with Quote
Hi
Can you help me. I would like to flicker my led. But I am not able to use the software. can you help me.

Go to Top of Page
Reply #2

sdow

4 Posts

Posted - 12/23/2006 :  14:57:26  Show Profile  Reply with Quote
hi

can you help me . I have one problem every time,I have a error :Typr error. What is that?
Go to Top of Page
Reply #3

ZLM

2926 Posts

Posted - 12/24/2006 :  02:51:07  Show Profile  Reply with Quote
quote:
Originally posted by sdow

hi

can you help me . I have one problem every time,I have a error :Typr error. What is that?



Possible reasons:
1. incorrect device type selected.
2. chip is placed in a wrong position in ZIF socket.
3. contact issue of your chip's pin.
Go to Top of Page
Reply #4

sdow

4 Posts

Posted - 12/24/2006 :  16:13:55  Show Profile  Reply with Quote
can you help me. I use pic16f628 i would blank my led. can you help what i need to do in confgiration to blink my led .

;************************************************************
; Processor: PIC16F628 at 4 MHz using internal RC oscillator
; Function: Flash a LED connected to RA2
; Hardware: Testboard K4
; Filename: 628LED.asm
; Author: Lars Petersen, oz1bxm@qsl.net
; Website: www.qsl.net/oz1bxm/PIC/pic.htm
; Credit: Tony Nixon's LED flasher
;************************************************************

LIST P=16F628, R=DEC ; Use the PIC16F628 and decimal system

#include "P16F628.INC" ; Include header file

__config _INTRC_OSC_NOCLKOUT & _LVP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_ON

CBLOCK 0x20 ; Declare variable addresses starting at 0x20
Loop1,Loop2
ENDC
;
; -----------
; INITIALIZE
; -----------
;
ORG 0x000 ; Program starts at 0x000

CLRF PORTA ; Initialize port A
CLRF PORTB ; Initialize port B

BSF STATUS,RP0 ; RAM bank 1

CLRF TRISA ; All pins port A output
CLRF TRISB ; All pins port B output

BCF STATUS,RP0 ; RAM bank 0
;
; ------------------------
; FUNCTION OF PORT A PINS
; ------------------------
;
MOVLW 7
MOVWF CMCON ; Comparators off, all pins digital I/O
;
; ----------
; MAIN LOOP
; ----------
;
Main BSF PORTA,2 ; Turn on LED connected to RA2
CALL delay
BCF PORTA,2 ; Turn off LED connected to RA2
CALL delay
GOTO Main
;
; ---------------
; DELAY 250 MSEC
; ---------------
;
delay MOVLW 250
MOVWF Loop1
Outer MOVLW 200
MOVWF Loop2
Inner NOP
NOP
DECFSZ Loop2,F
GOTO Inner ; Inner loop = 5 usec.
DECFSZ Loop1,F
GOTO Outer
RETURN

END
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
MCUmall EPROM BIOS Chip Burner Forum © Copyright 2003 - 2009 Mcumall Electronics Inc. Go To Top Of Page
Generated in 0.12 sec. Snitz Forums 2000