6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 3:48 pm

All times are UTC




Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 10:57 am 
Offline

Joined: Sat Jun 04, 2016 10:22 pm
Posts: 483
Location: Australia
I'm wondering:
What sort of internal peripherals are planned to be on these microcontrollers? I would be interested in TTL serial and SPI, beyond the obvious parallel I/O.
How will they be programmed?
Also, will it be one chip for all three cores? Or will it be a distinct chip for each? I ask because the use of the term ASIC suggests to me that there will be one core in each type of chip, but the comments here look like they're heading in the direction of one chip for all three cores(That, to me, seems to be closer to an FPGA with peripherals built in).


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 12:09 pm 
Offline

Joined: Sat Sep 02, 2017 8:20 pm
Posts: 21
ttlworks wrote:
Maybe it's a bit too early to ask that sort of questions, but:


How much memory we are talking about ?

Since all of those three cores have their pros and cons:
Would it be possible to have all three retro cores up and running, or just only one core at a time ?

Would there be a mechanism for booting the cores from an external SPI EEPROM ?

Since page 10 of the slide "mentions" robotics, what peripherals are going to be in this microcontroller ?

BTW: please don't underestimate the effort required for having "nearly bug free" peripherals in a microcontroller.
One could, of course, just try to add sort of an 8031 core or such (which probably has some peripherals "included")...

"Customers" nowaday probably would insist to have Microcontrollers with USB and Ethernet connectivity integrated. ;)

...Would be nice if the package of the chip won't be too impractical to solder for hobbyists.


A lot of interesting questions indeed and some of the things are on list of to be investigated.
What I currently have in mind:
  • In general I have lot's of ideas but I need to keep the scope of the first project in control. Several crowdfunding projects have failed in the past because they tried to do too many things in one go.
  • I use tested cores only to avoid problems in the chip. The three cores are all tested in FPGA projects emulating old computer and thus carefully tested. I don't plan to change them anymore with risk of introducing bugs.
  • I currenlty plan to have only one core active at a time; otherwise bus arbitration between and the on-chip RAM needs to be implemented which increases the risk of chip not working.
  • the peripheral I will be investigating are the simpler serial ones: UART, I2C, SPI, PWM, ...; if first project is successful there is likely room in the future for test chips include USB, Ethernet or even analog like ADC, DAC, opamps, ...
  • One of the stretch goals in the project will likely be for on-chip NVM so that the uC will boot from that; if not it will boot from external I2C or SPI FLASH. Likely external FLASH contents will be copied in on-chip RAM at reset.
  • The number of IOs, on-chip RAM and eventually on-chip NVRAM is still under investigation; please watch hackaday site.
  • The robotics is future possible market. After this project in future I can look at higher voltage IO to 12V or 24V; other possible use case is maybe audio etc. Again to keep scope manageable I focus now on microcontroller with 5V IO only.


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 12:25 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1392
Thanks for providing some more info about the project.

;---

My point is:

_If_ the chip would contain "a reasonable amount" of "programmable logic",
you won't have to worry about designing the peripherals (plus the related bugs),
and you also won't have to worry about bus arbitration etc.

Because then those things could be implemented _after_ the chip is completed.

IMHO this would speed up the development process for the chip a little bit
while reducing the risk of introducing bugs.

// Of course, exactly defining what a "reasonable amount" is would be going to be difficult...


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 1:59 pm 
Offline

Joined: Sat Sep 02, 2017 8:20 pm
Posts: 21
ttlworks wrote:
What really would be cool would be having sort of "a small FPGA area" (nothing fancy) on the chip,
tied to some registers, up\down counters and comparators (ALUs would give more flexibility, of course).


@ ORConf one of the ideas that popped up there (with yours truly part of the inspiration) was a fully open source FPGA. The myStorm guys seem to be interested. This is currently a separate project, but I will support it where possible. If successful this will become part of the open source portfolio people will be able to use on their custom chips.


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 2:13 pm 
Offline

