Go to Post Corn dogs for everyone! - DCA Fan [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-07-2005, 20:17
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
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?
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #2   Spotlight this post!  
Unread 04-07-2005, 20:58
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: hex file garbage?

No ideas, but I'm inpressed you understood all but two lines...

Wow... nice. I'm in awe.
__________________

  #3   Spotlight this post!  
Unread 04-07-2005, 23:04
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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