Go to Post Injuries can come out of no where. I know this is only a robotics competition but the injury doesnt care where or what you are doing. - nightrenegade00 [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 07-01-2004, 07:24
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
IFI Loader for Linux

I've created something, it almost works, theres about 10 glitches on the writes and there is no verification yet, but it would be greatly appreciated if people could look over errors. It's roughly done, I'm just trying to get it to work currently.

debug-recv.txt - matches every sent line
debug-sent.txt - output on uploading EDU_default.hex

to run,
mkdir test
cd test
tar -xzvf /path/to/ifi-linux.tar.gz
make
./picloader EDU_default.hex /dev/SERIALPORT

http://ryan.scv.net/x2545/ifi-linux.tar.gz
http://67.115.226.221/x2545/ifi-linux.tar.gz if the above link doesn't work due to my name server being down.

I'll work on it some more tomorrow, or thursday.
__________________
R

Last edited by rwaliany : 08-01-2004 at 01:58.
  #2   Spotlight this post!  
Unread 07-01-2004, 13:45
Skabana159's Avatar
Skabana159 Skabana159 is offline
Robotics and Field Hockey
AKA: Jesse C. Owens
#0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2000
Location: Ft. Collins, CO
Posts: 92
Skabana159 is on a distinguished road
Send a message via AIM to Skabana159
Re: IFI Loader for Linux

Quote:
Originally Posted by rwaliany
I've created something, it almost works.
Ryan, I could just about kiss you. I will try to test this, but it may be hard to get the EDU RC until we actually have the RC on saturday...
__________________
"What most people do not understand is that the Buddha, the Godhead, resides just as comfortably in gears and circuits as in hills and trees. To believe otherwise is to dilute the Godhead."
-Robert Pirsig, Zen and the Art of Motorcycle Maintenance
  #3   Spotlight this post!  
Unread 07-01-2004, 13:59
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
Re: IFI Loader for Linux

Note: If you look at the debug-sent.log it appears, if you send a write with an invalid checksum you will receive

00 0F 02 FE 04
instead of
0F 0F 02 FE 04

or any wriet with an invalid command

00 + Last command

I'll work on those today, got done at like 5am last night. I'm hoping to have it completely before Saturday.

Thanks,
Ryan Waliany
__________________
R
  #4   Spotlight this post!  
Unread 07-01-2004, 14:50
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: IFI Loader for Linux

A couple of suggestions (I can't actually do anything usefull with the program since I don't have a controller)

When you tar up the stuff, do it from the previous directory, so that you don't have to copy the tar file to a new directory. Also, use some type of version number or date in both the tar file and the directory for your sake, and everyone else's. You can use a command like this for the tarring: tar -cvzf ifi_loader-0.01.tar.gz ifi_loader-0.01/

Right now, you program is copyrighted and you have all the rights and protections that provides, which means we can't modify it. I assume, since you are releasing it to us, that isn't what you intended. Thus, you need to license the code to give up some of your copyright rights. There are virtually unlimited open source licenses, some of which are listed at http://www.opensource.org/licenses/ You should choose one of those (I prefer the BSD license) and license your software with it.

Can you include a short readme that tells, at a minimum, where to get the information that you used to write this loader?

Thanks for the time that you've spent on this.
  #5   Spotlight this post!  
Unread 07-01-2004, 16:48
mikew mikew is offline
crazy coder
#0613 (Franklin RoboWarriors)
Team Role: Programmer
 
Join Date: Apr 2003
Location: Somerset, NJ
Posts: 39
mikew is an unknown quantity at this point
Send a message via AIM to mikew
Re: IFI Loader for Linux



Looks like someone had more time than me. Cool.

GPL!
  #6   Spotlight this post!  
Unread 07-01-2004, 17:49
Random Dude Random Dude is offline
Oregon State Head FTA
AKA: Chris
no team (Oregon Robotics Tournament & Outreach Program)
 
Join Date: Aug 2002
Rookie Year: 1998
Location: Oregon
Posts: 142
Random Dude will become famous soon enoughRandom Dude will become famous soon enough
Re: IFI Loader for Linux

Quote:
Originally Posted by Joe Ross
Can you include a short readme that tells, at a minimum, where to get the information that you used to write this loader?
Joe,

The info can be found here: http://www.microchip.com/download/ap...c16/00851b.pdf (Well, Ryan may have other sources, but that should provide most of what you need)

Also check out my (basic) notes here: http://www.chiefdelphi.com/forums/sh...395#post196395
  #7   Spotlight this post!  
Unread 07-01-2004, 21:15
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
Re: IFI Loader for Linux

Quote:
Originally Posted by Joe Ross
A couple of suggestions (I can't actually do anything usefull with the program since I don't have a controller)

When you tar up the stuff, do it from the previous directory, so that you don't have to copy the tar file to a new directory. Also, use some type of version number or date in both the tar file and the directory for your sake, and everyone else's. You can use a command like this for the tarring: tar -cvzf ifi_loader-0.01.tar.gz ifi_loader-0.01/

Right now, you program is copyrighted and you have all the rights and protections that provides, which means we can't modify it. I assume, since you are releasing it to us, that isn't what you intended. Thus, you need to license the code to give up some of your copyright rights. There are virtually unlimited open source licenses, some of which are listed at http://www.opensource.org/licenses/ You should choose one of those (I prefer the BSD license) and license your software with it.

Can you include a short readme that tells, at a minimum, where to get the information that you used to write this loader?

Thanks for the time that you've spent on this.
Thanks, I know. I haven't had time, I finished it and decided to upload to people to look at at like 5-6am in the morning. I've only spent two days actually working on it trying to parse the data and write it and a couple days just looking over the packet communications. I'll try to finish it sometime tonight, I've been working on our blimp project and haven't had time today. By Monday, I'll have GPL, etc...with versions. Anyways I'm going to work on it around 11PM Pacific Time, if anyone wants to help on AOL instant messenger, screenname "Ryan Waliany" Today the other control members burnt out the EduRobot by hooking it up to a power supply, but I've managed to use a backdoor to turn it on by skipping the on switch. So I might be able to finish it using the EduRobot still. If not, It might have to wait till next monday.


Thanks,
Ryan Waliany
__________________
R
  #8   Spotlight this post!  
Unread 08-01-2004, 01:48
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
Re: IFI Loader for Linux

IT WORKS IT WORKS IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
I'll put up a source forge page soon and add a graphical interface!!!!!!!!!!!!
LINUX HERE I COME!

Get releases here...
http://ryan.scv.net/x2545/picloader/

tar -xzvf ifi-picloader.0.1.tar.gz
cd ifi-picloader
make
./picloader (HEX) (SERIAL)
ex:
./picloader EDU-default.hex /dev/usb/tts/0

Talk to me if you want to help with GUI, would you people prefer GTK QT, or?

Also, new website for it, http://ryan.scv.net/x2545/pic/ soon to be at sourceforge.net.

Thanks,
Ryan Waliany
__________________
R

Last edited by rwaliany : 08-01-2004 at 03:33.
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
Bug in IFI Loader rwaliany Programming 2 06-01-2004 21:26
IFI Loader on ME LBK Rules Programming 1 18-12-2003 17:49
IFI Controllers For 2004 Ian W. Rumor Mill 22 01-10-2003 16:09
Extra 2002 IFI controllers Ryan Foley Electrical 0 03-09-2003 22:53
How much code can an IFI controller handle? Larry Barello Programming 7 10-02-2002 19:06


All times are GMT -5. The time now is 18:06.

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