Jump to content
IGNORED

StrangeCart


speccery

Recommended Posts

59 minutes ago, HOME AUTOMATION said:

You need practice!:-D

...I can switch carts fast enough that the console never resets ...I'd estimate <1/15th. sec.:grin:

Well that's plenty fast! In my defence I should not have called it a "cartridge" but rather a "circuit board" since I'm not using a case :) 

  • Like 1
Link to comment
Share on other sites

Most of my questions have been answered in the wiki, here:   ?

 

image.png.d03d1f4d631c612c1e180d7ab2bb6f33.png

 

 

I can save to STRANGE.L - but consistently when I try to call run, I get one line down and a return to the command prompt.

 

image.png.aa1f266c079fe3927e6a4050380148d3.png

 

I thought I would be clever and use the strange cart in a widget, that didn't work out - the cart wasn't seen at all.

 

The menu is seen reliably:

image.png.f38311bc2df27b673c420a313402376e.png

 

call cart is sort of intermittent:

image.thumb.png.fd32d15a04d6df0ed0335ac9b5582511.png

 

FWIW - this console works well with a number of different final groms.

 

The only cartridge I've had problems with intermittent issue on any of my consoles is Super Extended Basic (triton).

 

The next step is to try this in another console.

 

 

 

 

  • Like 1
Link to comment
Share on other sites

6 hours ago, dhe said:

Most of my questions have been answered in the wiki, here:   ?

 

image.png.d03d1f4d631c612c1e180d7ab2bb6f33.png

Thanks @dhe for taking the time to test the board. Sorry to see that there have been issues, but it's a prototype, so not surprising. The documentation you point to above would most likely not help with what you're seeing now. I hope we can work through the problems you're experiencing here.

 

It's good that you posted the pictures here, because this helps me to see what might be wrong. It's very likely the source is bad connection to the cartridge port. Did you put the board into a cartridge case? The reason why I'm asking that is that I suspect the edge connector on the board might be about 1mm too short. It indeed might be strange to try the board without a case, but I've been doing that pretty much all the time due to debugging needs. If the connector is slightly too short, that may help to overcome that problem.

 

It's good that SAVE STRANGE.L worked. That is implemented in GPL completely, no machine code. The reason why that's interesting is that boards only supporting GPL can be single sided, meaning all the required connections are on one side of the edge connector (I forget if its bottom or top part). Thus if that side has a solid connection, the aforementioned SAVE command would work.

 

However, doing CALL RUN starts a whole lot of machinery, and everything needs a proper connection for that to work.

 

It looks like your test program uses an INPUT statement. In addition to disk access commands, that's one of the very few things (fingers crossed) which is not wholly implemented. Sorry about that, I will implement it fully at some point. So please try without the INPUT statement. A good test is a FOR NEXT loop with a print of the index.

 

What about other cartridge images, do they work? If after power up you push the next cartridge button six times and then reset TI with the leftmost button, can you get to to Parsec? The Parsec cartridge header would come from GROM, so you should see that. If you get to the main gameplay screen, then full ROM bus would also work.

 

Edit: if you continue to have problems, we can also take a Zoom call to discuss. It will be a bit of a challenge to find a time slot which would work for both of us due to the time zone difference, but something to keep in mind.

Edited by speccery
  • Like 2
Link to comment
Share on other sites

It occurred to me that if this is a typical problem scenario, i.e. somehow seemingly bad connection (or something) but GPL software seems to work, I can actually write a selftest program in GPL to check that all address lines work. For GPL to work the data lines already have to work. This seems like low hanging fruit and not a lot of effort. I will also make another revision of the PCB to fix this for good, but it would be nice to first know for sure that the problem is the edge connector. Unfortunately I am traveling for the upcoming week so this has to wait for a bit.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

I can actually write a selftest program in GPL to check that all address lines work.

 

That's a great idea. The beauty of TIPI and StrangeCart is you actually have two devices you can ask - how much of that conversation did you see!

  • Like 1
Link to comment
Share on other sites

Another console tried, same random results, before use cleaned contacts with ipa.

 

Good news is - mini mem still appears - appears to be rock solid, and this on a v2 console.

 

I think I will wait for an updated image with some diags and try again.

 

Q: - Can you send me a link to a display that should work?

Link to comment
Share on other sites

19 hours ago, dhe said:

Another console tried, same random results, before use cleaned contacts with ipa.

 

Good news is - mini mem still appears - appears to be rock solid, and this on a v2 console.

 

I think I will wait for an updated image with some diags and try again.

 

Q: - Can you send me a link to a display that should work?

Thanks - when you say mini mem still appears you mean the behaviour is identical on your two systems?

If you want to check a bit more to make sure that GPL only code works, cartridge image #7 is Car Wars, which is a GPL only cartridge.

Have you tried to connect a serial terminal to the USB port? If get that going there would be more debug information available.

As documented here on GitHub you can with a serial terminal issue dir to list cartridge images and load Car Wars with load 7. Once that's done, reset the TI and you should be able run Car Wars. You can also get there by pressing the next cartridge button 7 times, without using serial connection. 

