|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
||||
|
||||
|
Re: hex file garbage?
No ideas, but I'm inpressed you understood all but two lines...
Wow... nice. I'm in awe. ![]() |
|
#3
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IFI Loader problem - "Invalid HEX file" | wun | Programming | 9 | 22-09-2004 12:35 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |
| Does anyone have the FIRST logo in 2D .dwg or .dxf file? | Elgin Clock | Inventor | 5 | 11-03-2004 16:40 |
| Dashv2.ocx dependency file now available | archiver | 2000 | 0 | 23-06-2002 22:00 |
| Improving PBASIC: Request for Comments | Greg Ross | Programming | 19 | 16-02-2002 22:14 |