P2D2 - An open hardware reference design for the P2 CPU

1789101113»

Comments

  • Peter JakackiPeter Jakacki Posts: 8,120
    edited 2018-11-22 - 08:16:12
    If I had spent the time developing for the P2 instead of trying to download and install overly complicated tools, I would have written an assembler already.

    Now if I write an 8051 assembler that works with the C2 programming interface that I already have then all I need to do is write a simple editor.

    Now if I have a simple editor I can finish off my P2 assembler and develop P2 code on the P2.

    Now if I develop code on the P2 then anyone anywhere in the world can develop code for the P2 on the P2.

    Sure, you can have a tool GUI running on your smartphone or tablet or PC, maybe even as a webpage, but the tools are on the P2. A serial link is all that is required, otherwise we have a monitor and keyboard to work with.

    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2CHIP-1.jpg
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
  • Keep going Peter. Being able to load a *bee from the P2 would be really neat.

    Look forward to seeing it materialise tomorrow : ) (or whenever)

  • Tubular wrote: »
    Keep going Peter. Being able to load a *bee from the P2 would be really neat.

    Look forward to seeing it materialise tomorrow : ) (or whenever)

    Maybe not tomorrow, I'm getting a P2D2 with the new chip off to you for further thermal testing. You want it, don't you? :)


    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2CHIP-1.jpg
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
  • jmgjmg Posts: 13,107
    Maybe not tomorrow, I'm getting a P2D2 with the new chip off to you for further thermal testing. You want it, don't you? :)

    Someone was asking how fast a P2 can talk to another P2.

    Anyone lucky enough to have 2 x P2's on their test bench, could run the smart pin Async Channels up to speed, and check how fast the simplest UARTs can link P2-P2 ?
    FTDI FT232H/2232H parts have a fast Serial clocked variant, (half duplex) that can take a 50MHz clock, and emits a FSCTS handshake.

  • Peter JakackiPeter Jakacki Posts: 8,120
    edited 2018-12-21 - 14:03:05
    The new P2D2 revision has been getting some attention the last couple of days as I look at routing everything that I have designed in. If all goes well I will send this off over the holiday period. The on-board SIlabs EFM8UB chip I refer to simply as 2IC as in "second in-command" since it is an assistant that can also take over if need be.

    New features include:
    * Switching reg option for I/O (or LDO options)
    * 16MB HyperRAM
    * Built-in micro USB socket to Silabs EFM8UB supervisory chip (includes USB serial comms)
    * Temperature monitoring
    * Voltage and brown-out monitoring and reference.
    * Direct Prop plug connection overrides USB
    * Reset switch and LEDs on either side
    * PLL current measurement via link resistor
    * 1.8V current measurement via link resistor
    * Micro SD either side
    * 1M pulldown on SD CS for fast card detect.
    * Switchable power to SD (guarantees proper reset)
    * 2IC monitors or drives all 6 boot lines.
    * 2IC communicates to P2 via I2C :)

    There's probably lots of other improvements but this time I'm also getting the heatsink pcb made up too as this can be made with heavy copper and surface mount solders onto the bottom of the P2D2 along with some cutouts for the connectors and HyperRAM. The P2D2 itself is still double sided.

    I may also include an option for the HyperRAM to be mounted on a very thin pcb that can be attached to the bottom using the 0.05" edge strip for connections. This will allow me to test the assembled BGA modules and then simply surface mount them to the rear afterwards.

    The EFM8UB chip includes 48k Flash or more so I could also load a larger version of TAQOZ as if it were the new boot ROM totally transparently without needing anything in Flash or SD. This chip can also be programmed via USB rather than having the P2 program it as was originally intended.

    Here's a rough pcb view nearing completion.
    1469 x 789 - 583K

    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2CHIP-1.jpg
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
  • P2D2V2 looks great Peter. Thats an impressive list of new features

  • Agreed, looking good Peter :smiley:
    My Prop boards: P8XBlade2, RamBlade, CpuBlade, TriBlade
    Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    Prop Tools (Index) , Emulators (Index) , ZiCog (Z80)
  • jmgjmg Posts: 13,107
    Here's a rough pcb view nearing completion.

    That looks nice, - some good new features.
    A couple of things spotted:
    Can a USB Micro plug reach the connector ? - usually, the connectors are nearer the PCB edge, as the cables have 'fat' shrouds.
    EFM8UB3 needs caps on VDD and VREGIN (but can probably manage a single MLCC cap on each, not the double caps they show in the DOCs).


  • Peter,
    The features sound great, Looking forward to being able to test drive one,
  • jmg wrote: »
    Here's a rough pcb view nearing completion.

    That looks nice, - some good new features.
    A couple of things spotted:
    Can a USB Micro plug reach the connector ? - usually, the connectors are nearer the PCB edge, as the cables have 'fat' shrouds.
    EFM8UB3 needs caps on VDD and VREGIN (but can probably manage a single MLCC cap on each, not the double caps they show in the DOCs).

    I am keeping an eye on the usb connector and for that reason I will need to make some adjustments in that area. Mechanical problems are usually the reason for having to redo pcbs!

    I've still got some caps to squeeze in and while I'm tempted to go to 0402, I'm also avoiding it for the same reason that I use double-sided as I want to keep it simple enough that anyone with one good eye and a steady hand can assemble themselves. For the same reason that is probably why I will move the BGA24 HyperRAM onto its own very thin pcb although I'd like to still have an option for mounting it direct.

    @TrapperBob - there's one with your name on it!

    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2CHIP-1.jpg
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
  • TorTor Posts: 1,967
    I like the naming convention pattern.. I may wait it out for P2D2V2R4 (release 4..)
  • jmgjmg Posts: 13,107
    I am keeping an eye on the usb connector and for that reason I will need to make some adjustments in that area. Mechanical problems are usually the reason for having to redo pcbs!
    Maybe the 0,1" header option (less needed anymore), can move to a 0.05" SMD on rear side, to allow direct ribbon cable soldering ?
    Std ribbon size of 10 etc could support a IDC transition to 0.1" off the board.

  • I thought this rev should be R2P2 :wink:
    My Prop boards: P8XBlade2, RamBlade, CpuBlade, TriBlade
    Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    Prop Tools (Index) , Emulators (Index) , ZiCog (Z80)
  • Very nice Peter, and I'm relieved and thankful to see it should still work out in my own board and enclosure mechanically. I take it that your new EFM8UB USB download can still interoperate with regular serial IO directly from the pins? i.e. it could remain tri-stated when not used? Reason being I also intend to use the serial interface for access and/or downloads etc.
  • What's the status of the P2D2? How many P2 chips do you have and have all of the boards already been spoken for?
  • If I can finalise the artwork over the next few days in between everything else I'm sure that I can get the boards back soon. I just checked the JLCPCB website and it doesn't indicate any particular delays around this time of year other than normal public holidays so assuming all is well then I should have boards made up by the 2nd week of January. I need to use a few for some products but certainly I will make available whatever I have chips for.

    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2CHIP-1.jpg
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
  • Hi Peter. How's the new P2D2 coming along and did you manage to get any boards back yet? I'm really hoping to be able to get my hands on one for my own board if possible to start some P2 programming as I didn't seem to get a P2-ES in the end and those older P2D2s sent to Tubular/ozpropdev were blown up by their dodgy power supplies.
  • Hi Peter,
    Looking forward to the new board! Any updates?
  • The pcb design has been sitting around almost finished since as I have been knee deep in software and getting ready to roll a new TAQOZ for the boot ROM. But I am having a look at what I need to do to finish off the pcb and send it off during the week to the most suitable pcb house for this time of the year. So I'm aiming to have pcbs back the 1st week of February then.

    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    P2CHIP-1.jpg
    P2 +++++ TAQOZ INTRO & LINKS +++++ P2 SHORTFORM DATASHEET
    P1 +++++ Latest binary V5.4 includes EASYFILE +++++ Tachyon Forth News Blog
    Brisbane, Australia
Sign In or Register to comment.