Question abt P24FJ64GB002 hex file: conf words [answered]

General discussion on mikroPascal PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Question abt P24FJ64GB002 hex file: conf words [answered]

#1 Post by Dany » 10 Aug 2011 09:29

Hi,

Could someone explain me why contents of the hex file regarding configuration words seems so odd (P24FJ64GB002)?

extract hex file:
:020000040001F9
:1057F0003FFF0000FFF70000AEA200007F3F000067
It seems the lowest address programmed here is $000157F0 while the programming datasheet and the cnf file say the config addresses start with $ABF8:

Code: Select all

<?xml version="1.0"?>
<MCU_DEVICE_FLAGS>
  <DEVICE>
    <DEVICE_NAME>P24FJ64GB002</DEVICE_NAME>
    <VALUE>
      <COUNT>4</COUNT>
      <VALUE0>
        <VAL>$00ABF8:$FF3F</VAL>
      </VALUE0>
      <VALUE1>
        <VAL>$00ABFA:$F7FF</VAL>
      </VALUE1>
      <VALUE2>
        <VAL>$00ABFC:$A2AE</VAL>
      </VALUE2>
      <VALUE3>
        <VAL>$00ABFE:$3F7F</VAL>
      </VALUE3>
    </VALUE>
  </DEVICE>
</MCU_DEVICE_FLAGS>
I do use v5.00 of the mP compiler.

Thanks in advance!
Last edited by Dany on 25 Jan 2012 11:10, edited 3 times in total.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: Question about P24FJ64GB002 hex file reg. config words

#2 Post by Dany » 10 Aug 2011 18:50

Hi, I think I've found an explanation on the MikroChip forum, see http://www.microchip.com/forums/tm.aspx?m=404386 (other device though).
The hex file addresses are indeed "byte" addresses, not "word" addresses. :D :D
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”