+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 20 of 26

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

  1. #1

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

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

    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
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	WBA-M44D40+.JPG‎
Views:	426
Size:	19.3 KB
ID:	71716   Click image for larger version

Name:	M44D40.jpg‎
Views:	433
Size:	17.0 KB
ID:	71717  
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  2. #2

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  3. #3
    Cluso99's Avatar
    Location
    Sydney/Brisbane Australia or 'sailing on the high seas'
    Posts
    9,257

    Default

    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 ICsand aTriBladeProp board (ZiCog Z80 Emulator)
    Prop Tools under Development or Completed (Index)
    Emulators: CPUs Z80 etc; Micros Altair etc; TerminalsVT100 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
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  4. #4

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  5. #5

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  6. #6

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  7. #7

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  8. #8

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  9. #9

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  10. #10

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

    Default

    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
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  11. #11

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

    Default

    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
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	M44D40+_on_Hydra-.JPG‎
Views:	250
Size:	98.8 KB
ID:	71747  
    Last edited by ForumTools; 10-01-2010 at 02:39 PM. Reason: Forum Migration

  12. #12

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

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

    Made a little bit of headway today...... Also shown with one of my "3x20Twigs" for top side access to pins.
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	M44D40+_loaded1.jpg‎
Views:	205
Size:	49.6 KB
ID:	78181   Click image for larger version

Name:	M44D40+_loaded3.jpg‎
Views:	175
Size:	54.8 KB
ID:	78182   Click image for larger version

Name:	M44D40+_loaded5.jpg‎
Views:	188
Size:	60.2 KB
ID:	78183   Click image for larger version

Name:	M44D40+_loaded6.jpg‎
Views:	180
Size:	96.0 KB
ID:	78184   Click image for larger version

Name:	M44D40+_loaded7.jpg‎
Views:	203
Size:	95.3 KB
ID:	78185  

    Andrew Williams
    WBA Consulting

  13. #13
    PJ Allen's Avatar
    Location
    Outer Darkness! Charon-Quaoar-Sedna Circuit
    Posts
    4,879
    Blog Entries
    1

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

    Looks like a winner !

  14. #14

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

    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.

  15. #15

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

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

    Tracy: Thanks, I'll check into that now that I have complete ones built up as a pilot run. Works excellent on my PPDB!
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	M44D40+_PPDB1.JPG‎
Views:	173
Size:	28.2 KB
ID:	78445  
    Andrew Williams
    WBA Consulting

  16. #16

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

    Here are some of the pics... I will get more if you want
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	100_3547.jpg‎
Views:	173
Size:	81.2 KB
ID:	79114   Click image for larger version

Name:	100_3546.jpg‎
Views:	142
Size:	72.2 KB
ID:	79115  
    I got the best hair around...Guaranteed!

  17. #17

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

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

    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.
    Andrew Williams
    WBA Consulting

  18. #18

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

    This looks like a really good idea for bread boarding.

  19. #19

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

    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).
    There is no need for Bloated code.May code optimisation return for all.Multi Processing with out interrupts, now anything is possible.RISC-Prop, A RISC OS like System for ARM9 + P8X32A : WIPRISC OS. True Power for ARM based computers.

  20. #20

    WBA Consulting's Avatar
    Location
    A hop, skip, and a jump from Parallax HQ
    Posts
    2,080
    Blog Entries
    26

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

    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.
    Andrew Williams
    WBA Consulting

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts