Rockbox

Tasklist

FS#8054 - set_gpio plugin

Attached to Project: Rockbox
Opened by Przemysław Hołubowski (p.h.) - Tuesday, 30 October 2007, 22:22 GMT
Last edited by Marcin Bukat (MarcinBukat) - Sunday, 05 June 2011, 11:28 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System PortalPlayer-based
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi!

Set_gpio plugin is intended for those developers who want to investigate port pin assignments using hardware approach. You can set any output and output enable register of the PP targets.

Currently the plugin works on H10 targets only, but it can be simply updated to work on other PP based targets if needed.

I have wrote it with an idea it could help me investigate missing H10's port pins asignments and in fact it did.

The plugin uses bit masking to ensure safety operation, but there's no guarantee that it won't do any harm to your player's hardware.

Masks prevent setting as outputs pins which in orginal firmware function as inputs. This way the most dangerous situation of out-out conflict should be eliminated.

* If you are going to use the plugin remember to properly set masks! *

Usage:
------
- selecting register: UP/DOWN/FF/REW
- select/edit mode toggle: "O" button
- change edited rergister's value: UP/DOWN
- save edited register: PLAY

This task depends upon

Closed by  Marcin Bukat (MarcinBukat)
Sunday, 05 June 2011, 11:28 GMT
Reason for closing:  Rejected
Additional comments about closing:  This is VERY player specific and maintaing this would be an nightmare.
Comment by Przemysław Hołubowski (p.h.) - Wednesday, 31 October 2007, 23:22 GMT
I've forgotten: use small font; 6x9 will be the best.
Comment by MichaelGiacomelli (saratoga) - Monday, 05 November 2007, 18:03 GMT
I've only quickly skimmed the source, but what about this is specific to the H10? Seems like it should work with any PP502x player?
Comment by Przemysław Hołubowski (p.h.) - Monday, 05 November 2007, 18:43 GMT
You're quite right. It should work on any PP502x player, although it is *very* important to properly set masks for the used player. Masks and key mappings are currently set only for H10.

Loading...