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.

CCS/TMS320F28069: tms320f28069

Part Number: TMS320F28069

Tool/software: Code Composer Studio

Hi,

I created project in CCS related to TMS320F28069 Controller. When i am loading in development board project code is working fine, problem is loading is commercial board i am getting ILLEGAL_ISR() function call that to GPIO's 1-8 configured as outputs. After the GPIO's 1-8 Configured as inputs to the controller code is working fine. what are the resons for getting ILLEGAL_ISR() fuction call.

with regards,

P M Manoj Kumar. 

  • Hi Manoj,

    manoj kumar69 said:
    GPIO's 1-8 configured as outputs. After the GPIO's 1-8 Configured as inputs to the controller code is working fine.

    Are these GPIOs left floating or connected to some circuit? Configuring them as inputs resolves the illegal_isr issue right?

    Regards,

    Gautam

  • Hi Gautam,

    All GPIO's are left floating i.e, high impedance state. I was configured as input there is no problem. Configured as output code going to illegal_isr() .

    with regards,
    P M Manoj Kumar.
  • manoj kumar69 said:
    All GPIO's are left floating i.e, high impedance state. I was configured as input there is no problem. Configured as output code going to illegal_isr() .

    That's odd. I would request the TI team to comment on this.

    Regards,

    Gautam

  • Manoj,
    an illegal ISR happens when a instruction that the C28x doesn't recognize is executed. For example the instructions 0xFFFF and 0x0000 are not allowed by the C28x, if those instructions are executed it will branch to the illegal ISR.

    Does you code have branches that might be to uninitialized memory?

    Is your code self augmenting ? This happens pretty easily when writing self augmenting code.

    Regards,
    Cody