This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GPIO-BANK4&5 be always cleared by BIOSUSB's jungo_thread0

Other Parts Discussed in Thread: OMAP-L137

Hi,
============================
BIOSUSB version : 01_10_02

test board: OMAP-L137 evm
============================
The GPIO-BANK4_5's setdata register(addr: 0x01E26068) of OMAP-L137 is always cleared by jungo_thread0,and those pins goes low. So I can't keep them high statically.

I have to use those pins to light LEDs and do other things.

I have asked this question several days ago at [http://e2e.ti.com/support/embedded/f/355/p/38669/136678.aspx#136678], and Ravi didn't resolve.

Different version, same question.

I also tested the dualrole lib, and the result is the same as host lib.


Help me,please

regards

Haoxing Li

  • I'll ask the BIOS PSP team to take a look at answering this...

  • Hi, David

    Thanks for your reply. I hope you can resolve this problem finally.

    I'm waiting your answer.

     

    Regards

     

    Haoxing Li

     

     

  • Haoxing

    As i have mentioned in the another post [http://e2e.ti.com/support/embedded/f/355/p/38669/136678.aspx#136678], i have try to reproduce the with usbhosthid example,  I could not find any issues.

    I followed the same steps as you have followed(mentioned in the previous forum post)

    0) compile the usbhosthid example and load .out to OMAPL137 ( version used is biosusb_1_10_02 )

    1) Halt ,and set the GPIO register address(0x001E26000)  into  "View->Memory".

    <Ravi > The initial value of this register shown was 0x01E26068h = 0x80000000.

    2) Change the value of address 0x001E26068h(GPIO Banks 4 and 5 Set Data Register) to 0x0000FFFF or other non zero value.

    3) run again.

    4) wait a second or do something like pulgin a hid device

    <ravi > disconnect/connected the mouse device,

    5) Halt and watch. I find the value of 0x001E26068 changed to all zero(0x00000000) .

    <Ravi > the value of GPIO set register is x01E26068h = 0x8000FFFF

                  the value of clear register is 0x01e26068h = 0x8000FFFF

    Hope you have used the latest version of biosusb (1.10.02). Can you try and confirm.

    I have tried setting and clearing multiple patterns to SET and CLEAR registers along with connect and disconnect of mouse device (mouse movements), i have never observved the 0x01e26068 register is set to zero.

    Regards

    Ravi B

  • Ravi

    Your answer made me puzzle,because I have test dozons of times and the result was the just as said.

    Can you tell me your test environment? Is that refered to the version of CCS and EVM board.

     

    My board:   OMAP-L137 EVM ASSY 511340         S/N: 13A_0903027

     

    Regards

    Haoxing Li

  • Haoxing Li,

    To clear a particular GPIO bit one has to use the clear register.  Clear Register is not used in BIOSUSB so BIOSUSB would not be the one clearing the GPIO mapping.  I believe there is another software component that is the cause for this.  Pl. investigate.

    Do you need BIOSUSB in your application ? If not can you try to run your tests without BIOSUSB compiled in?

    regards

    swami

  • Haoxing Li

     Can you confirm what is BIOSUSB version you are using.

    I have verfied on OMAPL137 board in CCS3 environment with latest BIOSUSB version 1.10.02.

    Regards

    Ravi B

     

  • Hi,gays.

    I have to use BIOSUSB, because I will use the HOST stack and HID stack.

    I am sure that CCS3, BIOSUSB, EDMA, PSP, RTFS are all in the right version.

    I will make a screen record, and send out.

    Thank you all

     

    Regards

    Haoxing Li

     

  • Hi

    Here [http://e2e.ti.com/members/621166/files/BIOSUSB_5F00_TEST.swf.aspx] is my test record,and I made some editing on it.

    If it plays too fast, you could download or press "pause".

     

    Regards

     

    Haoxing Li

  • Swami

    I can catch you. I used just the EVM board  and the HostHid example of BIOSUSB.

    Do you know other event which can only  cause GPIO-BANK4&5 innormal in BIOSUSB or BIOS? I mean other BANKs is ok except GPIO-BANK4&5.

     

     

    Regards

     

    Haoxing Li