Joined: Sat Sep 02, 2017 8:20 pm
Posts: 21
ttlworks wrote:
IMHO this would speed up the development process for the chip a little bit
while reducing the risk of introducing bugs.


Unfortunately not, including some programmable logic is easier said than done. And it's not the amount that is the problem it's the base programmable cell and especially the programmable interconnect in between them.


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 2:30 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
In many ways a microcontroller is the opposite of an ASIC - it's not application specific, instead it has a range of peripherals and some configurable choices of how the I/Os are routed to the peripherals, such that a single standard part can be a suitable solution for many different problems. That costs some silicon area but has become a normal thing to do. No-one worries too much about the timer/counters or UARTs which they didn't need, concentrating on the bits they did need. They get a good price because the volume is correspondingly higher. It's hard to overestimate the effect of volume in electronics and microelectronics!

For this particular project, if the design is pad-limited then it makes good sense to include all three cores, and allow any one of them to be the one that's running. It might make good sense even if it isn't pad-limited, because it makes the part appeal to more people and so can sell in a higher volume.

The real difficulty is in the spec: everyone will have an opinion as to what's attractive to include! The secret, I think, is to listen to what people are asking for, but don't in any way attempt to please everyone. Possibly even use your own judgement and please no-one. The people who speak up may not be representative.


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 4:03 pm 
Offline

Joined: Sat Sep 02, 2017 8:20 pm
Posts: 21
BigEd wrote:
For this particular project, if the design is pad-limited then it makes good sense to include all three cores, and allow any one of them to be the one that's running. It might make good sense even if it isn't pad-limited, because it makes the part appeal to more people and so can sell in a higher volume.


The selected cores are relatively small, the area will be filled up by on-chip RAM so the number of IO will determine the amount of on-chip RAM and the cost. Originally I planned to have a separate chip for each core but it would make almost no difference in price per chip and the logistics become more difficult as you have to sort the dies or packaged chips or pay setup costs for each of the chips...


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 4:05 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
What package are you thinking of offering?

The support of 5V should be a big help in the retro community. And being a "real chip" as opposed to an FPGA will also help, as there are some people out there who have some sense of authenticity which isn't satisfied by FPGA.


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 4:15 pm 
Offline

Joined: Sat Sep 02, 2017 8:20 pm
Posts: 21
BigEd wrote:
What package are you thinking of offering?


Likely a poor men's package, e.g. direct-on-board (die is put on PCB and wire-bonded directly to PCB). The prices I have now make setup costs for packaging higher than direct-on-board for low volumes.
I plan to have different PCB layouts on which I will likely ask the community feed back in a later stage. One will certainly be a DIL compatible one and most likely also an Arduino compatible one. An advantage is also that I can put the JTAG interface not in the DIL pins.
If demand is unexpectedly high I can go for 'real' packages.


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 4:21 pm 
Offline

Joined: Sat Sep 02, 2017 8:20 pm
Posts: 21
BigEd wrote:
The real difficulty is in the spec: everyone will have an opinion as to what's attractive to include! The secret, I think, is to listen to what people are asking for, but don't in any way attempt to please everyone. Possibly even use your own judgement and please no-one. The people who speak up may not be representative.


I take the peripherals available on the AVR uCs used for the Arduino boards as reference except the ADC. Problem is finding tested cores with the right license.


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 4:36 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
I would think a DIL-compatible board would be good for retro people.


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 6:07 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8428
Location: Southern California
Links updated Jan 13, 2022.

For good density on proto boards with .100" hole spacing, .025" square posts work well, and you can put a double row down each side, similar to a QUIP.

Attachment:
StraightPinHeader.jpg
StraightPinHeader.jpg [ 49.44 KiB | Viewed 3180 times ]


Sockets are inexpensive and readily available. Even wire-wrap sockets are available although WW is not so cheap anymore.

Attachment:
WW_socket2.jpg
WW_socket2.jpg [ 23.15 KiB | Viewed 3180 times ]


