ZGUS |
Customised Instrumentation Products |
|
|||||||
|
Hidprobe Version 0.7b
Download (if required): Microsoft redistributable C runtime libraries
Hidprobe
Hidprobe is a single file executable Windows PC program for COM port and HID communication facility listing and for communication through these facilities as text and hexadecimal. Hidprobe includes scripting and a 7 bit single channel graph trace. The Hidprobe distribution also includes files relevant to upgrading firmware of ZGUS products.
Sample Illustrative Hidprobe Scripts for Dialogue Communication (event handler FSM and pseudo polling)
Below are two scripts that are based on a simple script that was used to test uploads of secure firmware to embedded devices that use an automated dialogue. Both scripts require input files to be formatted a particular way and do not need to know if the input file is secure or not.
bl_fsm_js uses conventional event handlers and a FSM (Finite State Machine). The FSM allows a function to be resumed where the information provided is not complete.
bl_js uses 'pseudo polling' of an event notifier that puts a thread to sleep if there are no event notifications to be collected. The style is more comfortable for those not accustomed to event handling where the event only provides a portion of required information, however the style does not scale very well. However the style is fine for 'quick and dirty' solutions. This script is an older version of Hidprobe library script 'zgbootload\lib\bl.js' included in the Hidprobe distribution
Additonal Files included relevant to ZGUS products
Directory zgbootload includes files relevant to ZGUS products and their bootloaders
For simplicity ZGUS communication protocols do not include wake up characters. For low power use with the BLUE chip this means some attached chips running at very low power need special care to avoid missing characters. C Code includes an example of low power exercises with MSP430 and PIC 16F886 micocontrollers.
|
|||||||||
|
OK
|
Mode: Fast
| User: Guest
| Location:
/hidprobe
|
|||||||||
|
ZGUS is a trading name of Auscyber Pty Ltd. ABN 65 089 449 632
22 Ragnar St, Edmonton QLD 4869. Tel (07) 4045 3118 |
|||||||||