View Single Post
  #8   Spotlight this post!  
Unread 08-22-2005, 07:25 PM
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------