<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Vector #: 141  0x8d   Offset  : 564  0x234 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Vector-141-0x8d-Offset-564-0x234/m-p/169729#M1839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well this&amp;nbsp;sounds scary...&lt;/P&gt;&lt;P&gt;I can see that another interrupt was interrupted. What are you doing in the CAN ISR? And what ISR was interrupted?&lt;/P&gt;&lt;P&gt;Are you sure you don't mess somehow with CAN registers anywhere? Perhaps some memory access violation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you also check whether you receive message&amp;nbsp;into any of your activated mailboxes when this happens? You can use TAD or CW register dump for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jan 2010 20:09:57 GMT</pubDate>
    <dc:creator>PetrM</dc:creator>
    <dc:date>2010-01-29T20:09:57Z</dc:date>
    <item>
      <title>Vector #: 141  0x8d   Offset  : 564  0x234</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Vector-141-0x8d-Offset-564-0x234/m-p/169728#M1838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having Unhandled interrupts:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*** UNHANDLED INTERRUPT ***&lt;/P&gt;&lt;PRE&gt;
void Start_CAN(uint_32 RxIdentifier){   uint_32 result;   _bsp_flexcan_io_init(0);   CAN_LBK_OFF;//Hardware specific   RSE0_ON; //Hardware specific   result = FLEXCAN_Softreset ( CAN_DEVICE);   result = FLEXCAN_Initialize ( CAN_DEVICE, 0, 0, 250, FLEXCAN_IPBUS_CLK);   result = FLEXCAN_Select_mode( CAN_DEVICE, FLEXCAN_NORMAL_MODE);   result = FLEXCAN_Set_global_stdmask (CAN_DEVICE, 0x222 );   result = FLEXCAN_Error_int_enable(CAN_DEVICE);   result = FLEXCAN_Install_isr_err_int( CAN_DEVICE, (pointer)FlexCAN_ISR );   result = FLEXCAN_Install_isr_boff_int( CAN_DEVICE, (pointer)FlexCAN_ISR  );     FLEXCAN_Initialize_mailbox( CAN_DEVICE, 4, 0x21/*Direccion Destino*/,  8, FLEXCAN_TX, FLEXCAN_STANDARD, FLEXCAN_ENABLE);   FLEXCAN_Activate_mailbox(CAN_DEVICE, 4, FLEXCAN_TX_MSG_BUFFER_NOT_ACTIVE);   FLEXCAN_Install_isr( CAN_DEVICE, 4, (pointer)FlexCAN_ISR  );   FLEXCAN_Set_global_stdmask(CAN_DEVICE, 0xFFFFFFFF);     result = FLEXCAN_Initialize_mailbox(CAN_DEVICE, 0, RxIdentifier,8, FLEXCAN_RX, FLEXCAN_STANDARD, FLEXCAN_ENABLE);   result = FLEXCAN_Activate_mailbox(CAN_DEVICE, 0, FLEXCAN_RX_MSG_BUFFER_EMPTY);   result = FLEXCAN_Install_isr( CAN_DEVICE, 0, (pointer)FlexCAN_ISR );       result = FLEXCAN_Initialize_mailbox(CAN_DEVICE, 1, BROADCAST,8, FLEXCAN_RX, FLEXCAN_STANDARD, FLEXCAN_ENABLE);   result = FLEXCAN_Activate_mailbox(CAN_DEVICE, 1, FLEXCAN_RX_MSG_BUFFER_EMPTY);   result = FLEXCAN_Install_isr( CAN_DEVICE, 1, (pointer)FlexCAN_ISR );} /* EndBody */&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;Vector #: 141&amp;nbsp; 0x8d&lt;BR /&gt;Offset&amp;nbsp; : 564&amp;nbsp; 0x234&lt;BR /&gt;Task Id: 0x10003 Td_ptr 0x1003c000 Stack Frame: 0x20006ca4&lt;BR /&gt;Interrupt_nesting level: 2&amp;nbsp;&amp;nbsp; PC: 0x00030e82&amp;nbsp;&amp;nbsp; SR: 0x2300&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I am right, this corresponds to the MCF5225_INT_FLEXCAN_BUF5 interrupt, I am not installing buffer 5 interrupt, therefore I dont see where the problem is. This is my initialization code, what could be causing the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Vector-141-0x8d-Offset-564-0x234/m-p/169728#M1838</guid>
      <dc:creator>MQXuser</dc:creator>
      <dc:date>2020-10-29T09:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Vector #: 141  0x8d   Offset  : 564  0x234</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Vector-141-0x8d-Offset-564-0x234/m-p/169729#M1839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well this&amp;nbsp;sounds scary...&lt;/P&gt;&lt;P&gt;I can see that another interrupt was interrupted. What are you doing in the CAN ISR? And what ISR was interrupted?&lt;/P&gt;&lt;P&gt;Are you sure you don't mess somehow with CAN registers anywhere? Perhaps some memory access violation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you also check whether you receive message&amp;nbsp;into any of your activated mailboxes when this happens? You can use TAD or CW register dump for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 20:09:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Vector-141-0x8d-Offset-564-0x234/m-p/169729#M1839</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2010-01-29T20:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Vector #: 141  0x8d   Offset  : 564  0x234</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Vector-141-0x8d-Offset-564-0x234/m-p/169730#M1840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am having a trouble finding the source of the problem. Let me ask you the following thing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I have a couple (or more Transmit MailBoxes) ,&amp;nbsp; Can they be used by different tasks without the need of mutexes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 01:07:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Vector-141-0x8d-Offset-564-0x234/m-p/169730#M1840</guid>
      <dc:creator>MQXuser</dc:creator>
      <dc:date>2010-02-12T01:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Vector #: 141  0x8d   Offset  : 564  0x234</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Vector-141-0x8d-Offset-564-0x234/m-p/169731#M1841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This maybe the issue.&lt;/P&gt;&lt;P&gt;You have to use mutexes (or lwsemaphores)&amp;nbsp;in that case, because those tasks together could access the&amp;nbsp;CAN registers in inappropriate way (sequence).&lt;/P&gt;&lt;P&gt;Maybe you should introduce one CAN communication task and consider messages/events/etc when using this task by other tasks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 00:26:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Vector-141-0x8d-Offset-564-0x234/m-p/169731#M1841</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2010-02-16T00:26:37Z</dc:date>
    </item>
  </channel>
</rss>

