Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#24 Device malfunction after aborting dowload

open-fixed
nobody
None
5
2009-09-21
2008-11-13
Giacomo Ciani
No

I'm using iBlue747b with BT747 v1.61.3 (non-desktop version).

I noticed that if I abort a log dowload, the device become (partially?) unresponsive. I can't use BT747 or even the original application untill I switch off and on the device again.

If I abort a dowload using the original application, aborting takes a while but the device is fully functional at the end. This may suggest that there is some special operation required upon aborting log dowload to leave the device in a functional state.

By the way, I also tried if there was a difference in using the bluetooth connection or the usb one: no difference.

Giacomo

Discussion

  • Mario De Weerd
    Mario De Weerd
    2008-11-13

    Hi

    I am not sure this is a bug - could be your interpretation. We could be more clear if you activate debug and attach the log(s).

    to speed up the download, 0x10000 bytes of data are requested as with the original application.
    When you abort the download, the device will continue to send its data. In the mean time it will not respond to any other command. So you must wait in a way until the transaction is over.
    This behaviour surely changes if you set the chunk size to a value of 0x800 (2048) in which case the abort is almost immediately.

     
  • Giacomo Ciani
    Giacomo Ciani
    2008-11-14

    Inspired by your suggestions and trying to replicate the procedure, I think I found the problem: it arises where the available data in memory are less than the requested chunk. This happens even with a short chunk (2048) if the data are less than this.

    If you want to check and confirm my finding, this is the procedure:
    start the application
    activate the connection
    start a download with a chunk size bigger that the available data (easy if you just erased the memory)
    cancel the download before completion
    (waiting some time here I found no difference)
    move to "ctrl" tab, for example: data are not retrieved from the device.

    About the log, I didn't really understand how to use it. I opened the java console (by right clicking on the java icon in the taskbar and selecting "Open console"), the I started the application and activated "debug" from the menu. I expected something to be written on the co0nsole windows, but nothing... If you explain me how to use the debug, i?ll be happy to provide you the log.

    Bye

    Giacomo

     
  • Giacomo Ciani
    Giacomo Ciani
    2008-11-14

    Debug information

     
    Attachments
  • Giacomo Ciani
    Giacomo Ciani
    2008-11-14

    Hi,

    I repeated the steps described before with "debug" and "debug connection" active.

    Please find attached a zip file containing a copy of the console, and the rawDebug file created by the application.
    File Added: Debug.zip

     
  • Mario De Weerd
    Mario De Weerd
    2009-09-21

    • status: open --> open-fixed
     
  • Mario De Weerd
    Mario De Weerd
    2009-09-21

    I think this is fixed with one of the recent changes.