bootloader

General discussion on mikroC.
Post Reply
Author
Message
sly
Posts: 43
Joined: 13 Feb 2005 02:20

bootloader

#1 Post by sly » 05 May 2005 03:47

Hi,

Where are bootloader's hex files :

eg. For PIC16F877A use p16f877a.hex


Thanks

pizon
mikroElektronika team
Posts: 823
Joined: 11 Oct 2004 08:53

Re: bootloader

#2 Post by pizon » 05 May 2005 08:54

All stuff related to bootloader for mikroC will be posted as a Project, together with all the explanations.
pizon

marcwake
Posts: 2
Joined: 07 May 2005 02:45

Re: bootloader

#3 Post by marcwake » 07 May 2005 02:52

pizon wrote:All stuff related to bootloader for mikroC will be posted as a Project, together with all the explanations.
So it hasn't been released yet?

Also with the bootloader can you still use interupts if your code is at 0x0004?

Thanks

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: bootloader

#4 Post by zristic » 07 May 2005 10:06

marcwake wrote:So it hasn't been released yet?

Also with the bootloader can you still use interupts if your code is at 0x0004?
It's released for mikroPascal 3.0 for P18F as a pilot program. Since it behaves well, we will post the bootloader project for all compilers soon.

Yes, the bootloader can work with codes that use interrupts.

sly
Posts: 43
Joined: 13 Feb 2005 02:20

#5 Post by sly » 12 May 2005 02:45

Hi,

What would be the work around in mikroC to have something like this:



// Reserve the top 384 words (768 bytes) of ROM for the bootloader


Thanks a lot !

:D :D :D

pizon
mikroElektronika team
Posts: 823
Joined: 11 Oct 2004 08:53

#6 Post by pizon » 12 May 2005 10:50

Open the .mlk file for the PIC you're using and find the // MEMORY PAGES section. There, you will find something like this:

Code: Select all

#pragma	SetPage(PAGE3,0x1800,0x1FFF);
Just change the top-of-page number to suit your needs. In your example, you should alter the abovementioned line to:

Code: Select all

#pragma	SetPage(PAGE3,0x1800,0x1EFF);
pizon

sly
Posts: 43
Joined: 13 Feb 2005 02:20

Re: bootloader

#7 Post by sly » 21 May 2005 03:46

pizon wrote:All stuff related to bootloader for mikroC will be posted as a Project, together with all the explanations.
Any news about that ?

Thanks

pizon
mikroElektronika team
Posts: 823
Joined: 11 Oct 2004 08:53

Re: bootloader

#8 Post by pizon » 21 May 2005 23:36

During next week.
pizon

Post Reply

Return to “mikroC General”