Go to Post "But from a real life standpoint, that looks like something the evil villains in a superhero movie would use to get around in" Reading the phrases "real life" and "evil villains in a superhero movie" in the same sentence makes me giggle. - 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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-01-2007, 01:12
Robby's Avatar
Robby Robby is offline
Registered User
AKA: Kevin Beranek
FRC #0269 (Cooney Robotics)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Wisconsin
Posts: 47
Robby has a spectacular aura aboutRobby has a spectacular aura about
Picloader Problems

I have been using picloader under linux to program an old controller without any problems for a while now, but all of a sudden once my code reached a certain size (1809 according to picloader_textmode, whatever that means), I get a code error when I load it onto the controller. I looked at FrcCode.map and it says "program memory utilization is 21%", so then I took the exact same .hex file that I created in linux and it worked just fine with IFI Loader in Windows.

Anybody have any ideas?
  #2   Spotlight this post!  
Unread 10-01-2007, 08:40
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Re: Picloader Problems

2006 and higher FRC robot controller has 128K of program memory. Previous FRC controllers, EDU bot (I believe), and VEX have only 32K of program memory. Does the picloader support the larger memory configuration? A new version of IFI loader was needed last year to download to the new controller.
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
  #3   Spotlight this post!  
Unread 10-01-2007, 13:24
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Picloader Problems

IIRC, you have to change the size of one of the buffers. I just can't the buffer ATM. (I don't maintain picloader because the code is less than flexable, IMHO.)

I may make a new release to fix this, since it has come up before.

I encourage you to test pycloader, as well, from the same project. It should be pretty much fine, but it hasn't been tested enough for a release.

EDIT: It's main.cpp, lines 85-86. Change the 4095. It comes from 32K * 1024 / 8 - 1 (there are 8 bytes in every record). So the new number for 2006-2007 is 16383.

Last edited by Astronouth7303 : 10-01-2007 at 16:52.
  #4   Spotlight this post!  
Unread 11-01-2007, 09:57
Robby's Avatar
Robby Robby is offline
Registered User
AKA: Kevin Beranek
FRC #0269 (Cooney Robotics)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Wisconsin
Posts: 47
Robby has a spectacular aura aboutRobby has a spectacular aura about
Re: Picloader Problems

Thanks, I'm trying pycloader out, it looks like it is the better option, and I would much rather read python code than c++.
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
Labview problems and code problems ajsetter Programming 25 18-01-2006 17:07
Problems muy dificil Programming 5 26-10-2005 17:10
Linux Picloader: New Release jdong Programming 1 01-11-2004 19:49
Problems- archiver 1999 0 23-06-2002 23:00
Problems, problems . . . archiver 2000 6 23-06-2002 23:00


All times are GMT -5. The time now is 20:53.

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