To all the Sim.One beta testers - Development of Sim.One v1.4

23 views
Skip to first unread message

Sergio Sorrenti

unread,
Dec 11, 2010, 4:45:43 PM12/11/10
to si...@googlegroups.com
Hi,

we had an internal discussion in how to improve current Sim.One v1.3 design,
to re-route the board with a better open source tool this time, Kicad,
that we already used for all the boards of Mizar32 project.

Now this list of proposed modifications (15 points) to develop v1.4 of Sim.One,
is adressed to all the Sim.One beta testers.

Please comment, ask for clarifications,
or suggest your own modification to the current revision that you have in hand.

Have a look at the two attached images, they will clearish a lot
the new design direction.

Here it's the list...

  0) Divide the schematics into two boards: a CPU/SDRAM/Flash module on a 240-pin SO-DIMM (like DDR3) and a base board with the rest of the components and the connectors. This way, instead of having to produce the whole thing with an 6 layer process, only the CPU module needs 6 layer, while the base board can be made with just 2 layers, allowing both Simplemachines and users to revise and/or adapt the base board more easily.

  1) New Mechanichal Dimensions according to Innocenzo's drawing: a base board 3.5mm with connectors on the rear, not on the left side.

  2) Made the add-on connector stackable, allowing stackable boards to interface with the base board. Add holes on the PCB for stacked PC104 boards, like the ICOP (page 8) and ADVANTECH (page 20) 3.5'' boards.

  3) Group the two 40 pin connectors together, to make an 80 pin block: 4x20 pins = 40 Add-On  + 40 Power/GPIO

  4) Instead of having the SDcard on the SPI interface, remove USB 2 from the add-on connector and connect it to a card reader IC, MOAI MA8121 to obtain a higher data transfer speed, more reliability and a reduction of its CPU usage from 55% to 10%.

  5) Re-Route the SPI and the GPIO freed from the SDCard to the 80 pin stacked Add-On block.

  6) Add I2C (that currently ends with clock chip) to the 80 pin Stacked Add-On block.

  7) See if we can connect a PSP 4.3'' LCD, to be fitted on the back of the base board, and include the electronics needed to power the display.

  8) Change the RJ45 serial connector to a standard DB9 RS232 connector for the serial port.

  9) Use 5 GPIO for the 5 keys instead of 3 so that Linux can drive these keys with its existing drivers.

10) Earth the USB connector shells

11) Fix the footprint of the audio jacks and use 3 pins jacks for the Microphone and the Headphone.

12) Remove the 2.54mm 40 pin connector for the LCD, leave the 40 pin ZIF-FPC

13) Change the character LCD connector to a 2x10 2.54mm header to be used with a cable.

14) Stabilize the reset circuit by adding a resistor (1K?) between pins 3 and 5 of U3 .

Tnx for your help and to participate this discussion.

Best,
Sergio
Top_Module.jpg
Bottom_LCD.jpg

Martin Guy

unread,
Dec 11, 2010, 11:48:44 PM12/11/10
to si...@googlegroups.com
Beautiful article, SS! Re-reading it, I just thought I'd reorder two
points so that the result is clearer:

> 12) Remove the 2.54mm 40 pin connector for the LCD, leave the 40 pin ZIF-FPC
>

>   3) Group the two 40 pin connectors together, to make an 80 pin block: 4x20
> pins = 40 Add-On  + 40 Power/GPIO

:*

M

Martin Guy

unread,
Dec 11, 2010, 11:54:28 PM12/11/10
to si...@googlegroups.com, Giuseppe Di Caro
One thought:

>   4) Instead of having the SDcard on the SPI interface, remove USB 2 from
> the add-on connector and connect it to a card reader IC, MOAI MA8121 to
> obtain a higher data transfer speed, more reliability and a reduction of its
> CPU usage from 55% to 10%.

If we use USB0 for the SD card converter, the SD/MMC card will always
appear as /dev/sda, also when other USB storage media are plugged in.
If we put it on USB2, it will move from sda to sdb (or c etc) at reset
if, say a USB pendrive full of data has been plugged in, which makes
it impossible (or difficult/complex) to have a fixed U-boot parameter
list specifying the root filesystem.

Is it too late to swap these, Giuseppe?

M

Florian Fainelli

unread,
Dec 12, 2010, 8:16:07 AM12/12/10
to si...@googlegroups.com, Sergio Sorrenti
Hello Sergio,

On Saturday 11 December 2010 22:45:43 Sergio Sorrenti wrote:
> Hi,
>
> we had an internal discussion in how to improve current Sim.One v1.3
> design, to re-route the board with a better open source tool this time,

