This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to handle lockup state in M33

Dear Developers,

I am trying to run FreeRTOS on MPS2 plus board for CM33.

but xPortStartScheduler fails and gets stuck at SecureHandler(Lockup addr PC: 0xEFFFFFFE).

It fails when trying to start the vStartFirstTask.

below is scatter loader file content

LR_IROM1 0x00000000 0x40000000


       ER_IROM1 0x00000000 0x00200000

       { 
             *.o (RESET, +First)
             *(InRoot$$Sections)
             .ANY (+RO)
             .ANY (+XO)
       }
       RW_IRAM1 0x20000000 UNINIT 0x00200000

      {
          .ANY (+RW +ZI)
      }
      ARM_LIB_STACK (0x38200000) 0x600
      {    
            *(EMPTY)
      }  
      ARM_LIB_HEAP (0x38200000+0x600) 0xC00
     {
          *(EMPTY)
     }
}

please help me to resolve this issue.

Thanks,

Deepak

Parents Reply Children
  • Looking at FreeRTOS release notes

    https://www.freertos.org/History.txt

    There is some updates for Armv8-M support in v10.2.1. (Not sure if it is related to the issue you saw).

    I am out-of-office for two weeks from tomorrow, but I dropped an email to our open source software team to see if they can have a look at this as well.

    regards,

    Joseph

  • I tried with FreeRTOS v10.2.1 but the result is same it is getting crashed at vStartFirstTask();

    While executing " svc %0 \n" /* System call to start the first task. */ 

    I tried a few verifications steps as per FreeRTOS forum related to this issue, but I could not able to resolve this.

    For your reference please find the project at link.

    /cfs-file/__key/communityserver-discussions-components-files/469/7002.TestFreeRTOSCM33.zip 

    Please help me to resolve this issue.

    Thanks & Regards,

    Deepak

  • Hi Deepak,

    I am on a business trip now so don't have any chance to help debugging this. As I mentioned I emailed a key member of our open source software team, but I can guarantee when this will be look at.

    The link to your zip file doesn't seems to work.

    regards,

    Joseph