Issue with HE910 Power ON/OFF Logic

16 thoughts on “Issue with HE910 Power ON/OFF Logic

  1. We have Telit HE910 USB lines connected to a freescale i.MX28 which is running 3.2 Linux Kernel

    Implemented the power ON/OFF logic based on Telit_HE910_Hardware_User_Guide_r24.pdf

    Power ON Logic :

    – Set ON_OFF to low.
    – Delay min 5 seconds

    – Set ON_OFF to high
    – PWMON is ON. Works great.

    Power OFF Logic:

    – Set ON_OFF to low
    – Delay min 3 seconds
    – Set ON_OFF to high
    To power off, this was not enough for us. We had to additionally, below two steps along with above three steps.
    – Delay 3 seconds
    – Set ON_OFF to low

    1) Why did we had to do these additional two steps to power OFF the Telit’s HE910 apart from those steps mentioned in Telit_HE910_Hardware_User_Guide_r24.pdf ?

    Apart from this I have couple of questions.

    2) If I repeatedly do execute the above mentioned Power ON / OFF Logic, continuously, say for 20 times, at random time, POWER ON fails and I see below kernel error.  Any thoughts on this ?
     [  969.480000] usb 2-1: new high-speed USB device number 2 using fsl-ehci
    [  969.480000] fsl-ehci fsl-ehci.0: fatal error
    [  969.480000] fsl-ehci fsl-ehci.0: HC died; cleaning up
    [  969.490000] hub 2-0:1.0: cannot reset port 1 (err = -19)
    [  969.500000] hub 2-0:1.0: cannot disable port 1 (err = -19)
    [  969.510000] hub 2-0:1.0: cannot reset port 1 (err = -19)
    [  969.510000] hub 2-0:1.0: cannot disable port 1 (err = -19)
    [  969.520000] hub 2-0:1.0: cannot reset port 1 (err = -19)
    [  969.530000] hub 2-0:1.0: cannot disable port 1 (err = -19)
    [  969.540000] hub 2-0:1.0: cannot reset port 1 (err = -19)
    [  969.540000] hub 2-0:1.0: cannot disable port 1 (err = -19)
    [  969.550000] hub 2-0:1.0: unable to enumerate USB device on port 1
    [  969.560000] hub 2-0:1.0: cannot disable port 1 (err = -19)

    3) If I have the ON_OFF state as HIGH (which will be the actual state of it, after following Power ON logic)
    and use the AT#SHDN Telit HE910 actually reboots, instead of the intended shutdown.
    I had to set ON_OFF to low, before I execute AT#SHDN to actually get a shutdown. Is this expected ?

    Firmware Version : AT+GMR
    12.00.002

    I have the Telit’s HE910 USB lines soldered to i.mX28 in our proprietary board. I have no means of accessing Telit’s lines to connect to Windows PC to update the firmware. Hence I have this old firmware.

    If at all there is a possiblity of updating Telit’s firmware via Linux, that will be great to know as well.

    Thanks a lot for your response. Let me know if you guys, need additional information

      1. Hi, Raja.

          First of all, you should try to update the module’s firmware via USB and then try your issues once again. Telit has special document, under NDA, that describes the updating protocol. All you need to do is to compose a program to carry out this procedure. I have HE910-G modules connected to imx-53 and sam9x25 ARMs. And for both I got your problem 2:

        UE910-EUD USB linux turn-on problem

        http://www4.telit.com/en/services/technical-forum/technical-forum.php?p_id=331&f_ac=thread&f_thread=1338

  2. Sergey

    Thank you for your response.  The Error I get here is quiet different from yours.

    Thanks a lot for your concern though. Expecting thoughts from Telit’s Technical Guys for almost a week now.

    As well, expecting answer for all of the three questions I asked.

    Thanks.

      1. Not as of now. You mean to email them for those questions I asked here and I should actually be asking there only, rather than here ?

        1. This is a forum, that is your region dedicated technical support team email. Try it.

  3. Sure.

    But, it would be great to get you guys thoughts as well in this forum, for my questions.

    Thanks a lot in advance.

     

     

    1. Raja,

        If you get any tips or answers upon your questions, please, share it here.

        1. -hi Raja,

          I know that you have received some indications from dedicated technical support team for your region  . Which are the results of your tests?

           

  4. Luca Tomasi

         I am getting some responses from JeyaKumar.R@telit.com. I am not very sure if he is the guy from dedicated technical support team.

    He is strongly suggesting to update my firmware to 12.00.005 which he has provided me through e-mail.

    As I told earlier, I have an embedded linux device connected to Telit HE910. I am working on making hardware changes to the custom board to get the HE910 USB lines, so that I can connect to Windows and get the software update done.

    Will provide more information on the results, once I am successful with the above operation.

    Thanks for asking.

      

    1. yes, it’sa good advice.  better to start from recent firmware and repeat your tests. It’s not normal/not observed before to have that issue with HE910 Power ON/OFF Logic

       and with shdn. It could be useful maybe also to have an adapter board with our EVK2 for comparison tests 

  5. Dear Telit Team

    I have updated the firmware of Telit HE910 to 12.00.005

    Problem still exists.

    And, would like to get answer for all of my three questions

    Let me know how can I support from my side interms of additional information

    Telit HE910 USB lines connected to a freescale i.MX28 which is running 3.2 Linux Kernel

    Implemented the power ON/OFF logic based on Telit_HE910_Hardware_User_Guide_r24.pdf

    Power ON Logic :

    – Set ON_OFF to low.
    – Delay min 5 seconds

     

    – Set ON_OFF to high
    – PWMON is ON. Works great.

    Power OFF Logic:

    – Set ON_OFF to low
    – Delay min 3 seconds
    – Set ON_OFF to high
    To power off, this was not enough for us. We had to additionally, below two steps along with above three steps.
    – Delay 3 seconds
    – Set ON_OFF to low

    1)
    Why did we had to do these additional two steps to power OFF the
    Telit’s HE910 apart from those steps mentioned in
    Telit_HE910_Hardware_User_Guide_r24.pdf ?

    Apart from this I have couple of questions.

    2)
    If I repeatedly do execute the above mentioned Power ON / OFF Logic,
    continuously, say for 20 times, at random time, POWER ON fails and I see
    below kernel error.  Any thoughts on this ?
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.300000] ehci_fsl_pre_irq
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.300000] usb usb1: usb wakeup-resume
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.300000] usb usb1: usb auto-resume
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.300000] ehci_fsl_bus_resume, Host 1
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.300000] fsl-ehci fsl-ehci.0: resume root hub after power loss
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.340000] hub 1-0:1.0: hub_resume
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.340000] fsl-ehci fsl-ehci.0: GetStatus port:1 status 1c001002 14  ACK POWER sig=se0 CSC
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.450000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.800000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.800000] fsl-ehci fsl-ehci.0: GetStatus port:1 status 10001803 8  ACK POWER sig=j CSC CONNECT
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.800000] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
    Jan  1 00:39:56 iMX28-T5R1 kern.debug kernel: [ 2396.960000] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101

     [  969.480000] usb 2-1: new high-speed USB device number 2 using fsl-ehci
    [  969.480000] fsl-ehci fsl-ehci.0: fatal error
    Jan  1 00:39:57 iMX28-T5R1 kern.debug kernel: [ 2397.080000] fsl-ehci fsl-ehci.0: fatal command 0010024 (park)=0 ithresh=1 Async period=512 HALT
    Jan  1 00:39:57 iMX28-T5R1 kern.debug kernel: [ 2397.080000] fsl-ehci fsl-ehci.0: fatal status c8090 PPCE Async FATAL
    Jan  1 00:39:57 iMX28-T5R1 kern.debug kernel: [ 2397.080000] fsl-ehci fsl-ehci.0: reset command 0010026 (park)=0 ithresh=1 Async period=512 Reset HALT

    [  969.480000] fsl-ehci fsl-ehci.0: HC died; cleaning up
    [  969.490000] hub 2-0:1.0: cannot reset port 1 (err = -19)
    [  969.500000] hub 2-0:1.0: cannot disable port 1 (err = -19)
    [  969.510000] hub 2-0:1.0: cannot reset port 1 (err = -19)
    [  969.510000] hub 2-0:1.0: cannot disable port 1 (err = -19)
    [  969.520000] hub 2-0:1.0: cannot reset port 1 (err = -19)
    [  969.530000] hub 2-0:1.0: cannot disable port 1 (err = -19)
    [  969.540000] hub 2-0:1.0: cannot reset port 1 (err = -19)
    [  969.540000] hub 2-0:1.0: cannot disable port 1 (err = -19)
    [  969.550000] hub 2-0:1.0: unable to enumerate USB device on port 1
    [  969.560000] hub 2-0:1.0: cannot disable port 1 (err = -19)

    3) If I have the ON_OFF state as HIGH (which will be the actual state of it, after following Power ON logic)
    and use the AT#SHDN Telit HE910 actually reboots, instead of the intended shutdown.
    I had to set ON_OFF to low, before I execute AT#SHDN to actually get a shutdown. Is this expected ?

    EDIT : Contents in Italic Style in the above log are additional information I got by adding CONFIG_USB_DEBUG=y, with new Linux Kernel (3.2)

    Thanks.

    1. Hi,

       

       Power OFF Logic:

      – Set ON_OFF to low
      – Delay min 3 seconds
      – Set ON_OFF to high
      To power off, this was not enough for us. We had to additionally, below two steps along with above three steps.
      – Delay 3 seconds
      – Set ON_OFF to low

      1) Why did we had to do these additional two steps to power OFF the Telit’s HE910 apart from those steps mentioned in Telit_HE910_Hardware_User_Guide_r24.pdf ?

      It’s the first time I see this.

      Is VUSB mantainded during switch off or not? 

      Please post a file with the schematics of your application, or contact directly technical support  by e-mail

       

        2) If I repeatedly do execute the above mentioned Power ON / OFF Logic, continuously, say for 20 times, at random time, POWER ON fails and I see below kernel error.  Any thoughts on this ?

      It might be interesting to receive also the part of log preceeding this event where it should be visible switch off and switch on.  mail

       

      3) If I have the ON_OFF state as HIGH (which will be the actual state of it, after following Power ON logic)
      and use the AT#SHDN Telit HE910 actually reboots, instead of the intended shutdown.
      I had to set ON_OFF to low, before I execute AT#SHDN to actually get a shutdown. Is this expected ? 

       

      It’s not expected. Please post a file with the schematics of your application, or contact directly technical support  by e-mail

      1. We believe, issues mentioned in this post are resolved.

        1) Why did we had to do these additional two steps to power OFF the Telit’s HE910 apart from those steps mentioned in Telit_HE910_Hardware_User_Guide_r24.pdf ?
        3) If I have the ON_OFF state as HIGH (which will be the actual state of it, after following Power ON logic) and use the AT#SHDN Telit HE910 actually reboots, instead of the intended shutdown.  I had to set ON_OFF to low, before I execute AT#SHDN to actually get a shutdown. Is this expected?

        Our Application side GPIO(HE910_ON_OFF) interface looks to be active LOW and hence resolved with inverse power logic.

        2) If I repeatedly do execute the above mentioned Power ON / OFF Logic, continuously, say for 20 times, at random time, POWER ON fails and I see below kernel error.  Any thoughts on this ?
        This appears to be arising because of Freescale imx28 (which is our host for Telit HE910) errata and fixed as in discussion : https://lkml.org/lkml/2014/2/10/994
        With this fix, we are not able to reproduce the problem

        Telit "North American Application Engineering Team" Technical Assitance person helped us in resolving the 1st and 3rd question .