6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Sep 28, 2024 10:22 pm

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Nov 08, 2013 8:56 pm 
Online
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 900
I just received the prototype boards from the fab for the first iteration of MINEO. I had to compromise a little to get the project moving (18 bit RAMS will have to wait for a while). The board wound up with:
    -XC3S400 FPGA
    -XCF02 platform flash
    -JTAG port as usual
    -2 x 128K (or 512K) SRAMS wired as 16-bit-wide memory
    -uSD card connector
    -CP2102 USB-serial converter (I am having issues with the circuit, will probably not populate for now)
    -USB for power (and serial when it works)
    -regulators for 3.3V, 2.5V and 1.2V
    -lots and lots of IO
    -a small prototyping area near RAMS for extra circuitry
Attachment:
MINEO-A.board.jpg
MINEO-A.board.jpg [ 155.77 KiB | Viewed 2246 times ]

I don't have time to check it now... I am sure I made some stupid mistake and will have to run another PCB.

My hope is to use this board as a reference platform for the 65org16 processor family. My price target is $50; I think I can make it work.

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 08, 2013 9:14 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Looks good. One note: I've had great success using the MCP2200 USB to serial converter. I've gotten speeds up to 1Mb using the Br@y terminal program. Free drivers are on Microchip's website. I used their windows drivers when I was experimenting with the 65Org16 Devboard.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 08, 2013 9:20 pm 
Online
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 900
I'll take a look at MCP2200. I've been using factory boards with CP2102 which is why I stuck with it. The 2102 in my CHOCHI-F board did not work - and I copied the circuit to MINEO for expediency. I have to look at it again - I think it's my learning disability acting up again. I am sure it's something simple.

EDIT: MCP2200 seems to need an external oscillator... I'd rather not...

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 08, 2013 9:29 pm 
Online
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 900
I feel a little stupid having missed your 65Org16 Devboard thread altogether, ElEctic_Eye!

Upon a second look, the MINEO is a little different.

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 08, 2013 9:36 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
It's your choice, I'm not pressuring you. What frequency oscillator are you using BTW?

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 08, 2013 9:56 pm 
Online
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 900
The main oscillator is 60MHz, same as the CHOCHI/DILDAR. I have a reel:)

CP2102's need no oscillator, which is why I was drawn to them...

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 08, 2013 10:13 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
I believe I used an external clock signal from the FPGA to feed the 12MHz. It is a clean multiple of 60MHz too... Let me know if you do decide to use it, I have the Devboard board layout and can write up a simple schematic.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 08, 2013 11:02 pm 
Online
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 900
Thanks! I still have 9 2102s, so I will try to fix the circuit first. If I give up, I'll take you up on your generous offer...

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Sat Nov 09, 2013 12:58 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
enso wrote:
The main oscillator is 60MHz, same as the CHOCHI/DILDAR. I have a reel:)

CP2102's need no oscillator, which is why I was drawn to them...

Maybe also because your SiLabs IC supports drivers for Windows, Linux and Mac. Nice choice.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Sat Nov 09, 2013 7:33 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
In my USB serial converter I use a FT230x. It also does not require an external oscillator, and has good driver support.


Attachments:
usb-ttl.jpg
usb-ttl.jpg [ 64.78 KiB | Viewed 2199 times ]
Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 18, 2013 7:23 pm 
Online
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 900
I am beginning to suspect that a batch of XCF02s and XCF01s I bought on AliExpress are fake. They are slightly different from the XCF01s I have that work (they are flat, the good ones have a dimple on top). I now have 4 CHOCHIs that just don't work.

The MINEO board would not scan via JTAG until I replaced the XCF02 with a good XCF01. I put another XCF02, and it's not scanning again...

I will try sticking and XCF01 again and see if I can actually configure the XC3S400. The '01 is not big enough to keep the bitstream, but is required for the JTAG chain to operate.

EDIT
Argh, the board is too fried now. I'll have to reflow another one.

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 18, 2013 8:44 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
enso wrote:
I am beginning to suspect that a batch of XCF02s and XCF01s I bought on AliExpress are fake. They are slightly different from the XCF01s I have that work (they are flat, the good ones have a dimple on top)...

How do you know where pin 1 is on the ones you suspect are fake, since these do not have dimples?

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 19, 2013 12:31 am 
Online
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 900
Instead of the slight round indentation, they have a silksreened dot! Bastards.

I am getting more and more convinced that the XCF02s are problematic. I built another board. It does not scan with the 'XCF02'. It works without the XCF02 (at least IMPACT recognizes the XC3S400) after I short a couple of pins to complete the JTAG circuit. It also works with my tried and true XCF01s (Both XCF01 and XC3S400 are recognized).

Aw, heck. That's the last thing I need to deal with.

EDIT: At least I have a MINEO board that may work! I'll have to scramble to make a bitstream to flash the LED...

EDIT: I also got the CP2102 working in a semi-populated MINEO board.

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 19, 2013 5:08 am 
Online
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 900
Here is a pic of the fake chip. Note that there is no dimple, just a painted dot. Sorry about the quality of the image...
Attachment:
FAKE.JPG
FAKE.JPG [ 82.27 KiB | Viewed 2102 times ]

Here is a picture of what's likely to be a good chip:
Attachment:
NOTFAKE.jpg
NOTFAKE.jpg [ 9.37 KiB | Viewed 2096 times ]

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 20, 2013 6:42 pm 
Online
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 900
Good news, friends!

I am flashing an LED with my torture setup for Mineo:
Attachment:
mineo.double.jpg
mineo.double.jpg [ 72.91 KiB | Viewed 2065 times ]


That means that power connections, clocking and at least some IOs are OK.

The bottom board provides USB power and was the initial build. The top board has the FPGA and the crystal. Perhaps it's time to build a full board...

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: enso and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: