Go to Post ... poets, novelists, songwriters, these people are word engineers. - MissInformation [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-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 01-06-2004, 10:41 AM
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
Bug in IFI Loader

Working on Linux Loader
I can't figure out this discontinuity, I think its an IFI bug, port scanner with IFI Loader download

Data Line
:10096000040EDB2A050E01E3DB2A060EDB2A070E46

Request: 12/28/2003 9:50:19 PM.014399064 (+0.0300447000 seconds)
0F 0F 02 02 60 09 00 05 04 0E DB 2A 05 05 0E 01 ....`.....Û*....
E3 DB 2A 06 0E DB 2A 07 0E 52 04 ãÛ*..Û*..R.

OF OF -> header02
02 -> Write09
60 -> Memory address
00 -> Unused
52 -> checksum
04 -> end
Two extra 5's are in there, compared to data, checksum is invalid off by 10.

What I think it should be...
0F 0F 02 02 60 09 00 04 0E DB 2A 05 0E 01 ....`.....Û*....
E3 DB 2A 06 0E DB 2A 07 0E 52 04 ãÛ*..Û*..R.

Checksum works, matches data in as well ^

Answer: 12/28/2003 9:50:19 PM.044443764 (+0.0000000000 seconds)
0F 0F 02 FE 04 ...þ.
How is it confirmed okay with an Invalid checksum?

ReceivedRequest: 12/28/2003 9:50:19 PM.044443764 (+0.0000000000 seconds)
0F 0F 01 10 60 09 00 86 04 ....`..†. VerifyAnswer: 12/28/2003 9:50:19 PM.054458664 (+0.0000000000 seconds) 0F 0F 01 10 60 09 00 05 04 0E DB 2A 05 05 0E 01 ....`.....Û*.... E3 DB 2A 06 0E DB 2A 07 0E 45 04 ãÛ*..Û*..E.
Invalid checksum again on receive to verify call?

Request: 12/28/2003 9:50:19 PM.184652364 (+0.1301937000 seconds)
0F 0F 02 02 70 09 00 01 E3 DB 2A ED D7 05 04 0E ....p...ãÛ*$@#×...
DB CF 2B F0 05 05 0E DB CF 42 04 ÛÏ+ð...ÛÏB.
Continue on, write next batch, ignore previous!?

Kinda unclear, no real documentation. I think it's just a bug in the IFI Loader, not sure. Or they don't have actual implemented verification, unless the verification could have been done at the end. Would have to rescan for that, it didn't capture the whole download only like 75% of it.
__________________
R
  #2   Spotlight this post!  
Unread 01-06-2004, 12:53 PM
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caada, California
Posts: 1,310
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Bug in IFI Loader

Quote:
Originally Posted by rwaliany
Working on Linux Loader
I can't figure out this discontinuity, I think its an IFI bug, port scanner with IFI Loader download.
Ryan,

It's a documented feature if you know where to look .

-Kevin
__________________
Kevin Watson
Engineer at Space Exploration Technologies (SpaceX)
http://kevin.org
  #3   Spotlight this post!  
Unread 01-06-2004, 08:26 PM
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: Bug in IFI Loader

The 0x05 is an excape sequence. The byte following it is one of the commands the the serial bootloader uses. So the 0x05 is ignored for purposes of the CRC

See here: http://www.microchip.com/download/ap...c16/00851b.pdf (page 3 in particular)

I've already decoded the data stream... all the information you need is in that document except for 2 changes which i noted here: http://www.chiefdelphi.com/forums/sh...395#post196395

If you have any questions feel free to ask me...
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 on ME LBK Rules Programming 1 12-18-2003 04:49 PM
IFI Controllers For 2004 Ian W. Rumor Mill 22 10-01-2003 03:09 PM
Last Call for bug reports rbayer Programming 0 01-08-2003 01:48 AM
How much code can an IFI controller handle? Larry Barello Programming 7 02-10-2002 06:06 PM
Small bug Jay Lundy CD Forum Support 1 06-18-2001 04:03 PM


All times are GMT -5. The time now is 03:56 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi