Jump to content

Photo

Racing the Atari bus with a STM32F4 microcontroller

stm32f4 cartridge

132 replies to this topic

#101 electrotrains OFFLINE  

electrotrains

    Moonsweeper

  • Topic Starter
  • 277 posts
  • Location:Scotland

Posted Tue Jan 24, 2017 10:07 AM

Hi Larry,

 

As it is, I've made a handful of them and sold them to people on this thread that have expressed interest in the project. Partly to recoup development costs (developing hardware is quite an expensive hobby) and partly for a bit of testing and feedback.

 

Since the response has been so positive, both myself and flashjazzcat are thinking about a bigger run in the future. When we're ready, we'll properly announce the project and start an orders thread. I didn't see any point doing this before we are ready - the demand for the Ultimate Cart in the early days left me feeling under pressure to build an impossibly large number of them, and those that wanted one frustrated by the time it took me to produce them.

 

But at the moment, this is more of a beta for those interested rather than for "general sale" if that makes sense.

 

Robin



#102 rdea6 OFFLINE  

rdea6

    River Patroller

  • 2,618 posts
  • Location:Arizona USA

Posted Tue Jan 24, 2017 5:20 PM

Concerning the UNO-cart would it be possible to have more than one Drive emulated like D1: --- D4:  If this could happen I would be a Happy Guy.



#103 Wrathchild OFFLINE  

Wrathchild

    Stargunner

  • 1,899 posts
  • Location:Reading, UK.

Posted Tue Jan 24, 2017 5:46 PM

what are the common use cases for wanting multi-drive access these days?



#104 electrotrains OFFLINE  

electrotrains

    Moonsweeper

  • Topic Starter
  • 277 posts
  • Location:Scotland

Posted Thu Jan 26, 2017 1:35 PM

Hi All,

 

I've posted a new version of the UnoCart firmware (v1.2) to the github site.

https://github.com/r...edwards/UnoCart

 

Verson 1.2 adds support for CTRL+cursors keys to support external PS2 keyboard as requested, and also fixes a bug with large (>64k) XEX files.

 

You'll need an ST-Link dongle (example below) to reprogram the firmware (as described in the manual):

http://www.ebay.co.u...g8AAOSw~OdVf-Tu

 

I know that some of the people that I've sent UnoCarts to already have these dongles, but for those that don't, the dongles are available on ebay for as little as £2/$2 if you don't mind waiting for delivery from China or Hong Kong.

 

If you don't want to do that, I'll be happy to reprogram the firmware for you, if you post the cart back to me. However it's probably worth waiting until there is a "final" release of the firmware, since flashjazzcat and I may think about extending the ATR functionality.

 

Robin



#105 CharlieChaplin OFFLINE  

CharlieChaplin

    River Patroller

  • 2,676 posts

Posted Thu Jan 26, 2017 5:02 PM

However it's probably worth waiting until there is a "final" release of the firmware, since flashjazzcat and I may think about extending the ATR functionality.

 

Robin

 

So,

 

I wish there would be a firmware update for the Ultimate cart. to support ATR images as well...



#106 Kyle22 OFFLINE  

Kyle22

    River Patroller

  • 3,204 posts
  • Location:McKees Rocks (Pittsburgh), PA

Posted Thu Jan 26, 2017 11:44 PM

 

So,

 

I wish there would be a firmware update for the Ultimate cart. to support ATR images as well...

I like the idea, but please don't make it interfere with SDX or the SIDE Loader..  As long as it can be disabled, it's fine with me.

:)



#107 electrotrains OFFLINE  

electrotrains

    Moonsweeper

  • Topic Starter
  • 277 posts
  • Location:Scotland

Posted Fri Jan 27, 2017 2:48 AM

 

So,

 

I wish there would be a firmware update for the Ultimate cart. to support ATR images as well...

 

The Ultimate Cart (and the UnoCart) are hobby projects. I designed them in my spare time for fun and to learn more electronics - if I can cover my development costs by selling a few boards then I'm happy. If I can contribute something to the Atari 8-bit scene then I'm happy too.

However, the Ultimate Cart does everything I originally wanted it to do i.e. emulate a wide range of cartridges from SD card. I also did a further firmware update to add the XEX loader because I thought I'd find that useful. But I don't have the inclination to add ATR functionality to the Ultimate Cart - it's too much work and I can't be bothered - I'd rather design something new.

 

Both projects are open source, so if you want to add more functionality, you can!

 

Robin



#108 MaG2k OFFLINE  

MaG2k

    Space Invader

  • 11 posts
  • Location:Germany

Posted Mon Jan 30, 2017 3:42 AM

Hi electrotrains,

 

is it possible to allready get one (or two) cased uno cart's or did you stopped making batches? am i to late?

 

