Ive been bashing my brains out trying to get this to work.
I finally managed to understand how to use the gpio ports on the W90N745...
I put together some code that in theory would configure gpio pins 7-10 (pins #2-5 of gpio port#5) and then set each pin high&low.
however, it looks like theres more going on here than simple gpio calls.
no matter how I tried, I could not set physical cpu pin #12 (gpio port#7) to 'low', and, in fact, it is at 3.3V by default. I checked the voltage even while at the bootloader prompt (i.e., before loading linux), and its also at 3.3V...I tried loading both my custom 3.1 kernel, and the 2.4 kernel from the BSP, and got the same results; cpu pin #12 stuck at 3.3V, and any attempt to try to reconfigure and change the datavalue failed or was simply ignored, the voltage was stuck at 3.3V (this is the pin that goes to the 'A0' input on the addressable latch).
so, I loaded up the default kernel, and placed my meter probes on pin 'A0' while the kernel booted.
At around the point mentioned at the beginning of this thread, when the camera exe is running and prints out "no support" and does the usb initialization, the voltage on the pin drops to 0.2-0.3V.
From what I understand, there's no way that pin A0 on the latch should be the source of the 3.3V, so pin 12 on the cpu is definitely the source of the 3.3V, is this correct?
based on the info gathered by 'admin' in the first post, only gpio ports 0 and 4 are being initialized, so what the heck is going on with cpu pin 12 (which corresponds to 'gpio7/gpio port 5 - pin 2')
? So, clearly something in the camera executable is resetting this pin and getting it ready for IO, but how is this being accomplished???
another small thing that I realized is that, in the datasheet for the N745, the section on gpio shows the text 'need updated' next to the description for gpio port 5 (see page 314 of the data sheet). So, now Im wondering if there have been drastic changes in the specs for this chip with regards to gpio port 5???
anyway, Im completely stuck, so I would really appreciate some help on this...
admin, where are you??? please save me...