Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: Mighty Moose on October 21, 2010, 05:36:59 pm

Title: USB8X/USB Link problems
Post by: Mighty Moose on October 21, 2010, 05:36:59 pm
Like the title says, I'm having problems with the USB linking - not quite sure why, although I think maybe because of MSD8X and USB8X. 
Here's what I know:
 -the port itself works fine (it links [when it wants to], and will not have any problems for a while, but every so often it does not want to link to anything [e.g. other calcs, computer, etc.])
 -MSD8X seems to trigger the problem - when I first plug in a flash drive, the whole system freezes (keys don't work, lcd freezes); then, after a few seconds, the calc returns to normal - I can navigate through menus and such.  But running the MSD8X app causes something to go wrong - A blinking cursor appears in the upper left hand corner, the apps menu does not get erased, and navigating to other menus pastes them to the "background".  Pressing clear does nothing to erase the "background" - the only way to fix it is to shut off the calc and turn it back on.  Afterwards, USB linking with other calcs and what not does not work.
 -setting the calc in self-test mode seems to fix the linking problem.

This app should work - I tested it on my 84+ - it works fine.  Also, the calc I am running this on (84+SE, OS 2.43, and Boot Code 1.00, with both MSD8X and USBDRV8X on it) has the extra ram pages.  What is going on?  Is there any way I can fix it?  Any help would be appreciated. TIA
Title: Re: USB8X/USB Link problems
Post by: SirCmpwn on October 21, 2010, 05:53:12 pm
Yeah, I've seen this too, but I can't remember how I fixed it x.x Perhaps brandonw or the like can help out.
Title: Re: USB8X/USB Link problems
Post by: Geekboy1011 on October 21, 2010, 10:17:05 pm
try a ram clear that had happened to me b4 and a ram clear fixed it also what brand flash drive as some are incompatable
Title: Re: USB8X/USB Link problems
Post by: BrandonW on October 21, 2010, 11:41:47 pm
Low batteries can cause that behavior as well.
Title: Re: USB8X/USB Link problems
Post by: Mighty Moose on October 22, 2010, 11:38:39 am
Brandon was right - it was the batteries.  Even though I never got the message saying they were low, I was using two different brands of batteries.  I swapped them out, and now it works fine.

Thanks everyone for helping! ;D
Title: Re: USB8X/USB Link problems
Post by: DJ Omnimaga on October 22, 2010, 05:44:16 pm
Oh, using two brands at once is generally discouraged. I tried before and my calc shutted down before the low batt message appeared.
Title: Re: USB8X/USB Link problems
Post by: Mighty Moose on December 24, 2010, 10:06:32 am
Bit of a necropost, but...

IT'S NOT WORKING AGAIN!!! :banghead:

(and this time it's not the batteries ???)

Any suggestions?  I know the flash drive and all the other stuff I'm using works (it works on my regular 84+).

Help? ???
Title: Re: USB8X/USB Link problems
Post by: jnesselr on December 24, 2010, 11:22:46 am
On your regular 84+?  I think that usb8x uses extra ram pages, so it might be that you don't have them and therefore can't use it.
Title: Re: USB8X/USB Link problems
Post by: souvik1997 on December 24, 2010, 12:32:26 pm
On your regular 84+?  I think that usb8x uses extra ram pages, so it might be that you don't have them and therefore can't use it.

I have a TI84+SE without the extra RAM pages and USB8X/MSD8X works perfectly for me.
Title: Re: USB8X/USB Link problems
Post by: jnesselr on December 24, 2010, 12:34:36 pm
On your regular 84+?  I think that usb8x uses extra ram pages, so it might be that you don't have them and therefore can't use it.

I have a TI84+SE without the extra RAM pages and USB8X/MSD8X works perfectly for me.
Hm.. Don't know then.  Maybe a little more information other than "it doesn't work" can fix this.  Remember that usb is fickle and strange, and that we don't fully know all about it.
Title: Re: USB8X/USB Link problems
Post by: thepenguin77 on December 26, 2010, 12:17:51 am
MSD8X does require the extra ram pages. I remember brandonW saying before that he was amazed that people got it to work on calculators that didn't have enough ram. I guess the only explanation would be if there aren't many files on the flash drive so that the different buffers don't overflow into each other.
Title: Re: USB8X/USB Link problems
Post by: jnesselr on December 26, 2010, 12:42:00 pm
MSD8X does require the extra ram pages. I remember brandonW saying before that he was amazed that people got it to work on calculators that didn't have enough ram. I guess the only explanation would be if there aren't many files on the flash drive so that the different buffers don't overflow into each other.
I'm pretty sure page 87h is used for logging of files.  I got a cable to test this stuff with now.
Title: Re: USB8X/USB Link problems
Post by: Mighty Moose on December 26, 2010, 10:48:15 pm
Sorry for being so non-descript.  Read the first post to get a general idea of what is happening.

The strange thing is that this calc has extra ram pages - I don't understand why it doesn't load correctly.  I don't think it's a hardware issue, but I'm not sure what else to do.  Creating an external program to initialize usb (with usb8x basic libs) doesn't work (it strangely quits mid-execution) and creating one to run the app doesn't either.

Maybe it's because I have boot code 1.00?  IDK, but it is rather annoying.
Title: Re: USB8X/USB Link problems
Post by: jnesselr on December 26, 2010, 10:53:24 pm
Sorry for being so non-descript.  Read the first post to get a general idea of what is happening.

The strange thing is that this calc has extra ram pages - I don't understand why it doesn't load correctly.  I don't think it's a hardware issue, but I'm not sure what else to do.  Creating an external program to initialize usb (with usb8x basic libs) doesn't work (it strangely quits mid-execution) and creating one to run the app doesn't either.

Maybe it's because I have boot code 1.00?  IDK, but it is rather annoying.
I know that usb8x doesn't work until calc version 2.30 or something  Yeah, just checked the readme. It should check for base code 2.30.

EDIT: I have boot code 1.02, and I'm pretty sure I have extra ram pages.

But I have seen this very problem before. Let me remember what I did to fix it.
Title: Re: USB8X/USB Link problems
Post by: Mighty Moose on December 26, 2010, 10:57:29 pm
I have OS 2.43 on there - when I got it from my friend, it had 2.21 on it ;) - I know it won't run under 2.30 because it uses specific BCALLs from 2.30+.

Maybe I should mention this, but it is probably not important: it is a teacher edition (aka has the extra port above the LCD).
Title: Re: USB8X/USB Link problems
Post by: jnesselr on December 26, 2010, 11:03:18 pm
I have OS 2.43 on there - when I got it from my friend, it had 2.21 on it ;) - I know it won't run under 2.30 because it uses specific BCALLs from 2.30+.

