Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Invalid Address (http://www.chiefdelphi.com/forums/showthread.php?t=44312)

team 803 19-02-2006 13:44

Invalid Address
 
I brought up the IFI Loader and tried to load up our hex file, but a message came up that said:

Invalid Address: 0x0 (correct Range: 0x800-0x7fff)

How do I fix this

TimeOut 19-02-2006 13:54

Re: Invalid Address
 
What version of the IFI Loader are you using?

Sean

Quote:

Originally Posted by team 803
I brought up the IFI Loader and tried to load up our hex file, but a message came up that said:

Invalid Address: 0x0 (correct Range: 0x800-0x7fff)

How do I fix this


team 803 19-02-2006 13:57

Re: Invalid Address
 
v-1-0-0

TimeOut 19-02-2006 14:01

Re: Invalid Address
 
Uninstall 1.0.0 and install 1.1.0 (2 Feb 06)

http://www.ifirobotics.com/docs/ifi-loader-v1-1-0.zip

Post if it fixes your problem.

Sean

Quote:

Originally Posted by team 803
v-1-0-0


team 803 19-02-2006 14:08

Re: Invalid Address
 
I still recieved an invalid address range error

TimeOut 19-02-2006 14:12

Re: Invalid Address
 
Take a look at this thread:

http://www.chiefdelphi.com/forums/showthread.php?t=25662&highlight=Invalid+Address%3 A+0x0+%28correct+Range%3A+0x800-0x7fff%29

found this by searching for:
Invalid Address: 0x0 (correct Range: 0x800-0x7fff)

(search on the Orange bar above the ads)

(change the 18f8720.lkr with 18f8722.lkr - in the answer)

Sean

team 803 19-02-2006 14:18

Re: Invalid Address
 
18f8722.lkr is the linker I have in it

TimeOut 19-02-2006 14:23

Re: Invalid Address
 
Hmm, let's see. Maybe do a 'Clean' (Project, Clean in MPLab). Also, check to make sure the device in the Configure, Select Device is the 18F8722 processor.

Sean

Quote:

Originally Posted by team 803
18f8722.lkr is the linker I have in it


team 803 19-02-2006 14:26

Re: Invalid Address
 
Yes I have that device selected, now, when I am exporting the hex, do I need to edit anything on the window that pops up? Program Memory Areas?

team 803 19-02-2006 14:37

Re: Invalid Address
 
under the program memory checked box it has Start:0 End:0x1fffe

TimeOut 19-02-2006 14:38

Re: Invalid Address
 
I don't think you need to do the export. Just do a build (F10 or CTRL-F10) and then grab the .hex file that is created. I've never had to do export to get a .hex file that will load.

Sean

Quote:

Originally Posted by team 803
Yes I have that device selected, now, when I am exporting the hex, do I need to edit anything on the window that pops up? Program Memory Areas?


team 803 19-02-2006 14:42

Re: Invalid Address
 
Well, when I clicked build all, it didn't do anything.

TimeOut 19-02-2006 14:42

Re: Invalid Address
 
It sounds like a configuration problem. Has it worked in the past?

Sean

Quote:

Originally Posted by team 803
Well, when I clicked build all, it didn't do anything.


team 803 19-02-2006 14:45

Re: Invalid Address
 
It built when I was over at Bosch, but it hasn't worked since I brought it here.

team 803 19-02-2006 15:09

Re: Invalid Address
 
So, I have the program all ready to go, but I can't download it to the robot.

team 803 19-02-2006 15:40

Re: Invalid Address
 
Can anyone solve this?

TimeOut 19-02-2006 21:43

Re: Invalid Address
 
I'm back.

Send me your project file. Let me see if I can see any problems.

Sean
sean@toltechs.com


Quote:

Originally Posted by team 803
So, I have the program all ready to go, but I can't download it to the robot.


Alan Anderson 20-02-2006 10:33

Re: Invalid Address
 
Quote:

Originally Posted by team 803
Well, when I clicked build all, it didn't do anything.

That's not normal. Are you sure you opened the project (.mcp file) using the Open... command of the Project menu, and not just the individual source text files using the File menu?

Greg Ross 20-02-2006 12:51

Re: Invalid Address
 
Quote:

Originally Posted by Alan Anderson
That's not normal. Are you sure you opened the project (.mcp file) using the Open... command of the Project menu, and not just the individual source text files using the File menu?

Could it be your output window is simply not visible. See if my post in this thread helps.

team 803 21-02-2006 08:09

Re: Invalid Address
 
E-mail is hard, since this is a school computer (curses websense :mad: ). When I tried to make/build, it froze for a sec, and did nothing.

team 803 21-02-2006 09:10

Re: Invalid Address
 
Quote:

Originally Posted by team 803
E-mail is hard, since this is a school computer (curses websense :mad: ). When I tried to make/build, it froze for a sec, and did nothing.

K, used the teachers E-mail


All times are GMT -5. The time now is 21:57.

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