Re: Tiny Bootloader
- From: "JohnT" <jctooley@xxxxxxxxx>
- Date: 29 Aug 2006 23:40:54 -0700
If I don't put a GOTO in first four instructions it does indeed warn me
that there isn't a GOTO instruction. I also understand how the program
is suppose to work in the PIC. What I don't know and the site doesn't
tell you is what the download program does to your original code.
Yes I have downloaded the example code as it that is is the program I'm
trying to get working.
Neil wrote:
CLIPPED
JohnT wrote:
How do I post my code, I can't see of a way to upload a file. Thethe instructions show:
start of my code is as follows though.
ORG 0x00 ; Start of the program
CLRF STATUS
MOVLW 0x00
MOVWF PCLATH
GOTO INIT
ORG 0x04 ; Interrupt address
GOTO INT_HAND
All I'm doing after it goes to the INIT routine is set all the outputs
on for PortA and B. I've simulated this and it works fine.
John
org 0
;clrf STATUS
clrf PCLATH
goto Main
or
org 0
;clrf STATUS
pagesel Main
goto Main
The web site says the PC Side will give a warning if the GOTO is wrong.
Did you try to send his sample?
.
- Follow-Ups:
- Re: Tiny Bootloader
- From: Diogo G. Casado (a.k.a dIIo)
- Re: Tiny Bootloader
- References:
- Tiny Bootloader
- From: JohnT
- Re: Tiny Bootloader
- From: Pietje Bell
- Re: Tiny Bootloader
- From: RaceMouse
- Re: Tiny Bootloader
- From: JohnT
- Re: Tiny Bootloader
- From: RaceMouse
- Re: Tiny Bootloader
- From: JohnT
- Re: Tiny Bootloader
- From: Neil
- Tiny Bootloader
- Prev by Date: Re: SI and EMI training
- Next by Date: Re: 8051 C Compiler
- Previous by thread: Re: Tiny Bootloader
- Next by thread: Re: Tiny Bootloader
- Index(es):
Relevant Pages
|