> Kicad<http://www.lis.inpg.fr/realise_au_lis/kicad/>


> ,
> that we already used for all the boards of

> Mizar32<http://www.simplemachines.it/index.php?option=com_content&view=arti
> cle&id=13&Itemid=24>project.


>
> Now this list of proposed modifications (15 points) to develop v1.4 of
> Sim.One,
> is adressed to all the Sim.One beta testers.
>
> Please comment, ask for clarifications,
> or suggest your own modification to the current revision that you have in
> hand.
>
> Have a look at the two attached images, they will clearish a lot
> the new design direction.
>
> Here it's the list...
>
> 0) Divide the schematics into two boards: a CPU/SDRAM/Flash module on a
> 240-pin SO-DIMM (like DDR3) and a base board with the rest of the
> components and the connectors. This way, instead of having to produce the
> whole thing with an 6 layer process, only the CPU module needs 6 layer,
> while the base board can be made with just 2 layers, allowing both
> Simplemachines and users to revise and/or adapt the base board more
> easily.
>
> 1) New Mechanichal Dimensions according to Innocenzo's drawing: a base
> board 3.5mm with connectors on the rear, not on the left side.
>
> 2) Made the add-on connector stackable, allowing stackable boards to
> interface with the base board. Add holes on the PCB for stacked PC104
> boards, like the

> ICOP<http://www.icop.com.tw/DB/upload/manual/VDX-6329_UM_v1r1A.pdf>(page
> 8) and
> ADVANTECH<http://downloadt.advantech.com/download/downloadsr.aspx?File_Id=1
> -FQZ2Z4>(page 20) 3.5'' boards.

This is a very good idea.

>
> 3) Group the two 40 pin connectors together, to make an 80 pin block:
> 4x20 pins = 40 Add-On + 40 Power/GPIO

You are going to please robotics people with that change, I am all for it.

>
> 4) Instead of having the SDcard on the SPI interface, remove USB 2 from
> the add-on connector and connect it to a card reader IC, MOAI MA8121 to
> obtain a higher data transfer speed, more reliability and a reduction of
> its CPU usage from 55% to 10%.
>
> 5) Re-Route the SPI and the GPIO freed from the SDCard to the 80 pin
> stacked Add-On block.
>
> 6) Add I2C (that currently ends with clock chip) to the 80 pin Stacked
> Add-On block.

Cool.

>
> 7) See if we can connect a PSP 4.3'' LCD, to be fitted on the back of the
> base board, and include the electronics needed to power the display.
>
> 8) Change the RJ45 serial connector to a standard DB9 RS232 connector for
> the serial port.

Both DB9 and RJ45 are pretty convenient for RS-232 console cables in my
opinion.

>
> 9) Use 5 GPIO for the 5 keys instead of 3 so that Linux can drive these
> keys with its existing drivers.
>
> 10) Earth the USB connector shells

You mean Ground ?

>
> 11) Fix the footprint of the audio jacks and use 3 pins jacks for the
> Microphone and the Headphone.
>
> 12) Remove the 2.54mm 40 pin connector for the LCD, leave the 40 pin
> ZIF-FPC
>
> 13) Change the character LCD connector to a 2x10 2.54mm header to be used
> with a cable.

That would be more standard, thanks!

Martin Guy

unread,
Dec 12, 2010, 8:41:24 AM12/12/10
to si...@googlegroups.com, Sergio Sorrenti
>> 10) Earth the USB connector shells
>
> You mean Ground ?

Yes. It was one of the theories for the USB problems. It wasn't that,
but it does no harm.

M

Marcus

unread,
Dec 12, 2010, 2:40:51 PM12/12/10
to si...@googlegroups.com
Hi,

Some thoughts:

Silkscreen:
Labeling of jumpers could be made easier to understand. E.g. instead
of having a jumper labeled "JP2", the silkscreen could say "BOOT1", or
"JP2/BOOT1", making it very clear what the jumper is used for without
having to look in the manual. Of course it might be difficult to fit
all the labels on the silkscreen. Maybe a lookup table printed on the
backside of the board as I have seen on some other boards.


USB:
What are the possibilities for using MA8121 and a passthrough (maybe
by jumpers) for SPI to the SD card connector?
Will MA8121 fix the USB disconnect problems or cause this type of
problem for SD card too?

