Searching \ for '[PIC] Hex files' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'Hex files'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Hex files'
2005\01\06@105220 by BryanW

flavicon
face
Hi

Another question :)

The config bytes are stored at address outside the flash address range, are
these stored in the hex file and if so does MPLAB do this for you or do you
have to add the config bytes to your assembler code and then it gets added
to the hex that way.

BryanW

--
Software Engineer - Embedded Results Ltd,
http://www.kanda.com
https://www.kanda.com/stk200.html

2005\01\06@111131 by Jan-Erik Soderholm

face picon face
> The config bytes are stored at address outside the flash
> address range, are these stored in the hex file...

Yes, if the development tool put them there, which
is kind of "normal"...

> and if so does MPLAB do this for you...

Yes, if you ask kindly :-)

> or do you have to
> add the config bytes to your assembler code and then
> it gets added to the hex that way.

You specify the config bits using the "__CONFIG" assembler
directive. MPASM (which is called from MPLAB of course)
will then put the config data at the correct address in the
HEX file. The actual address used is depending on which
PIC you are targeting (as you specified in the source code).

Jan-Erik.



2005\01\06@124125 by olin_piclist

face picon face
BryanW wrote:
> The config bytes are stored at address outside the flash address range,
> are these stored in the hex file

Yes, if you write code to set them.

> or do you have to add the config bytes to your assembler code and then
> it gets added to the hex that way.

I don't know if MPLAB does it automatically since I never build inside the
IDE.  However, you should specify all the config bits in your source code
anyway.


*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com

2005\01\06@140047 by Wouter van Ooijen

face picon face
> The config bytes are stored at address outside the flash
> address range, are
> these stored in the hex file and if so does MPLAB do this for
> you

yes, if you specified them in your source

> or do you
> have to add the config bytes to your assembler code and then
> it gets added
> to the hex that way.

yes, that's the way

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu


More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...