Go to Post Wow, that is awfully impressive! How can a guy in the WWF be so smart? Oh, it's LIKE the WWF...:p - DonRotolo [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-07-2005, 01:18
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
IFI Loader Reloaded

For the last couple weeks, I've been working on writing my own version of IFI Loader. The major improvements are being able to read the flash and being able to "tag" it. By tag, I mean putting some information at the end of the flash so that you know stuff about it. Normally, after it's written to the controller, all information about it is gone. You have to rely on memory and testing to find out what it is and who put it there. At the moment, the tag contains the programmer's initials and the time it was written (I'm open to suggestions about what else it could have).

This is only a preview release so that I can get some feed back about it. It has enough functionality to be used full time instead of IFI Loader, but I wouldn't do that just yet. There are many bugs and many of the widgets in the GUI don't actually do anything yet (and will probably be removed anyway). I also have to do some code clean up to get it ready for a real release.

All development of IFI Loader Reloaded has been done in Linux. It uses Qt, so you should be able to compile the GUI on Windows, Linux, and Mac with the appropriate software from Trolltech (http://www.trolltech.com/products/qt). The only problem with other OSes is the serial port code. Right now, it's only written for POSIX systems. I think you can use Cygwin to compile it on Windows, but I haven't tried it. Although, it'd be nice if someone would write a Windows port (information to do so is in the package).

You can temporarily get it here:
http://ratlab.dyndns.org/loader/ifi-reloaded_qt.zip

It'll only be there for this preview release. I'll find a more permanent home for it at some point. Pretty much, I'd just like to know what you think of it. Suggestions, comments, wishlist...

Notes:
-the serial port is currently hardcoded to /dev/ttyS0
-various bugs
-the menu and toolbar are pretty much decoration (little functionality)
-also see README
Attached Thumbnails
Click image for larger version

Name:	snapshot5.png
Views:	408
Size:	21.9 KB
ID:	3503  
__________________

-----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------

Last edited by sciguy125 : 07-07-2005 at 01:22. Reason: added a screenshot
  #2   Spotlight this post!  
Unread 07-07-2005, 06:54
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: IFI Loader Reloaded

Hey! Now that's cool. This goes along great with Eclipse!

(Or heck, even the FIRST Contact Database)
__________________

  #3   Spotlight this post!  
Unread 07-07-2005, 16:41
tux tux is offline
Registered User
AKA: Lee Harr
FRC #3842 (Shock-a-Bots)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, NY
Posts: 91
tux is an unknown quantity at this point
Re: IFI Loader Reloaded

Looks nice.

I do not have access to the controller right now, but will test when I get it again.
  #4   Spotlight this post!  
Unread 19-08-2005, 00:24
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
Re: IFI Loader Reloaded

Alright, it took me awhile, but I'm back. Now I have a windows port. Through the miracle of compiler directives, the same files will compile on windows and linux. I'm almost ready to make a release (probably in the next few days), but I need some help. I'm not set up to compile a static binary for windows. I can get a windows binary, but you'll need Qt (and probably MinGW also) to run it. I don't think library issues are a problem on linux because most of them will already have Qt anyway.

Windows folk seem to shy away from compiling programs from source so, I'm looking for Windows Qt developers that can get me a distributable binary. You'll need Qt3 (Qt2 might work, but I know for a fact that Qt4 won't - I'm working with 3.3.4). I'll give you the source, you can compile it and send me the binary. I'll figure out how to distribute it. I don't need anyone at the moment, I just want to know who I can get help from.
__________________

-----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------
  #5   Spotlight this post!  
Unread 22-08-2005, 12:28
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
Re: IFI Loader Reloaded

IFI Loader Reloaded 0.1.0
http://ratlab.dyndns.org/loader/ifi-...d_qt-0.1.0.zip

You can download Qt 3.3.4 from SourceForge

If you're using Visual C++ and plan on installing Qt from source, I'd appreciate it if you compile Qt for static libraries and send me your ifi-reloaded binary.
__________________

-----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------
  #6   Spotlight this post!  
Unread 22-08-2005, 12:38
Jack Jones Jack Jones is offline
Retired
no team
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Waterford, MI
Posts: 964
Jack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond repute
Re: IFI Loader Reloaded

I'm running Qt - Windows Dev. with static libraries & can take a shot at it for you.

EDIT: Your most recent post reminded me of the fact the I'm running Borland-5 - Will try to resolve that.

Last edited by Jack Jones : 22-08-2005 at 13:01.
  #7   Spotlight this post!  
Unread 22-08-2005, 18:18
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: IFI Loader Reloaded

Very cool. I'm currently the lead developer for the Linux ifi-picloader and its textmode enhancements. This looks very awesome. What's the license on it?
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics
  #8   Spotlight this post!  
Unread 22-08-2005, 19:25
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
Re: IFI Loader Reloaded

Quote:
Originally Posted by jdong
Very cool. I'm currently the lead developer for the Linux ifi-picloader and its textmode enhancements. This looks very awesome. What's the license on it?
It's GPLed. The Qt license is the GPL, so any works using it have to be also (almost anything I do will be anyway...).

And thanks for ifi-picloader. I used it as a reference when writing this program.

I wrote this such that it can be used for command line also, but I haven't written the command line interface yet. The GUI is my main priority. The guts of the program will work independent of the interface. As long as you instantiate the primary class and call the right functions (with correct parameters), it'll do it's job.


I forgot to mention the highlights of this version:
The program "tag" contains a 15 character space for a name (intended to be some kind of program name), 3 characters for the programmer's initials (intended to be for the person that clicks Write to Flash), and a timestamp. The tag is written to the last 64 bytes of program flash. I used 64 bytes becuase I wanted to make space for future versions. If the program occupies that space, the tag won't be written though.

I also included a terminal window (like the annoying one that pops up in IFI Loader). One enhancement that I added is the ability to start and stop it. Sometimes, we use it for debugging, but it scrolls by so fast that we have trouble reading it. My terminal window also has to be called manually (I haven't decided if this is a good thing or a bad thing yet).

With the ability to read the program flash, I added a save feature. It takes what it read from the flash and writes a hex file with it.

There's also a verify option when you write (off by default because it's a little time consuming). After it's done writing, it reads the flash to make sure that everything is correct.

It's still hardcoded to /dev/ttyS0 (COM1 on Windows).
__________________

-----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------
  #9   Spotlight this post!  
Unread 22-08-2005, 23:46
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: IFI Loader Reloaded

Very nice. Off-season I'll take a look at the code, (perhaps port it to my favorite language Python with PyQT support), and make it the new Ifi-pictools
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics
  #10   Spotlight this post!  
Unread 01-09-2005, 22:13
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
Re: IFI Loader Reloaded

Ok, I have a static Windows binary. (Thanks for the offer though, Jack.) To get it however, I needed to make version 0.1.1. It's now ISO C++ compliant and thus compilable with VC++. No other changes though.

Windows binary
Linux/Windows source (not tested on Mac, but might work)

Depending on your system, you might need the VC runtime libraries:
msvcp71.dll
msvcr71.dll
Unzip the files you get there and drop the dlls in C:\Windows\system
__________________

-----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------
  #11   Spotlight this post!  
Unread 05-09-2005, 20:57
foobert foobert is offline
Registered User
no team
 
Join Date: May 2005
Location: oakland, ca
Posts: 87
foobert is a jewel in the roughfoobert is a jewel in the roughfoobert is a jewel in the rough
Re: IFI Loader Reloaded

hello...

i have two questions, one of which is even on topic. has this been tested with the vex programmer? the thing has its own wee little pic built in, whether for obfuscation or actaual added functionality i don't know.

the off topic query is this. are there instructions for the braindead available detailing the installation of mcc18 under wine? is it possible to do this without windows isntalled on the linux machine? i have a dying laptop with windows and mcc18 installed and would like to get the compiler moved over to my desktop before the laptop breathes its last, (literally, the fan has gone intermittent). i have no experience with wine, the pic compiler and pinball are the only two windows programs i use and pinball isn't really important enough to me that i much care.

anyway i'll slurp a copy of the picloader dowline here and see if it'll recogize my toy.

thanks...
  #12   Spotlight this post!  
Unread 05-09-2005, 21:35
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
Re: IFI Loader Reloaded

It hasn't been explicity tested with the Vex kit, but it's compatable with IFI Loader. I think Vex uses IFI Loader, if so, then it should work.

As for mcc18, it runs fine with wine. I haven't tried MPLAB though. Just copy the mcc18 folder to your Linux machine. The Makefile from 245 is also good to have. There's more information in this thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=36377
__________________

-----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------
  #13   Spotlight this post!  
Unread 21-10-2005, 22:12
Manoel's Avatar
Manoel Manoel is offline
Registered User
FRC #0383 (Brazilian Machine)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Porto Alegre, RS, Brazil
Posts: 608
Manoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond repute
Send a message via ICQ to Manoel Send a message via MSN to Manoel
Re: IFI Loader Reloaded

Hi,

First, thanks for this great software. I couldn't test it right now because I don't have an RC with me, but is there a way to copy data from the terminal window? A big problem I have with the original loader is I cannot download such data to analyze it with, say, Matlab or Excel
__________________
Manoel Flores da Cunha
Mentor
Brazilian Machine
Team # 383
  #14   Spotlight this post!  
Unread 22-10-2005, 07:00
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: IFI Loader Reloaded

Quote:
Originally Posted by Manoel
Hi,

First, thanks for this great software. I couldn't test it right now because I don't have an RC with me, but is there a way to copy data from the terminal window? A big problem I have with the original loader is I cannot download such data to analyze it with, say, Matlab or Excel
I can't test it, because I don't have the controller with me, but I'm willing to bet that both the original and the QT loader terminal windows use ctrl-c to copy.
__________________

  #15   Spotlight this post!  
Unread 22-10-2005, 12:06
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
Re: IFI Loader Reloaded

Quote:
Originally Posted by Ryan M.
I can't test it, because I don't have the controller with me, but I'm willing to bet that both the original and the QT loader terminal windows use ctrl-c to copy.
I haven't tested IFI Loader, but I'm pretty sure copy works with mine.
__________________

-----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------
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 and PROG button Dave... Programming 3 20-02-2005 12:03
Does the new IFI Loader work with the old Firmware? gnormhurst Programming 2 17-01-2005 20:11
Um... IFI Loader Ryan M. Programming 3 14-01-2005 21:15
IFI Loader Doc's Raven_Writer Programming 0 21-01-2004 17:53
Bug in IFI Loader rwaliany Programming 2 06-01-2004 21:26


All times are GMT -5. The time now is 17:04.

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