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.

RTOS/AM3352: ISDK semaphore overflow

Part Number: AM3352
Other Parts Discussed in Thread: SYSBIOS, , PRU-ICSS-INDUSTRIAL-SW

Tool/software: TI-RTOS

Hi, everyone

when i use TI RTOS, i got a semphore overflow.

I ONLY post a  semphore in timer3 isr, and pending the semphore in a task, after a long time running, a semphore overflow happen.

A).  message display in CCS console

ti.sysbios.knl.Semaphore: line 319: assertion failure: A_overflow: Count has exceeded 65535 and rolled over.
xdc.runtime.Error.raise: terminating execution

B). code at semphore.c

 

After sem->count++, the sem->count  equal to 0, so Assert_isTrue called the overflow process. that's mean sem->count before is -1

As I know, the semphore never less than 0, am i right,  how can this happen.

C) . debug call stack

My Develop Enviroment

Compile : CCS 6.1.3

CPU       : AM3352

RTOS     :am335x_sysbios_ind_sdk_1.0.0.6

What's can cause this question, Is there any wrong with my usage.

Thank you.

  • Hi,

    ISDK 1.X is no longer supported.

    TI is moving support of all protocols for AM335x and AM437x to PRU-ICSS-INDUSTRIAL-SW in order to provide a single model for industrial software delivery on current and future devices. PRU-ICSS-INDUSTRIAL-SW is already in use for AM57x devices.

    AM335x and AM437x industrial protocol support has begun migrating from SYSBIOSSDK-IND-SITARA (Ind SDK 2.x) to PRU-ICSS-INDUSTRIAL-SW. All current protocols for AM335x and AM437x will be supported on PRU-ICSS-INDUSTRIAL-SW by the end of June 2017.

    TI stopped providing free support for SYSBIOSSDK-IND-AM335x on 31 March 2017, and will no longer provide free support for SYSBIOSSDK-IND-SITARA after 30 June 2017.

    If you are interested in receiving maintenance releases and technical support for either of these SDKs after these dates please contact IndSDKSupport@list.ti.com or your TI representative.
  • Hi,

    I think we need some clarification here... IA-SDK is targeting Industrial Comms solutions based on PRU-ICSS implementations. But there are no PRUs in AM3352...

    Otherwise semaphores are not directly related to IA-SDK. It is more a SysBios question. So if you rephrase the question you may get the right support. Don't forget to tell your environment (CCS and BIOS/XDC versions..). Otherwise Biser's comment is correct.

    Regards,

    Frank

  • The RTOS forum read only now, Where is the sysbios forum, could you post a link, thank you.
  • RTOS questions should be posted on device forums.