To make it like a normal DIP to go in a DIP socket, you can use Interplex NAS's pins. See https://interplex.com/resources/solder- ... catalogue/ . Here's an example: https://interplex.com/wp-content/upload ... P-10AA.pdf :

Attachment:
NAS_DIPins1.jpg
NAS_DIPins1.jpg [ 26.94 KiB | Viewed 3180 times ]


You solder them to your foil contact points on the edge of the board to make real IC pins. After they're on, you remove the strip at the bottom that keeps them straight and properly spaced during assembly.

Or how about making a QFP (to go in a PQFP socket) or SOJ. See for example https://interplex.com/wp-content/upload ... B-07DA.pdf (the one on the right side of the diagram):

Attachment:
NAS_SOJpins.jpg
NAS_SOJpins.jpg [ 22.66 KiB | Viewed 3180 times ]


or do a gull-wing package. See for example http://www.interplex.com/solder-leads/s ... -pins/23AA :

Attachment:
NAS_gullwing.jpg
NAS_gullwing.jpg [ 22.81 KiB | Viewed 3180 times ]

(Hmmm... It looks like that one is discontinued; but they have plenty of other options.)

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Fri Sep 15, 2017 11:56 pm 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
ttlworks wrote:
What really would be cool would be having sort of "a small FPGA area" (nothing fancy) on the chip,
tied to some registers, up\down counters and comparators (ALUs would give more flexibility, of course).

This way, the "end users" could implement just the set of peripherals they really are going to need,
as there is a difference between building a CNC controller and a video game when it comes to peripherals.

Hmm... of course, programmable logic on the chip could work as glue logic for the CPU cores, too.

That's what these are: https://www.xilinx.com/products/silicon ... -7000.html

An ARM Core combined with some FPGA.

There's a board out there using this: https://www.crowdsupply.com/krtkl/snickerdoodle


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Mon Sep 18, 2017 7:01 am 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1392
To quote Scotty from StarTreck:
"The trick is to build what they need, not what they want."

;---

But seriously:
IIRC there wasn't a "standard" for 6502 or 68k computers back then,
just compare the memory map of PET, VIC20 and C64.

This calls for having sort of "programmable logic" for address decoding etc.

Back in 1999, I had toyed with the Lattice ispLSI1016 CPLD,
and for implementing the glue logic and address decoder logic of a 68020 computer
that CPLD already was bigger than it needed to be.

It felt like having 16 GALs or such, with some of their inputs and outputs
tied together with a "switch matrix".

Hey, GAL22V10 is well known, there are GAL assemblers for it,
and I think there might be documentation about which Bit goes where in the *.JED file.
"Stitching" the inputs and outputs of some GAL22V10 together with "crosspoint switches"
probably would do for address decoding and glue logic...
maybe it's worth a try.

;---

I just remembered the PIC microcontrollers which seem to come with a myriard
of different peripherals... but if the project requires thinking outside the box,
it's not easy to find a chip where the mix of peripherals on the chip really fits.

After >19 years of tinkering with microcontrollers for a living I could make some suggestions,
but of course those suggestions would be "outside the box" and _untested_. :)

;---

Anyhow, I'd highly recommend that you are testing the _concept_ for your chip
(and the acceptance of the "end users") by implementing the design in a FPGA first
before trying to actually design the chip.


Top
 Profile  
Reply with quote  
 Post subject: Re: Chips4Makers
PostPosted: Wed Jan 31, 2018 8:01 pm 
Offline

Joined: Sat Sep 02, 2017 8:20 pm
Posts: 21
OK, I have been busy mainly with budgeting and trying to get technical production things worked out. I now made a blog post summary of the options I plan for the Retro-uC. All comments are welcome here or on the hackaday.io log.

I do plan to include peripherals in the uC but that part is not fixed yet and should be documented in the future. Peripherals I would like to include are UART, SPI, I2C, PWM.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 35 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: