Menu

USBDM with KDS, Arm Kinetis and timeout entering LLS mode (it works fine with CW10.6 but not with KDS)

2014-10-01
2014-10-28
  • Serge Bonenfant

    Serge Bonenfant - 2014-10-01

    Hi everybody

    I'm using FRDM KL25Z demo board with OpenSDA as external probe.

    I can debug my target Arm Kinetis L series (I'm using MKL16Z128), with Codewarrior CW10.6 and USBDM

    For that, I put a beakpoint in the main loop.

    the main loop enters LLS mode. LLS is waked up every 5 secondes in the main loop by LPTMR, so I reach my beakpoint every 5 secondes and then I can continue debuging. All works fine.

    I try the same methode with Kinetis Design studio but USBDM exits immediatly with time out when Kinetis L enters LLS mode.

    GDB Server message is warning: Remote failure reply: EFF:Closing connection

    I can't find a solution to be able to work as with CW10.6.

    Thanks

    Serge

     
  • Peter O'Donoghue

    Hi Serge,

    I am playing with the sleep behaviour at the moment. It seems workable to extend the retry time to 10 seconds which should work with the arrangement you have. Expect this is 4.10.210.

    The main trouble is that it isn't possible to detect that the target is in deep sleep - It looks like the target has gone away.

    bye

     
    • Serge Bonenfant

      Serge Bonenfant - 2014-10-16

      Hi and many thanks Peter
      How can I extend this retry time to 10 seconds because debug exits immediatly ?
      I'm using USBDM 4.10.6.200

      bye

       
  • Peter O'Donoghue

    Hi Serge,

    I'm sorry I was unclear. The retry time is hard coded in the GDB server. I will change it to 10s in the next version which will be released shortly.

    It should be an option but it is not currently.

    bye

     
    • Serge Bonenfant

      Serge Bonenfant - 2014-10-28

      Hi Peter
      It works fine now with KDS
      Many thanks

      But Arm Flash Programmer from this version stops working
      I use USBDM-OpenSDA when progromming with Mass-Erase
      I have an error in Erase-Program-Verify
      Arm Flash Programmer works again downgrading to 4.10.6.190

      bye

       

      Last edit: Serge Bonenfant 2014-10-28

Log in to post a comment.