Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   hex file garbage? (http://www.chiefdelphi.com/forums/showthread.php?t=38833)

sciguy125 04-07-2005 20:17

hex file garbage?
 
There's two lines at the end of the hex files that I can't figure out. They're the 3rd and 2nd to last (the two before the last line).

:020000040030CA
:0E000000FFFEFEFCFFFEFBFFFFFFFFFFFFFF0A

I can't figure out exactly what they do. From what I understand, the first one

:020000040030CA

says to prepend 0x0030 to the address of any data records that come after it. That would mean however, the the next line

:0E000000FFFEFEFCFFFEFBFFFFFFFFFFFFFF0A

writes data to 0x00300000, which as far as I can tell, doesn't exist. The last address in the flash memory is 0x7FFF.

Any ideas?

Ryan M. 04-07-2005 20:58

Re: hex file garbage?
 
No ideas, but I'm inpressed you understood all but two lines... :ahh:

Wow... nice. I'm in awe. :eek:

fowlerm 04-07-2005 23:04

Re: hex file garbage?
 
The code memory space ends at 0x7FFF but the highest flash address on the 18F8520 is 0x3FFFFF. The memory addresses from 0x300000 - 0x30000D are used for the device's configuration settings such as clock source, code protect, etc. Addresses 0x3FFFFE and 0x3FFFFF are for the device ID bits.


All times are GMT -5. The time now is 14:56.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi