Hi,
See:
http://www.microchipc.com/PIC16bootload/PIC_bootloader_FAQ.htm#reserve_space
Regards,
Shane Tolmie
DesignREM Ltd.
shane.tolmie@...
> -----Original Message-----
> From: Virendra Pawar [mailto:pawarvirendra2004@...]
> Sent: Monday, August 21, 2006 6:24 PM
> To: shane.tolmie@...
> Subject: Asstistance Required, BOOTLOADER
>
> Hi Shane.
>
> I have programmed your BOOTLOADER in PIC 16f877A , Works
> Excelently with programmes developed in Hitech C. C Code
> test.c works.
> But same code done in ASM test.asm in (MPLAB) will not execute.
> --------------------------------------------------------------
> -----------------------------------------------------
> // test.c
> #include <pic.h>
> //for Hi-Tech C only
> #include "delay.h" //make sure that PIC_CLK in this file is
> correctly defined #define BOOT 0x0000 //#define BOOT_START BOOT
>
> main()
> {
> unsigned int timeout_int;
> unsigned char timeout_char;
> unsigned int i;
> TRISB=0b00000000;
> PORTB = 0xAA; //set ports of port B to output -
> o=output, 1=input
> for( ;; )
> }
>
>
>
>
> void interrupt isr(void)
> {
> }
>
>
> --------------------------------------------------------------
> -----------------------------------------------------
> ;test.asm
> LIST P=16f877A
> ERRORLEVEL -302
>
> include <p16f877A.inc>
> ORG H'0000'
> GOTO MAINLINE
>
> MAINLINE
>
> BSF STATUS,5
> MOVLW B'00000000'
> MOVWF TRISB
> BCF STATUS,5
> MOVLW B'10101010'
> MOVWF PORTB
> HERE
> GOTO HERE
> END
>
> --------------------------------------------------------------
> ----------------------------------------------------
>
> I am writing a air pressure monitoring programme where 24
> pressure parameters have to be regularly loaded. I want to
> save these in the EEPROM .So they can be changed without
> changing the main programme. How do i write the same so i can
> generate Hex format to down load into the eeprom using your
> Downloader.
>
> Thanks
> Virendra D. Pawar
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection
> around http://mail.yahoo.com
>