• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » WLAN Applications Forum » Bluetooth: Error "Chip/interface misbehavior dropping frame starting"
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Bluetooth: Error "Chip/interface misbehavior dropping frame starting"

This question is not answered
Pavel Smith
Posted by Pavel Smith
on Mar 12 2012 07:53 AM
Prodigy60 points

Hi, All!

I have board with Bluetooth Chip WL1283 with Android 2.3.4 and kernel 2.6.35. I connect via Bluetooth this board to Windows over PAN and starting download file from Windows to this board. Over time, downloading freeze. I read kernel log on my board and see this messages:

<3>(stc): Data length is too large len 1128 room 1044
<3>(stc): chip/interface misbehavior dropping frame starting with 0x39
<3>(stc): chip/interface misbehavior dropping frame starting with 0x49
<3>(stc): chip/interface misbehavior dropping frame starting with 0xcc
<3>(stc): chip/interface misbehavior dropping frame starting with 0xc5
<3>(stc): chip/interface misbehavior dropping frame starting with 0x51
<3>(stc): chip/interface misbehavior dropping frame starting with 0x51
<3>(stc): Data length is too large len 1055 room 1044
<3>(stc): chip/interface misbehavior dropping frame starting with 0x1b
<3>(stc): chip/interface misbehavior dropping frame starting with 0x00
<3>(stc): chip/interface misbehavior dropping frame starting with 0xa9
<3>(stc): chip/interface misbehavior dropping frame starting with 0x84
<3>(stc): chip/interface misbehavior dropping frame starting with 0x46
<3>(stc): Data length is too large len 1182 room 1044
<3>(stc): chip/interface misbehavior dropping frame starting with 0x39

Can anybody sad me, why it's happened?

bluetooth WL1283 ti-st shared transport
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Naveen Jain
    Posted by Naveen Jain
    on Apr 04 2012 11:09 AM
    Intellectual2360 points

    Dear Pavel,

    The issue seems to some sort of data corruption at transport layer as ST driver (stc) in kernel is throwing below errors messages.

    <3>(stc): Data length is too large len 1128 room 1044 [The data length can’t be more than 1021 bytes – 3-DH5]
    <3>(stc): chip/interface misbehavior dropping frame starting with 0x39
    <3>(stc): chip/interface misbehavior dropping frame starting with 0x49

    This can possibly be due to UART dropping bytes or corruption somewhere from the UART to the time it gets delivered to ST layer.

    Please provide more details on followings?

    1)      Which platform are you using – Standard Panda/Blaze or custom built?

    2)      Which baseline TI release are you using and have you done any modification to UART serial driver or ST layer?

    3)      As PAN is not supported in Android GingerBread – Have you implemented PAN profile or trying via command line?

    4)      Do you see the same behavior with other data transfer applications over BT (file transfer via OPP profile or A2DP profile) or is it just PAN profile?

    Regards,

    Naveen

    ------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pavel Smith
    Posted by Pavel Smith
    on Apr 09 2012 10:16 AM
    Prodigy60 points

    1) It's custom board

    2) I can not say, what version of the Shared Transport driver i use, because it info not presented in driver (only copyright and author). But i can share driver on file storage if it can help.

    3) I builded BNEP driver in kernel and managing PAN over command line.

    4) No, i can't reproduce this errors on A2DP or OPP. May be because packages for OPP and A2DP less long, than for PAN.

    The reason of this errors can be in high baud rate of UART?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Naveen Jain
    Posted by Naveen Jain
    on Apr 09 2012 15:32 PM
    Intellectual2360 points

    Dear Pavel,

    I am not sure if the reason of these errors can be high baud rate of UART as I assume that you are using the same baud-rate for A2DP & OPP as well.

    You mentioned that "Over time, downloading freeze." Can you please let me know once you start PAN data transfer, after how much time the issue happens and is this consistent and occurs around the same time?

    As A2DP and OPP holds the system wake lock to avoid Android go to suspend while data transfer is going on, I suspect the Android might be going into suspend while using PAN profile from command line causing the data errors.

    Can you set the screen timeout to 30 minutes from Settings -> Display -> screen timeout while doing the test? Also hold a wake lock and let us know you observations?

    before running the PAN test execute below from command line,

    $ echo test > /sys/power/wake_lock

    after running the PAN test execute below from command line,

    $ echo test > /sys/power/wake_unlock

    Thanks & Regards,

    Naveen

    ------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pavel Smith
    Posted by Pavel Smith
    on Apr 11 2012 08:50 AM
    Prodigy60 points

    Sometimes downloading freeze after 1 megabyte downloaded. Sometimes i can download 150 - 250 megabytes. I don't remember, what a sleep timeout for screen was set in this cases.

    I tried setup a screen timeout to 30 minutes and start test. When the screen goes off, i turned it on via power button. And after that downloading was freezed with same error.

    I tried test with a wake locks, but nothing has changed. This errors also was observed during the test.

    I also tried starting OPP transfer parallel with PAN downloading, but it didn't help. OPP and PAN downloading stopped.

    P.S. I attached source code of the Shared Transport  which i use

    4075.st_core.c.txt

    2148.st_kim.c.txt

    3108.st_ll.c.txt

    7206.ti_wilink_st.h.txt

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pavel Smith
    Posted by Pavel Smith
    on Apr 19 2012 10:28 AM
    Prodigy60 points

    Any suggestions? May be need do something else? F.e., use WakeLocks from JAVA (develop a simple program that calling WakeLock and starting PAN transfer)?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Naveen Jain
    Posted by Naveen Jain
    on Apr 19 2012 16:21 PM
    Intellectual2360 points

    Dear Pavel,

    It is bit strange as you mention that sometimes you can download up to 250 MB and sometimes it fails even after 1 MB. This suggests some sort of instability may be in UART driver. I would suggest trying with lower baud-rates.

    You also mentioned that you tried setup a screen timeout to 30 minutes and start test. When the screen goes off, you turned it on via power button. And after that downloading was freezed with same error.

    From your statment can I assume that the issue occurs only after the screen goes off (and always after screen times off). If it is the case, can you enable always awake option via setting->Applications->Development->Stay Awake option.

    Finally if both the above (lower baud rate and screen off) does not help I would suggest to implement the wakelock mechanism as done in A2DP and OPP assuming that you do not see any issues during A2DP and OPP data transfer.

    Thanks,

    Naveen

    ------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use