Changeset 4813


Ignore:
Timestamp:
11/22/08 03:28:50 (8 years ago)
Author:
werner
Message:

Added description.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • developers/werner/wlan-spi/patches-tracking/debug-gta02-trigger.patch

    r4810 r4813  
     1This is a little gadget that may be useful for low-level debugging. 
     2 
     3It generates a rising edge on GPF6 (the AUX button) when a certain 
     4trigger condition has occurred the right number of times. This can 
     5be used to trigger an oscilloscope. 
     6 
     7The code being debugged has to call trigger() before the event in 
     8question. The system is controlled via sysfs files: 
     9 
     10/sys/kernel/trigger 
     11    write: enable the trigger and specify now many triggers will be 
     12        ignored. 
     13    read: read back the value that has been set. 
     14/sys/kernel/trigger_count: 
     15    write: reset the counter. 
     16    read: the number of times trigger() has been called since the 
     17        last reset. 
     18 
     19Probably not something we want in our official branches, but it may 
     20be handy to have around if debugging some protocol issues. 
     21 
     22- Werner 
     23 
    124Index: ktrack/arch/arm/plat-s3c24xx/Makefile 
    225=================================================================== 
Note: See TracChangeset for help on using the changeset viewer.