best regards

MaG2k

 

P.S.: is any one in this forum still making a batch of the Ultimate Cart here in Europe?



#109 OliBoe OFFLINE  

OliBoe

    Combat Commando

  • 1 posts

Posted Mon Jan 30, 2017 4:31 PM

Hi,

 

I'm in for one caed/boxed UNO-CART from the next run as well.

 

Regards,

Oliver

 

P.S: Does anybody want to sell a SIO2SD (with case and SIO cable) and ship to Germany?



#110 David_P ONLINE  

David_P

    Dragonstomper

  • 856 posts
  • Location:Canada

Posted Mon Jan 30, 2017 4:55 PM

You can still purchase a SIO2SD from Lotharek.  See http://www.lotharek.pl/products.php?kid=10 



#111 npturton OFFLINE  

npturton

    Chopper Commander

  • 188 posts
  • Location:Rotherham, UK

Posted Mon Jan 30, 2017 8:09 PM

Robin

 

Im in for 1 cased when you get time to make some more

 

Regards

 

Nige



#112 KlasO OFFLINE  

KlasO

    Space Invader

  • 32 posts
  • Location:Stockholm, Sweden

Posted Tue Jan 31, 2017 11:25 AM

Hi,

When/if available, I'd like to order a UNO cartridge.

Kind regards
Klas

#113 1NG OFFLINE  

1NG

    Chopper Commander

  • 134 posts
  • Location:Lübeck, Germany

Posted Sat Feb 4, 2017 3:20 PM

You'll need an ST-Link dongle (example below) to reprogram the firmware (as described in the manual):

http://www.ebay.co.u...g8AAOSw~OdVf-Tu

 

I know that some of the people that I've sent UnoCarts to already have these dongles, but for those that don't, the dongles are available on ebay for as little as £2/$2 if you don't mind waiting for delivery from China or Hong Kong.

 

I have received my ST-Link dongle. It comes with an USB-Stick with 10 connectors. The Uno Cart has 6+2 connectors and the cable has only 4 connectors on each side.

How do I have to connect the dongle and the uno cart for the update?

 

There is a description for the Uno Cart:

Pin 2 SWCLK
Pin 3 GND
Pin 4 SWDIO

And the 5V Pin of the other connector with two pins.

But where to connect to on the 10 pins of the USB ST2?

(And it seems, that I need extra male/male pins to connect the female connectors of the Uno Cart to the female connectors of the cable)

What program should be used?



#114 electrotrains OFFLINE  

electrotrains

    Moonsweeper

  • Topic Starter
  • 277 posts
  • Location:Scotland

Posted Sun Feb 5, 2017 1:05 AM

 

I have received my ST-Link dongle. It comes with an USB-Stick with 10 connectors. The Uno Cart has 6+2 connectors and the cable has only 4 connectors on each side.

How do I have to connect the dongle and the uno cart for the update?

 

There is a description for the Uno Cart:

Pin 2 SWCLK
Pin 3 GND
Pin 4 SWDIO

And the 5V Pin of the other connector with two pins.

But where to connect to on the 10 pins of the USB ST2?

(And it seems, that I need extra male/male pins to connect the female connectors of the Uno Cart to the female connectors of the cable)

What program should be used?

 

I made a little adapter using some male/male and female headers I had in my parts box. I can send you one in the post if you don't have the bits to hand?

Alternatively, something like this:

http://www.ebay.co.u...4YAAOSwl8NVXuwX

 

For programming, you need the ST-Link software:

http://www.st.com/en...sw-link004.html

 

Only 4 connections need to be made between the ST-Link dongle and the cartridge. The ST-Link should have a little diagram on it, indicating which pins are which.

 

Robin


Edited by electrotrains, Sun Feb 5, 2017 1:08 AM.


#115 rdea6 OFFLINE  

rdea6

    River Patroller

  • 2,618 posts
  • Location:Arizona USA

Posted Fri Feb 10, 2017 4:19 PM

STLINK arrived in the mail today and I got the UNO-cart flashed with the new updated hex file.

 

Settings for the STLINK were a bitch, but the warning dialogues helped somewhat..



#116 mytekcontrols OFFLINE  

mytekcontrols

    River Patroller

  • 2,541 posts
  • Location:Santa Rosa, CA

Posted Fri Feb 10, 2017 5:10 PM

STLINK arrived in the mail today and I got the UNO-cart flashed with the new updated hex file.

 

Settings for the STLINK were a bitch, but the warning dialogues helped somewhat..

 

I got an STLINK coming. Any suggestions on doing the settings :?

 

- Michael



#117 rdea6 OFFLINE  

rdea6

    River Patroller

  • 2,618 posts
  • Location:Arizona USA