Maybe this will not be an option with the MA8121 SD card converter.
What I've been thinking of earlier is:
Normal USB connectors for all three USB ports. And one USB routed to
the ADDON-connector, as in v1.3.
Additional mechanical stability to the USB connectors could be gained
from soldering a piece of metal between the USB shells. However, from
what I have seen on my v1.3 board, this have not been necessary. But
I'm quite careful with it.

About U-boot parameters and the USB0/USB2 connected to the SD card
converter that Martin mention in his post: if rerouting to USB0 is
impossible, maybe the enumeration in the linux kernel could be patched
to always set USB2 as /dev/sda? I have not looked into the details so
I dont know if this is possible or causes problem.


RS232:
A "normal" connector instead of RJ45 is a good idea to me.
Connecting/Disconnecting the serial cable a 100 times make the RJ45
plastic wear out.
I dont know if it would make sense to save base board area, due to the
bulky RS232 connector, and use a stacked serial addon board instead.


CPU:
I understand a lot of good work have been done by Martin and the rest
of the team with software for the EP9307. The MaverickCrunch work was
amazing. But as there are some shortcomings with the CPU hardware bugs
and no new CPU revision will be made AFAIK, maybe it would be an
option to look at other CPUs? It would be ultimately cool if the base
board could be design for use with several different CPU boards.
About new EP9307 revisions, what is the latest you have heard?


Mechanical:
The base board and CPU board should optionally be possible to fasten
very securely to each other to protect the system against mechanical
vibrations, shocks etc. A suggestion would be screws through both the
boards and a distance spacer between where necessary.


Reset button etc:
Make every surface that you can possibly touch during normal handling
of the board safe to touch without causing resets or short-circuits.
Well, as far as possible anyway.
What would the minimal case dimensions be for base board + CPU board?


Rerouting of SPI and I2C to GPIO connector:
Very good idea.

Regards,
Marcus Jansson

Sergio Sorrenti

unread,
Dec 12, 2010, 5:33:33 PM12/12/10
to sim1


On 12 Dic, 20:40, Marcus <cmp1...@gmail.com> wrote:
> Hi,
>
> Some thoughts:
> CPU:
> I understand a lot of good work have been done by Martin and the rest
> of the team with software for the EP9307. The MaverickCrunch work was
> amazing. But as there are some shortcomings with the CPU hardware bugs
> and no new CPU revision will be made AFAIK, maybe it would be an
> option to look at other CPUs? It would be ultimately cool if the base
> board could be design for use with several different CPU boards.
> About new EP9307 revisions, what is the latest you have heard?

Marcus, we are keeping track of your proposals,
regarding the CPU you are right, there are currently other interesting
CPU,
like the TI Sitara Series... i think other groups are dooing a good
job with TI.
For example the beagleboard...
We have evaluated to make the base board compatible with more CPU,
it's very hard, so we discarded that option.

I think CPU capabilities can be stretch enought to make many useful
things,
CPU speed is not everithing in the embedded world,
I see peoples that still use old and popular microcontrollers for new
projects,
that is normal i think.

Cirrus is still producing the EP9307 and i seen new stock with
datecode 2010
in popular components database. If there is stock purchased in 2010,
there will be available stock to buy for some years.

Finally, we are trying to make our step not too much longer,
a new architecture will need a lot of new resources and time.
We have the time space for a redesign of Sim.One not to build
a totally new machine.

I hope this new modular revision with stackable add-on and 4.3'' LCD
will be still of interest.

Sergio

Sergio Sorrenti

unread,
Dec 12, 2010, 5:43:38 PM12/12/10
to sim1
I think is not late, no routing job is actually started,
Giuseppe is still working in the schematic, the CPU module is near
complete,
it's missing only the connection with the 240 pin SO-DIMM connector,
after the definition of this 240 pin, we will pass to the base board
schematic.

Sergio

Sergio

Sergio Sorrenti

unread,
Dec 12, 2010, 5:50:44 PM12/12/10
to sim1
Hi Florian,

On 12 Dic, 14:16, Florian Fainelli <f.faine...@gmail.com> wrote:
> Hello Sergio,

>
> This is a very good idea.
>

Thanks for the encouragement, we will take care of your remarks,
to build Sim.One v1.4 .

Sergio

Sergio Sorrenti

unread,
Dec 12, 2010, 6:02:37 PM12/12/10
to sim1
Marcus,

On 12 Dic, 20:40, Marcus <cmp1...@gmail.com> wrote:
> Hi,
>
> Some thoughts:

> RS232:
> A "normal" connector instead of RJ45 is a good idea to me.
> Connecting/Disconnecting the serial cable a 100 times make the RJ45
> plastic wear out.
> I dont know if it would make sense to save base board area, due to the
> bulky RS232 connector, and use a stacked serial addon board instead.

