<?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: how to add interrupt routine in codewarrior in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-add-interrupt-routine-in-codewarrior/m-p/234120#M9212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First question is which MCU are you targeting (HCS08, Coldfire, Kinetis, ....)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you may want to create a project and activate ProcessorExpert. Then you add a Bean for lets say a Timer and let Processor Expert generate code for you.&lt;/P&gt;&lt;P&gt;You can then look how the interrupt has been configured and implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can give you an idea on how to implement your interrupt.&amp;nbsp; You can even let Processor Expert handle the whole code generation for peripheral configuration and management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 07:22:53 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2013-01-23T07:22:53Z</dc:date>
    <item>
      <title>how to add interrupt routine in codewarrior</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-add-interrupt-routine-in-codewarrior/m-p/234119#M9211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I use codewarrior create a bareboard project.Now, i couldn't konw how to add a ISR function in codewarrior.My version of codewarrior is 10.1. Could you show me some advice for this.(I doesn't found more doucments)Thanks&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 07:05:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-add-interrupt-routine-in-codewarrior/m-p/234119#M9211</guid>
      <dc:creator>Blackrose</dc:creator>
      <dc:date>2013-01-23T07:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to add interrupt routine in codewarrior</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-add-interrupt-routine-in-codewarrior/m-p/234120#M9212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First question is which MCU are you targeting (HCS08, Coldfire, Kinetis, ....)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you may want to create a project and activate ProcessorExpert. Then you add a Bean for lets say a Timer and let Processor Expert generate code for you.&lt;/P&gt;&lt;P&gt;You can then look how the interrupt has been configured and implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can give you an idea on how to implement your interrupt.&amp;nbsp; You can even let Processor Expert handle the whole code generation for peripheral configuration and management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 07:22:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-add-interrupt-routine-in-codewarrior/m-p/234120#M9212</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2013-01-23T07:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to add interrupt routine in codewarrior</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-add-interrupt-routine-in-codewarrior/m-p/234121#M9213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quickly response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used chip name is coldfire 52259.&lt;/P&gt;&lt;P&gt;I got a file that note some steps for add ISR into a project.It doesn't say about ProcessExpert.&lt;/P&gt;&lt;P&gt;Here are steps:&lt;/P&gt;&lt;P&gt;1.write a ISR function&lt;/P&gt;&lt;P&gt;__declspec(interrupt)&lt;/P&gt;&lt;P&gt;void my_isr(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;//doing somethins&lt;/P&gt;&lt;P&gt;} &lt;/P&gt;&lt;P&gt;2.modifiy exceptions.c and add custom name of ISR&lt;/P&gt;&lt;P&gt;extern __declspec(interrupt) void my_isr(void);&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;my_isr ,/* 82(0x148)&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I follow these steps doing somethings.Though my_isr() doesn't run.I didn't know this method is right.I can try your method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 08:41:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-add-interrupt-routine-in-codewarrior/m-p/234121#M9213</guid>
      <dc:creator>Blackrose</dc:creator>
      <dc:date>2013-01-23T08:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to add interrupt routine in codewarrior</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-add-interrupt-routine-in-codewarrior/m-p/234122#M9214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kevin... has the method worked out?&lt;/P&gt;&lt;P&gt;Please let us know! :smileywink:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 20:04:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-add-interrupt-routine-in-codewarrior/m-p/234122#M9214</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-02-05T20:04:19Z</dc:date>
    </item>
  </channel>
</rss>

