Presented here is a method by which my small tech firm attempts to speed, ease & enhance board test/verify:
- this vendor's API is so broad that sometimes the various function names may not fully/properly describe the function's intent. (some here may note that as, "Code & Pray!"). Employing some monitoring device (scope ideally - but even a "latching Led" may serve) users can confirm that their function calls actually do generate output - and w/bit more probing & focus - can usually determine the output's "suitability to task."
- Our firm for some time - and more recently Amit here (w/in the "Tell T.I." post up top) describe & illustrate how scope captures may be "tied" to critical functions as listed w/in MCU manual - which vastly speeds & eases troubleshooting - both now & downstream.
- to best exploit such quick MCU "sanity checks" our firm employs several "stylized" GPIO/special function monitors which always attach via a common header - and which quickly/easily confirm that the called functions perform as we (hope) or expect...
We've often observed clients - who "protest" the time/effort required to create such "stylized" test boards - spend huge amounts of time/effort due to failed or improper "haywire" test connections & methodology.
Some of our boards are geared to the test of wide MCU bus bits - here we employ both an array of 16 Leds and a small character Lcd - which quickly/easily confirm that the "BUT" (board under test) and/or the software and function calls are proper. The quickness & precision of such a test-board pays huge dividends.
The ability to "reuse" a known good dedicated test board "pays for itself" in short order. Unique, rapidly deployed "clip ons" - in time - cost far more in lost productivity & morale than a proper "stylized" (reusable) small test board.