This time we will use "Slim" Type RS232 and VGA connector
You can look it here: http://goo.gl/qQuJg

Sergio

Martin Guy

unread,
Dec 12, 2010, 9:25:18 PM12/12/10
to si...@googlegroups.com
> Silkscreen:
> Labeling of jumpers could be made easier to understand. E.g. instead
> of having a jumper labeled "JP2", the silkscreen could say "BOOT1", or
> "JP2/BOOT1", making it very clear what the jumper is used for without
> having to look in the manual. Of course it might be difficult to fit
> all the labels on the silkscreen. Maybe a lookup table printed on the
> backside of the board as I have seen on some other boards.

A printed table is the better of the two, I think, but it impacts on
the elegance.
Yes, I would have found cleared connector labelling a help. I think I
still don't know what some of the sim1 physical connectors are, just
by looking at the board.

> Normal USB connectors for all three USB ports. And one USB routed to
> the ADDON-connector, as in v1.3.

EP93xx have three USB total, not four.

> the enumeration in the linux kernel could be patched
> to always set USB2 as /dev/sda? I have not looked into the details so
> I dont know if this is possible or causes problem.

We can still reroute the USBs, so can the simpler idea.
One of the constrains on the new design is that the existing software
runs on both.
Having the machine in the mainline linux kernel is a privilege; having
two incompatible hardware versions is embarassing.

> CPU:


> option to look at other CPUs? It would be ultimately cool if the base
> board could be design for use with several different CPU boards.

See above: Sim.One v1.4 is a new layout for the same computer.
The computer you're talking about is the Sim.Two :)

M

Martin Guy

unread,
Dec 12, 2010, 9:28:37 PM12/12/10
to si...@googlegroups.com
>> CPU:
>> option to look at other CPUs? It would be ultimately cool if the base
>> board could be design for use with several different CPU boards.
>
> See above: Sim.One v1.4 is a new layout for the same computer.
> The computer you're talking about is the Sim.Two :)

Or maybe you mean alternative CPU SO-DIMM boards?
Well, if they can work with the same bus signals that the EP93xx
family needs between the SoC/RAM/Flash units and all other
peripherals, I don't see why not.

M

Federico Pietro Briata

unread,
Dec 13, 2010, 9:05:28 AM12/13/10
to si...@googlegroups.com
Hi

About USB0, it is not better just wire it out on the board and provide
usb-microsd adapter? MA8121 solution would give better performance?

federico

Marcin Juszkiewicz

unread,
Dec 13, 2010, 10:17:37 AM12/13/10
to si...@googlegroups.com
Dnia niedziela, 12 grudnia 2010 o 14:16:07 Florian Fainelli napisał(a):
> > 8) Change the RJ45 serial connector to a standard DB9 RS232 connector
> > for the serial port.
>
> Both DB9 and RJ45 are pretty convenient for RS-232 console cables in my
> opinion.

Before Sim.One I did not had RJ45 serial port. Good that cable was provided,
otherwise I would have to dig for schematics. Using of DB9 allows to grab
serial cable from any devboard kit.

The question is male or female DB9... Male one allows to direct use nullmodem
cables which are most popular. Female allows to directly connect USB-serial
adapters. But gender is a question of target use - for me it can even be
FTDI2332L + miniusb connector ;D

Regards,
--
JID: h...@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz

Florian Fainelli

unread,
Dec 13, 2010, 10:19:45 AM12/13/10
to si...@googlegroups.com, Marcin Juszkiewicz
On Monday 13 December 2010 16:17:37 Marcin Juszkiewicz wrote:
> Dnia niedziela, 12 grudnia 2010 o 14:16:07 Florian Fainelli napisał(a):
> > > 8) Change the RJ45 serial connector to a standard DB9 RS232 connector
> > > for the serial port.
> >
> > Both DB9 and RJ45 are pretty convenient for RS-232 console cables in my
> > opinion.
>
> Before Sim.One I did not had RJ45 serial port. Good that cable was
> provided, otherwise I would have to dig for schematics. Using of DB9
> allows to grab serial cable from any devboard kit.
>
> The question is male or female DB9... Male one allows to direct use
> nullmodem cables which are most popular. Female allows to directly connect
> USB-serial adapters. But gender is a question of target use - for me it
> can even be FTDI2332L + miniusb connector ;D

Ideally, you could do something ala Sheevaplug where the same FTDI232 chip is
providing both UART and JTAG. That's very handy for a board.
--
Florian

Federico Pietro Briata

unread,
Dec 13, 2010, 10:29:15 AM12/13/10
to si...@googlegroups.com
Cześć!

2010/12/13 Marcin Juszkiewicz <mar...@juszkiewicz.com.pl>:


> Dnia niedziela, 12 grudnia 2010 o 14:16:07 Florian Fainelli napisał(a):
>> > 8) Change the RJ45 serial connector to a standard DB9 RS232 connector
>> > for the serial port.
>>
>> Both DB9 and RJ45 are pretty convenient for RS-232 console cables in my
>> opinion.
>
> Before Sim.One I did not had RJ45 serial port. Good that cable was provided,
> otherwise I would have to dig for schematics. Using of DB9 allows to grab
> serial cable from any devboard kit.
>
> The question is male or female DB9... Male one allows to direct use nullmodem
> cables which are most popular. Female allows to directly connect USB-serial
> adapters. But gender is a question of target use - for me it can even be
> FTDI2332L + miniusb connector ;D

+1 for use a DB9 Male.
I like to think that Sim.One can be used as DTE.. :D

federico

Martin Guy

unread,
Dec 13, 2010, 1:23:33 PM12/13/10
to si...@googlegroups.com
On Mon, Dec 13, 2010 at 3:05 PM, Federico Pietro Briata
<fede...@briata.org> wrote:
> Hi
>
> About USB0, it is not better just wire it out on the board and provide
> usb-microsd adapter?

That's an idea, though being able to put the root filesystem on an SD
card is physically more compact and seems more elegant.

> MA8121 solution would give better performance?

Much better than SPI, but I think you mean "better than separate
USB/SD adapter" - in that case I would guess that the performance
would be identical.

At the Linux software level, both solutions look the same to Linux
(except, I suppose that a user might put the SD adapter and data USB
pendrive in the wrong sockets and so the roofts would become /dev/sdb
and the board wouldn't boot, while rootfs on SD card USB0 cannot go
wrong)

What's the difference in cost and in technical difficulty for putting
a chip on the board versus putting a 3rd USB socket?

M

Martin Guy

unread,
Dec 13, 2010, 1:26:24 PM12/13/10
to si...@googlegroups.com
On Mon, Dec 13, 2010 at 4:17 PM, Marcin Juszkiewicz
<mar...@juszkiewicz.com.pl> wrote:
> The question is male or female DB9... Male one allows to direct use nullmodem
> cables which are most popular. Female allows to directly connect USB-serial
> adapters.

+1 for male, to be as similar as possible to the rest of the world's
computer serial ports, so that more standard hardware will be possible
to use in the same way as with other computers.

M

Sergio Sorrenti

unread,
Dec 13, 2010, 6:20:28 PM12/13/10
to sim1


On 13 Dic, 19:23, Martin Guy <martinw...@gmail.com> wrote:
> On Mon, Dec 13, 2010 at 3:05 PM, Federico Pietro Briata
>
> <feder...@briata.org> wrote:
> > Hi
>
> > About USB0, it is not better just wire it out on the board and provide
> > usb-microsd adapter?
>
> What's the difference in cost and in technical difficulty for putting
> a chip on the board versus putting a 3rd USB socket?

The MOAI MA8121A card reader chip in SSOP 28 package is very low cost,
around $0.30 to $0.60 . You need to add a crystal $0.10 and a resistor
$0.01

The cost of a good cardreader with Wire bonded DIE in alluminium
shell,
stay also at lower price, around $0.40 to $0.50

Is technically possible (but not elegant in my opinion) to put an USB
socket
somewere in the PCB to stick an USB cardreader that go out to the
border,
with its Micro SDcard socket.

Sergio

Sergio Sorrenti

unread,
Dec 13, 2010, 7:50:52 PM12/13/10
to sim1
Is debugging via FT2232 available for EP9307 ?

For the machine control point of view, the best would be the FT2232
($3.00),
this will make the JTAG and the serial console available as a simple
USB plug.
I think also that it is a costly approach, and will make the UART0
fixed in use
only for console or comunicate only with something with an FTDI
driver.
UART0 it's the only serial port in the base board, the other two,
UART1 and UART2, are right now in the add-on connector.

We can also consider a less cost option, FT232 ($2.0),Connected to
UART0
a mini USB connector, and move to the base board the UART2.

I also heard of a PIC18F2550 emulator of FT2232, maybe only COM part?
I will make a search about it.

Sergio
Reply all
Reply to author
Forward
0 new messages