Shop OBEX P1 Docs P2 Docs Learn Events
Program to fully test the propeller for new QFN-DIP40 module? — Parallax Forums

Program to fully test the propeller for new QFN-DIP40 module?

WBA ConsultingWBA Consulting Posts: 2,933
edited 2011-05-21 12:05 in Propeller 1
So, I just got my PCBs for my QFN to DIP40 (plus EEPROM/xtal/propplug hdr) module (that I am calling the M44D40+) and even though it may be a while before I get one made up, I am thinking of how to test them. Anyone have a SPIN program that exercises all pins for input and outputs like the Basic Stamp tester does for the stamp? I know I could do something that simple, but shouldn't I test video generation, multiple cogs, etc, or use the "if it works, it works" concept?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
PowerTwig Dual Output Power Supply Module
My Prop projects: Reverse Geo-Cache Box, Custom Metronome, Micro Plunge Logger

Post Edited (WBA Consulting) : 7/13/2010 6:04:24 PM GMT

Comments

  • jazzedjazzed Posts: 11,803
    edited 2010-07-08 03:30
    Hi Andrew,

    While I haven't studied the problem thoroughly, it makes sense to make the test unit "UUT" as busy as possible while providing some easy ways to measure the effects potential problems. A quick static test could be done with pin loop-backs, but may not catch all soldering issues.

    I propose this:
      1. Have a program that tests/runs VGA on pins P0-7, P8-15, P16-23, and TV on P24-27 simultaneously. 2. Download to EEPROM and reboot to see test pattern on all 4 displays (look for artifacts and bad colors). 3. BOEn can allow control of RESn power up state. Set low for normal operation. Set high for RESn as input.
    Video checks the crystal precision (look for video artifacts), connectivity of pins/pads (look for proper colors), puts some burden on the Propeller (runs several cogs). Download/boot from EEPROM checks RESET and P28-31 (an erase program can be used after testing). Brownout can be checked different ways, but I can't remember the exact details just now.

    I'm sure there are other ideas out there too. I'm happy to help however I can.

    Cheers,
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • Cluso99Cluso99 Posts: 18,066
    edited 2010-07-08 03:44
    i wrote tests for my RamBlade. The first thing it does is check to ensure all pins are at their correct levels (some are o/c=0 and some are pulled high). Next it outputs to each pin seperately and ensures no other pins are tied. Then it checks the SRAM which of course you do not have. As far as the internals of the prop are concerned, you can most likely ignore this. Your problems are more likely opens or shorts. My test program is published on the RamBlade thread.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
    · Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2010-07-08 16:07
    jazzed, That sounds like a good plan to exercise the chip and it's connections. Even shady connections could pass a basic test, so running video off each bank will catch issues. For the most part however, I am not worried about solder issues on the QFN, so I am expecting a near 100% yield. I will be using a 5 mil stainless stencil stencil in a fixture and placing them with an alignment tool.

    cluso, thanks, I will take a peek at your program. From what I can gather, making a custom program will be best.


    for the first one, I am just going to place the QFN, check for shorts, then throw it onto my hydra. That will tell me quite a bit.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andrew Williams
    WBA Consulting
    PowerTwig Dual Output Power Supply Module
    My Prop projects: Reverse Geo-Cache Box, Custom Metronome, Micro Plunge Logger
  • jazzedjazzed Posts: 11,803
    edited 2010-07-08 16:55
    Making the Propeller work hard will help you avoid embarrassment and RMA costs.

    I'm glad you're not worried about soldering; I would be seriously worried if I had to solder a QFN.

    When will your parts be available for sale?

    Can you manufacture something with a part like this?

    Cheers,
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2010-07-08 18:05
    Yes, I agree, I want all product I sell to go out and stay out. I have access to the right equipment, so there aren't too many parts that scare me. I have access to an ERSA IR PL550, so yes I could solder that BGA.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andrew Williams
    WBA Consulting
    PowerTwig Dual Output Power Supply Module
    My Prop projects: Reverse Geo-Cache Box, Custom Metronome, Micro Plunge Logger
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2010-07-08 18:52
    As for timeline, if my design doesn't have errors, I could have the first batch in a week or two. Price is yet undetermined as I have not decided what else will be loaded and I really only want to do one version. Right now I have 2 prop chips and that's it. Need to source everything else still.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andrew Williams
    WBA Consulting
    PowerTwig Dual Output Power Supply Module
    My Prop projects: Reverse Geo-Cache Box, Custom Metronome, Micro Plunge Logger
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2010-07-10 02:22
    Guess I need to get to work on that test program.... Tried a module with just the QFN on my hydra and it seems to be working perfectly. I am thinking of using my Propeller Platform board to make the tester.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andrew Williams
    WBA Consulting
    PowerTwig Dual Output Power Supply Module
    My Prop projects: Reverse Geo-Cache Box, Custom Metronome, Micro Plunge Logger
  • jazzedjazzed Posts: 11,803
    edited 2010-07-10 03:48
    WBA Consulting said...
    Guess I need to get to work on that test program.... Tried a module with just the QFN on my hydra and it seems to be working perfectly. I am thinking of using my Propeller Platform board to make the tester.

    Those Spin-studio VGA adapters look very attractive for a multi VGA test. Even the TV adapter could be used with a hack. Maybe you can chop off the plastic from the IDCs and fit them on a Propeller Platform (or just buy a Spin-studio main board). Would happen to have a 40 pin ZIF connector or two?

    Cheers,
    --Steve

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Pages: Propeller JVM
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2010-07-10 04:52
    Yes, I looked at the spinstudio adapters first actually, but I may just make a setup using standard headers because I have a shielded vga breakout cable that terminates to a 0.1" pitch, 1x14, Molex SL series connector.
    As for the ZIF sockets, I happened to get some off eBay a while ago and still have a few.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andrew Williams
    WBA Consulting
    PowerTwig Dual Output Power Supply Module
    My Prop projects: Reverse Geo-Cache Box, Custom Metronome, Micro Plunge Logger
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2010-07-11 04:28
    Took a picture tonight before I pulled it off the Hydra. I have a few other projects in line before this, so it will be a couple weeks before I can get to the full test setup. And, yes, I could have used shorter headers, but my Samtec headers that will go on this module did not come yet in so I used what I had so I could test it this weekend and put my mind at ease.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andrew Williams
    WBA Consulting
    PowerTwig Dual Output Power Supply Module
    My Prop projects: Reverse Geo-Cache Box, Custom Metronome, Micro Plunge Logger

    Post Edited (WBA Consulting) : 7/11/2010 4:34:35 AM GMT
    1023 x 768 - 99K
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2011-02-12 01:47
    Made a little bit of headway today...... Also shown with one of my "3x20Twigs" for top side access to pins.
    1024 x 379 - 50K
    1024 x 377 - 55K
    1024 x 709 - 60K
    1024 x 934 - 96K
    1024 x 720 - 95K
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-02-12 08:27
    Looks like a winner !
  • Tracy AllenTracy Allen Posts: 6,656
    edited 2011-02-12 09:51
    Hi Andrew,

    While there is a remote (very remote, I should think) possibility that the Prop itself is bad, the tests should initially focus on the external wiring. My first test of all uncommitted (floating) pins is the charge and discharge exercise using the gate capacitance as dynamic memory to test for shorts or leakage between pins and to the power supplies. It goes like this. Set all uncommitted pins for output low. Set same pins for input. Wait 0.01 second (configurable). Check same pins. All should still be low. Do the same for output high, delay, test for high. Do the same for alternating pattern %101010... Then the same for opposite alternating pattern %010101... It is also possible to include inputs that have pullups or pulldowns, but of course the expected state should always be high or low and a discrepancy indicates an open connection to the Prop.

    The circuit like the RC Stamp tester is even better, because it better tests for open connections from the pads to the circuit, and higher drive current capability. It tests all uncommitted pins for capability of output high, low and input, and detects shorts or leakage between pins and to the power supply rails.

    For pins that are dedicated to function, serial port, eeprom, reset, and other peripherals, test for function and if it works, that is a pretty good indication that the prop connections are good. If it doesn't, well, troubleshooting starts!

    Put the board through a temperature cycle to help reveal cold solder joints. Test the chip on a current limited supply while monitoring voltage and current, to detect power supply connection issues. Take the chip to RCslow to test power leakage.
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2011-02-18 13:33
    Tracy: Thanks, I'll check into that now that I have complete ones built up as a pilot run. Works excellent on my PPDB!
    448 x 189 - 28K
  • RavenkallenRavenkallen Posts: 1,057
    edited 2011-03-08 19:43
    Here are some of the pics... I will get more if you want:)
    1024 x 768 - 81K
    1024 x 768 - 72K
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2011-03-08 20:40
    FYI to others: Ravenkallen is utilizing one of my M44D40+ modules in a project as well as providing some feedback from an end user standpoint. I forgot to take pictures of the completed modules before I shipped them out to him. I am working on getting another handful made as soon as I finish my thermistor tester project for work.

    Good shots, thanks. Maybe a side or end profile too to show how the stackable headers compare to the height of the EEPROM and crystal.
  • Martin_HMartin_H Posts: 4,051
    edited 2011-03-28 03:58
    This looks like a really good idea for bread boarding.
  • davidsaundersdavidsaunders Posts: 1,559
    edited 2011-03-28 06:33
    As old as this thread is I do not know if you are done testing.

    It seems that best way would be to generate a 1280x1024 VGA signal, using only 2 pins at a time for video data (plus 2 for sync of course), starting with P31 and P30, and going down by a pair until you reach P3 and P4. Then display a 64x64 checker board pattern. Once this is done repeat with 3 cogs, and 6 video signal (8 including sync) pins with each cog driving 2 pins, start with group 24-31 and move down from there. This should make any errors very self apparent, as I you will see distortions in the image if the board is creating to much unwanted noise of any type. Also for both sets of tests you will want to display a pattern of 1 pix wide vertical stripes separated by 1 pixel. And f course use your scope.

    I hope that I am not to late to dinner here. I came up with this simple test because I was noticing some strange behavior sometimes and it looked good on the scope, but this showed me that there was noise that my scope could not show me (later verified with a better scope).
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2011-03-29 16:40
    I have finished initial testing using my Hydra and created a ZIF socket adapter for my PPDB, but still need to develop a setup for production runs. I am way behind on this project due to lack of spare time. I have over 500 fabs waiting to be populated with parts. The only thing I don't have to get these rolling is the Propeller itself and a free Saturday to do the first run.I am hoping to have a good size batch for UPEW and then go from there.
  • RavenkallenRavenkallen Posts: 1,057
    edited 2011-04-23 12:26
    Just a quick update... I Have some more pictures of the M44D40+ and i am working on a small video. I have also placed one in my robot, which i will be talking about shortly. All in all, this module is just plain fantastic. It is so easy to just stick on a breadboard and wire up a few things. I hope WBA will jump on to answer some questions if anybody has any:)

    One of the pictures shows the module talking to a Xbee wireless radio..
    1024 x 768 - 56K
    1024 x 768 - 69K
    1024 x 768 - 97K
  • Martin_HMartin_H Posts: 4,051
    edited 2011-05-17 07:05
    Andrew, are you selling these yet?
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2011-05-17 10:08
    Wow, great timing! I am actually building the first batch this week for a debut at UPEW, but haven't announced anything yet because I only have 4 done so far and didn't want to post something if I was unable to get a decent amount completed. I am targeting a quantity of 20 for the expo and will be selling them for $20, complete with the exception of headers. I am leaving off the headers because people may want to use stackable, IC pin sized, none, or standard and I don't want to limit my sales due to the wrong headers installed for the buyer. Shoot me a PM if you are interested in one now, and I will set one aside for you from this build.
  • schillschill Posts: 741
    edited 2011-05-17 10:21
    I'm definitely interested in these, too. But, I won't be at UPEC and I'm not in that big a hurry. But I will be watching to see when they are available.
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2011-05-20 14:45
    WBA-M44D40+_1stProductionRun.JPG


    Yay! First Production Run photo! I will also have full pictures of the build process written up soon. Got a handful ready for final testing for UPEW. Apart from a few that are reserved, I should have ~10 available for sell at UPEW.
  • WBA ConsultingWBA Consulting Posts: 2,933
    edited 2011-05-21 12:05
    Got modules at my table. Selling them for $20 each for UPEW. Add a PowerTwig for another $5 and have a ready to go Prop circuit!
Sign In or Register to comment.