Thank You for your continued support and contributions!
Thanks for the help kugel. Cannot really understand the explanation re the ports and how they are addressed. I take it each pin is not a single bit within a word, but there are seperate words for each pin?
*PANIC*SD : DATA TIMEOUT,
I can confirm that GPIOD pin 7 is the button light for the Sansa c250.Thanks Kugel. The code worked fine.Could you add it to the hardware mappings page for me please.
Point taken about the power button - I will try to find it. However, am currently waiting till I get a datasheet before doing any more hacking. I have requested one so hopefully wont be long now till I can get things moving. In the meantime I will investigate the main ROckbox code and see what I can pick up about how it works.Most of my life ive worked in IT writing software, usually for large companies. I have to say that doing Rockbox is a thousand times more interesting and satisfying. The pay is'nt as good, but there is lots of job satisfaction and how often do you get to listen to your code? Would'nt it be great if the Rockbox hardware could get made too?
If i address a GPIO pin using the code "ldr r1, [r0, #0x8] " where r0 has the base address of the IO port A, am I right in thinking that this is pin A1? Similarly would "ldr r1, [r0, #0x10] " be A2?
Also, I notice that some of the pins seem to detect on bit unset (0), others on bit set (non zero). Is this normal?
Is that becuase it is not necessary or because I have got confused somewhere?
Page created in 0.143 seconds with 21 queries.