This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8054 - set_gpio plugin
Attached to Project:
Rockbox
Opened by Przemysław Hołubowski (p.h.) - Tuesday, 30 October 2007, 23:22 GMT+1
Opened by Przemysław Hołubowski (p.h.) - Tuesday, 30 October 2007, 23:22 GMT+1
|
DetailsHi!
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
I've forgotten: use small font; 6x9 will be the best.
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?
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.