Posted Fri Feb 10, 2017 8:14 PM

Capture.PNG

 

Screen capture of my St-Link.  I had to upgrade before it would let me program the ST32 chip.  Only round machine pins would fit into the UNO-cart, but the wiring was standard square.  I had some of these so just held the wires a little south to make good contact.  I split the row of Machine pins in two groups.  One of 3 pin and the other of 2 pins.  The two pins went to Voltage 5v and the other 3 pin I stuck into the UNO-cart at 2-3-4. 

 

Some I have forgotten already. 

 

 



#118 electrotrains OFFLINE  

electrotrains

    Moonsweeper

  • Topic Starter
  • 277 posts
  • Location:Scotland

Posted Sat Feb 11, 2017 12:46 AM

Roy,

 

Glad you got it upgraded successfully.

 

I think that the ST-Link software default settings are fine for programming.

I don't recall even going into the dialog you've shown. I just do target/connect, then program & verify and select the hex file.

 

Robin



#119 electrotrains OFFLINE  

electrotrains

    Moonsweeper

  • Topic Starter
  • 277 posts
  • Location:Scotland

Posted Fri Jan 19, 2018 3:33 PM

I bought an Atari 2600 from ebay last year since I used to play with one at a friends house after school, and I fondly remembered the Combat cartridge and its many game variations.

 

Anyway, since I had some spare time over the last few evenings, I decided to it introduce it to my STM32F4 Discovery board....

 

 

The hardware and STM32F4 firmware was pretty trivial, but writing the 2600 side was extremely hard work!

Can't recommend this book enough:

https://www.amazon.c.../dp/1541021304/

 

Robin


Edited by electrotrains, Fri Jan 19, 2018 3:36 PM.


#120 mytekcontrols OFFLINE  

mytekcontrols

    River Patroller

  • 2,541 posts
  • Location:Santa Rosa, CA

Posted Sat Jan 20, 2018 1:50 AM

I got side-tracked by something ( :ponder:) and never did get around to reprogramming my UNO Cart with the latest firmware. Although I'm still a bit preoccupied by another project, but I do plan on getting back to this eventually.

 

- Michael



#121 electrotrains OFFLINE  

electrotrains

    Moonsweeper

  • Topic Starter
  • 277 posts
  • Location:Scotland

Posted Sat Jan 20, 2018 2:02 AM

It crossed my mind that with a little adapter, and a new firmware that combined both the UnoCart stuff, and the new 2600 stuff - the UnoCart could auto-detect the hardware and be a dual purpose Atari 8-bit and 2600 SD-multicart! I've matched the address and data-bus connections on this new design, so is a real possibility.

 

But I think I'll work this up as a stand-alone 2600 cartridge PCB first...

 

Robin



#122 Matej OFFLINE  

Matej

    Moonsweeper

  • 381 posts

Posted Sat Jan 20, 2018 10:01 AM

Wow this is cool!

#123 electrotrains OFFLINE  

electrotrains

    Moonsweeper

  • Topic Starter
  • 277 posts
  • Location:Scotland

Posted Thu Feb 1, 2018 3:03 PM

Hi all,

 

I've created a github page for my Atari 2600 multicart project. It's now called the UnoCart-2600, since its basically an UnoCart for the 2600 ;-).

 

https://github.com/r...ds/UnoCart-2600

 

On the github page you'll find the firmware, source code, and rough building instructions for a DIY version using the STM32F407 Discovery board, in case anybody fancies building one. If you've already built a DIY UnoCart then its pretty much a case of changing the cartridge slot breakout board,  reprogramming the firmware on the discovery board and you're done.

 

I've got a couple of spare 2600 cartridge breakout boards if anybody is interested in building.

 

I also designed a stand alone 2600 cartridge PCB, and they arrived in the post today (got the design in just before Chinese new year holiday). I soldered the bits on this afternoon, and it worked first time. Always a pleasant surprise!

 

P1160293.jpg

 

Robin

 

 

 

 



#124 Matej OFFLINE  

Matej

    Moonsweeper

  • 381 posts

Posted Fri Feb 2, 2018 12:47 PM

Super cool! Will you sell those? Or who? 


Edited by Matej, Fri Feb 2, 2018 12:47 PM.


#125 electrotrains OFFLINE  

electrotrains

    Moonsweeper

  • Topic Starter
  • 277 posts
  • Location:Scotland

Posted Fri Feb 2, 2018 2:34 PM

Super cool! Will you sell those? Or who? 

 

Maybe, after a few people have tested it, and I've fixed any bugs. So far I've only tried it on my 2600 jr.

 

Robin







Also tagged with one or more of these keywords: stm32f4, cartridge

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users