Go to Post There are 1,450 schools in my district. Needless to say not all of them have teams..yet. - Scott Carpman [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 28-01-2007, 03:33
Shinigami2057 Shinigami2057 is offline
Slackware Is Your New God (Mentor)
AKA: Harry Bock
FRC #1350 (Rambots)
Team Role: Programmer
 
Join Date: Oct 2006
Rookie Year: 2006
Location: Johnston, RI
Posts: 106
Shinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really nice
rigel: yet another program loader!

Well, you're probably all going to roll your eyes at yet another program loader for the FRC, but I hope mine stands out a bit, so please give it a chance

Over the last two months, I've been writing and extensively testing my program loader, which is called rigel. Actually, I'm quite sick of the name (which was temporary in the first place), so if any of you have a better one, I'd be happy to rename it.

The loader and corresponding library is free software, licensed under the GPL. It (hopefully) is worth your time because:
  • It is complete. The entire AN851 specification is implemented, including IFI's non-standard additions to it. The INHEX32 implementation includes support for extended linear addresses, allowing for use of the full addressing space of the 2006/2007 FRC.
  • It is portable. Rigel runs on any POSIX-compliant platform and Windows.
  • It is extensible. If next year they upgrade the PIC18, it is trivial to update the configuration file to reflect the new memory sizes.
  • It is robust. Rigel can upgrade the master firmware, read the normal program memory and the boot sector, read EEPROM data to file, capture output from the device, and read/write to HEX, BIN, and raw binary data, in addition to just loading the program.
  • It is well-encapsulated (much like pycloader) and has a simple API that can be statically linked against for your own programs and utilities. Some example utilities can be found in the utils/ dir of the source.

At the moment, it is currently command-line only (although very simple to use). I have delegated the task of writing an ncurses front-end to one of our programmers, and I am writing a wxWidgets GUI for it to make life easier for those who don't like the command line.

The only issue is that it probably doesn't yet work on big-endian architectures, but that should be very easy to fix. Just compile it with make and it should be fine on any platform with gcc (mingw32 works fine for windows). I'll build a Windows executable tomorrow and upload it; for now, here is the source and the readme:

http://lights2dx.net/source/other/rigel-0.12.tar.bz2
http://lights2dx.net/source/other/rigel/README

My team has been using it with no issues on slackware/i486 and I've tested it on Fedora 6/x86_64, but if you find any problems with it (or if you hate it), please post them here.
__________________
One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
 


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
Another Loader Error Semicolon Programming 9 09-02-2006 17:39
yet another programming error hawk_11 Programming 2 13-02-2005 15:57
yet another joystick question Stormhammer Rules/Strategy 2 19-01-2004 10:10
Yet another illustrator question ryan_f Computer Graphics 3 02-09-2003 16:10
Yet another dashboard program Neal Probert Programming 3 12-05-2002 10:43


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

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