Go to Post A well-designed shifting transmission, controlled by an experienced driver (or a clever bit of software), is an advantage. - Alan Anderson [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-01-2006, 00:56
AL_E AL_E is offline
Registered User
AKA: Al Evangelista
None #0703 (Phoenix)
Team Role: Coach
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Saginaw, MI
Posts: 5
AL_E is an unknown quantity at this point
.hex file too large for 2004 controller?

Gang,

While attempting to test a program based on Kevin's "bells and whistles" camera code (with the addition of our own autonomous and RC mode drive code) we ran into a problem when loading the .hex file into the 2004 controller.

The download appears to complete correctly however the program state LED goes to red and the controller does not operate. We double checked the compile options (Device = PIC18F8520) and confirmed that the correct linker script and library have been selected for the 8520.

The .map file reports "30471 out of 33816 program addresses used, program memory utilization is 90%" I do not see a corresponding space usage summary report for the data area (RAM).

My question is this: Does the memory utilization figure reported in the .map file tell the whole story or are there other considerations (RAM usage or other factors) which would contribute to this problem. In short, is there a way to determine from the .map file whether or not the .hex file is too large for the 2004 controller?

Thanks in advance for the assistance

-Al
 


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
Robot Controller File Size Limit ?? RoboGeek Programming 1 17-01-2005 19:59
heres the code. y this not working omega Programming 16 31-03-2004 15:18
How do we convert a modified user routines file into a valid .HEX file HuskieRobotics Programming 13 28-02-2004 12:12
File Sharing and Revision Tracking Madison FIRST-related Organizations 14 04-06-2003 18:01
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30


All times are GMT -5. The time now is 09:46.

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