Maybe I should mention this, but it is probably not important: it is a teacher edition (aka has the extra port above the LCD).
That's not important. I had this error once, and can't remember for the life of me how I fixed it. (cursor in the top left corner).  Put calcsys on there. Load a flash drive with 2 files. (A.txt with no data in it and B.txt with the "THE GAME" as it's contents).  Make sure the flash drive is formated as fat16. I would suggest using the smallest one you have, like 512 MB or something.  Plug the flash drive in with the correct cable (mini-A to standard male A).  Then, run MSD8x.  If this doesn't still give you access, go into calcsys.  Go to the hex editor. Type Alpha and then G. Type in "4000".  Then, press Alpha and then R. Type 87.  See if anything about A.txt or B.txt is on there.
Title: Re: USB8X/USB Link problems
Post by: Mighty Moose on December 26, 2010, 11:10:41 pm
...Put calcsys on there...
Already got it  ;D
...Make sure the flash drive is formated as fat16. I would suggest using the smallest one you have, like 512 MB or something...
Got a 1 gigabyte drive formated as FAT16 (full of crap, but still).  Like I said, I can use my other calc ;).
...go into calcsys.  Go to the hex editor. Type Alpha and then G. Type in "4000".  Then, press Alpha and then R. Type 87.  See if anything about A.txt or B.txt is on there...
I assume this changes which page I am viewing in the memory?

EDIT: Okay, I'll go and try this quickly.  I'll report what I find in a bit.
Title: Re: USB8X/USB Link problems
Post by: jnesselr on December 26, 2010, 11:12:03 pm
Yes, it changes the page you are viewing.
Title: Re: USB8X/USB Link problems
Post by: Mighty Moose on December 26, 2010, 11:26:59 pm
Update:  What the...? First it started complaining my batteries were low  (error 1208, I think), so I changed them, and now it works fine again.  I don't understand - I've tried this before and it doesn't work.

EDIT: 
Quote
...B.txt with the "THE GAME"...
Dang it, I lost...
Title: Re: USB8X/USB Link problems
Post by: jnesselr on December 27, 2010, 12:38:52 am
Yeah, the usb driver can be fickle.

EDIT: Fickle meaning that apparently you can sometimes even reset your calc and it still won't work.  I got the exact error you did yesterday, with the cursor in the top left corner.  Plug in your flash drive into the cable, and then the cable into the calc, then run MSD8x.
Title: Re: USB8X/USB Link problems
Post by: Mighty Moose on December 28, 2010, 10:12:03 am
Reproduced error - I tried something a little different than two blank docs.

Ran it correctly (the error only occurs sporadically now), opened a specific folder
Verified in Calcsys that it wrote to page 87h
reproduced error somehow (don't ask me how)
viewed page 87h again

Results:
No writing at all to page 87h - the content was the same both times I checked it.
Other than the blinking orange light on my flash drive, nothing happens at all (except said error).
Title: Re: USB8X/USB Link problems
Post by: jnesselr on December 28, 2010, 05:51:02 pm
It may have done it on a different page then. I'm not entirely sure. Try pages 80-87 as those are the ram pages. When I did it, it showed up on 87.
Title: Re: USB8X/USB Link problems
Post by: Mighty Moose on December 28, 2010, 06:25:02 pm
Okay - experimenting with extra ram pages - fun ;D

Calcsys shows that page 80 is essentially a copy (I think?) of page 87  (w/o running MSD8x, that is)
Page 81 and 86 are used by omnicalc to backup ram - I don't think it has written to either page, as ram restores have been normal
Page 82 and 83 are mostly junk (organized junk, however - no idea what it is used for)
Page 85 is confusing - I find recently run programs (names) and other assorted junk.

What kind of issue is this? Hardware? Software?  At this point I don't know what to think - it sporadically works and fails.
Title: Re: USB8X/USB Link problems
Post by: jnesselr on December 28, 2010, 06:31:52 pm
Most likely both hardware and software. The usb driver is strange, but we don't fully understand it either. And MSD8x could seek improvement as well.
Title: Re: USB8X/USB Link problems
Post by: Mighty Moose on January 02, 2011, 03:58:48 pm
Okay: I ran a test (this time actually triggering the bug) and it appears that no pages get written to.  Any ideas now? :banghead:
Title: Re: USB8X/USB Link problems
Post by: jnesselr on January 02, 2011, 04:03:52 pm
Not a clue.