Link to comment
Share on other sites

 

Both consoles showed the same behavior - using only the circuit board, no case.

 

Would a Cisco Console cable work with the Cisco Driver?

 

image.png.7a80a8c5a0bc350d861cb1dfbe830be2.png

 

https://community.cisco.com/t5/cisco-software-discussions/usb-console-cable/td-p/3952600

 

or will I need:

   1) USB to RS232 cable.

   2) Female to Female DB9 adapter.

   3) RS232 to MicroUSB driver.

 

 

 

Link to comment
Share on other sites

3 minutes ago, dhe said:

Yes similar. In fact the LPC54114 MCU has a boot ROM (in addition to the Flash ROM) and the ROM has drivers for certain things, including CDC class. With macOS or Linux, if you just plug-in a USB cable, the StrangeCart shows up as a serial port and any terminal program should work with it.

Link to comment
Share on other sites

I uploaded three new versions of the firmware and explained what do with them here. That's in the wiki at github.

Hopefully this is useful and enables @dhe to get something running or at least produces new results to work with. Please let me know how it goes. A necessary prerequisite is to flash the firmware, so please check that area of the Wiki as well. 

 

For me the A and C versions work well. The A version runs at 96MHz while C at 150MHz. The new startup menu enables some features to run some diagnostics as well directly load Parsec without pushing any of the buttons on the board.

1302336079_FirmwareCScreenShot1.5.202219_35.thumb.png.a216ed3e71286270e44f318302fbe961.png

 

Edited by speccery
  • Like 6
Link to comment
Share on other sites

Hum... Stopper.

 

The wiki says:

"a cable with micro USB connector"

 

I didn't know that there are two micro USB spec.... {la. sigh}

 

 The more common micro USB B cable -

image.png.956e14209566b07b441a9b9d1099fa44.png

 

and the very much more rare, micro USB A cable -

image.png.039f03b2158513c1b24e87b7a6f1c990.png

 

So far, the only place I've been able to google up with the micro USB A cable is spark fun.

   https://www.sparkfun.com/products/11604

 

If anyone knows how to get amazon to produce a real micro USB A cable, please let me know here.

 

Link to comment
Share on other sites

3 hours ago, dhe said:

Hum... Stopper.

 

The wiki says:

"a cable with micro USB connector"

 

I didn't know that there are two micro USB spec.... {la. sigh}

 

 The more common micro USB B cable -

image.png.956e14209566b07b441a9b9d1099fa44.png

 

and the very much more rare, micro USB A cable -

image.png.039f03b2158513c1b24e87b7a6f1c990.png

 

So far, the only place I've been able to google up with the micro USB A cable is spark fun.

   https://www.sparkfun.com/products/11604

 

If anyone knows how to get amazon to produce a real micro USB A cable, please let me know here.

 

The common cable type is the one to use. the one you have pictured micro USB B cable looks like my cables.


I don’t think I have ever seen the rare type you mention. I have used at least a dozen different cables. Basically any micro USB cable I have had for other devices has worked fine (except some cables for power banks which do not have the data lines as they’re intended for charging only).

  • Like 1
Link to comment
Share on other sites

I tested firmware update from Windows using my old Windows 10 laptop. It was very straightforward and simple, just boot into firmware update mode, delete firmware.bin from the drive which appeared, and then drag and drop the new firmware file into the drive. Finally eject the drive, and its all done.

 

I also tested the virtual COM port access from Windows, at least on my PC this worked immediately, the StrangeCart appeared as COM3 and I was able to use TeraTerm to communicate with the firmware. I don't remember if I have installed a .INF file sometime in the past, as I have not used this PC for a few years...

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

I found a cable I had, like the top (black plug) - it took more force then I was comfortable apply, but got it in.

I also ordered what I think should be a perfect fit (red sparkfun).

This weekend - I will use one or the other and try to get a windows machine connected.

 

I also received today a beautiful case for the strangecart in the mail!

  • Like 2
Link to comment
Share on other sites

6 hours ago, dhe said:

If I missed it in the wiki, my apologies...

 

Can the strangecart be programmed with just the usb cable connected, or does it need to be plugged in to the TI and powered on while programmed?

No worries, it is described here in the wiki like this:

The board can be powered by the TI-99/4A computer or by the USB connector. It's ok to be powered by both sources simultaneously, the board has diodes which support this. Note that if the board is inserted into the computer it will still get power through the USB cable even when power is turned off. This is fine.

 

So you can program it just with the cable, no need to plug it in.

 

I today modified a cartridge case and installed the StrangeCart in there, still need to drill holes for buttons and LEDs. The board did work even in the case. I tested with firmware version C. But it seems a bit sensitive to the connection, I had to insert it a few times.

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

I modded a standard cartridge case for the StrangeCart. A quick and dirty job for sure. I can't believe how dusty my computer looks like in this picture, please try to ignore that fact... Running firmware C, i.e. the 150MHz version, the version I released at GitHub doc project.

IMG_5701.thumb.jpg.28f9c52ad8c82b50564c909c887dcd6b.jpg

  • Like 7
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...