<?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>S12 / MagniV MicrocontrollersのトピックRe: Searching for code for HCS12 Starter Kit (uses MC9S12E128 CPU)</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136389#M2396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Many thanks for the reply!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have since discovered "processor expert".&amp;nbsp; this is a brilliant tool for n00bs like me; you click what you want&amp;nbsp; and it automatically generates the code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Say&amp;nbsp;I want a timer that triggers an interrupt every 2 microseconds... I click on timers,&amp;nbsp; look down the list until I find the one that generates interrupts, double-click to create one, fiddle the properties to set the interval to 2us, update&amp;nbsp; the project, and lo and behold it has generated a some nicely commented code that does exactly this.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;same story for UART,&amp;nbsp;pinIO, CPUspeed, ...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have to say I am&amp;nbsp;surprised that&amp;nbsp; processor expert&amp;nbsp; is not accessible with the free version of the software.&amp;nbsp;&amp;nbsp; it is exactly what a beginner needs to get started.&amp;nbsp; surely freescale want&amp;nbsp;to encourage beginners to use their kit???&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Jun 2007 19:40:33 GMT</pubDate>
    <dc:creator>SunFish7</dc:creator>
    <dc:date>2007-06-17T19:40:33Z</dc:date>
    <item>
      <title>Searching for code for HCS12 Starter Kit (uses MC9S12E128 CPU)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136386#M2393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&amp;nbsp;I am sorry to post such basic question.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;I have just bought an HCS12 starter kit.&amp;nbsp;&amp;nbsp; I was using an MSP430&amp;nbsp; chip but it was unsuitable ( I blew it up -&amp;nbsp;it runs at 3v&amp;nbsp; and I needed 5v).&amp;nbsp; so I need to port my code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;there are just a few routines are which architecture specific&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;*&amp;nbsp; set clock speed to maximum&lt;/DIV&gt;&lt;DIV&gt;* microsecond {interval timing&amp;nbsp;&amp;amp; delay} routines&lt;/DIV&gt;&lt;DIV&gt;* digital and analogue pin&amp;nbsp;IO routines&lt;/DIV&gt;&lt;DIV&gt;* pin interrupt routines ( so as to detect the falling edge of clock line)&lt;/DIV&gt;&lt;DIV&gt;* sending/receiving data to/from the host PC&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;for the MSP 430 I was able to find some code on the internet and adapt it.&amp;nbsp; but I cannot find any code repository for HCS 12&amp;nbsp;.&amp;nbsp; please can someone point me in the right direction.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;at the moment I am stuck... I can run the ADC sample program that comes with the kit, however the sample programme to change the CPU speed does not work as&amp;nbsp; it&amp;nbsp;should;&amp;nbsp; I don't want to have to learn the intricacies of the architecture of the chip ( it's too advanced for me ).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;many thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Sam&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PS&amp;nbsp; if it is of any interest,&amp;nbsp;&amp;nbsp; I'm trying to multiplex several PS2&amp;nbsp; mice.&amp;nbsp; they are special, so using USB-PS2 converters is impossible.&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2007 04:19:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136386#M2393</guid>
      <dc:creator>SunFish7</dc:creator>
      <dc:date>2007-06-10T04:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for code for HCS12 Starter Kit (uses MC9S12E128 CPU)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136387#M2394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Good day Sam,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I too have come up against some difficulty in getting&amp;nbsp;code for the HCS12.&amp;nbsp; Not withstanding a large number of code snippets and samples that can be found on the internet, there isn't much available unless you are willing to pay a large amount of money.&amp;nbsp; To this end, I have written some code that might be able to help you, but first, what type of code are you looking for?&amp;nbsp; I write&amp;nbsp;code in C, using Imagecraft ICCv7 for CPU12.&amp;nbsp; If you would like, I can send you a copy of my most recent code to try.&amp;nbsp; Basically, I have created&amp;nbsp;functions that allow a person to set up several of the modules on-board the HCS12, including the the Clocks and Reset Generator (CRG)&amp;nbsp;on-board an HCS12 (currently my code only supports the DP256 variant, however it can be adapted to other variants of the HCS12).&amp;nbsp; Using my code, you call several functions to set up the CRG as well as other modules.&amp;nbsp; Unfortuanately, you will need to have some basic knowledge of how the&amp;nbsp;modules work in order to use my functions properly; I would highly recommend that you look at the "Advance Information" manual for your particular variant of HCS12 to get further insight into the hardware modules you will be using.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I wasn't totally correct when I said there isn't much available for code development; there is a company called Feaser that provides some cool-looking products at&amp;nbsp;reasonable prices&amp;nbsp;to assist you with developing drivers for the HCS12.&amp;nbsp; I&amp;nbsp;haven't tried&amp;nbsp;their products, but you should check them out.&amp;nbsp; Their website is: &lt;A href="http://www.feaser.com/store/bootloader.php" rel="nofollow" target="_blank"&gt;http://www.feaser.com/store/bootloader.php&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can e-mail you with a copy of my latest code if you like; please let me know.&amp;nbsp; If you find that the code is useful in any way, and if you are able to create your own projects using this code, please let me know.&amp;nbsp; My e-mail address is &lt;A href="mailto:ericnorth101@yahoo.ca" rel="nofollow" target="_blank"&gt;ericnorth101@yahoo.ca&lt;/A&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Eric&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 21:37:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136387#M2394</guid>
      <dc:creator>sabretooth</dc:creator>
      <dc:date>2007-06-12T21:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for code for HCS12 Starter Kit (uses MC9S12E128 CPU)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136388#M2395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Maybe you'd want source for GCC. I've got &lt;A href="http://tech.groups.yahoo.com/group/gnu-m68hc11/files" rel="nofollow" target="_blank"&gt;some stuff&lt;/A&gt; and could upload more if I get requests that interrest me. It's just that I haven't retargeted the memory map for the S12E family.&lt;BR /&gt;(&lt;A href="http://tech.groups.yahoo.com/group/gnu-m68hc11/files" rel="nofollow" target="_blank"&gt;http://tech.groups.yahoo.com/group/gnu-m68hc11/files)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 05:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136388#M2395</guid>
      <dc:creator>imajeff</dc:creator>
      <dc:date>2007-06-15T05:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for code for HCS12 Starter Kit (uses MC9S12E128 CPU)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136389#M2396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Many thanks for the reply!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have since discovered "processor expert".&amp;nbsp; this is a brilliant tool for n00bs like me; you click what you want&amp;nbsp; and it automatically generates the code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Say&amp;nbsp;I want a timer that triggers an interrupt every 2 microseconds... I click on timers,&amp;nbsp; look down the list until I find the one that generates interrupts, double-click to create one, fiddle the properties to set the interval to 2us, update&amp;nbsp; the project, and lo and behold it has generated a some nicely commented code that does exactly this.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;same story for UART,&amp;nbsp;pinIO, CPUspeed, ...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have to say I am&amp;nbsp;surprised that&amp;nbsp; processor expert&amp;nbsp; is not accessible with the free version of the software.&amp;nbsp;&amp;nbsp; it is exactly what a beginner needs to get started.&amp;nbsp; surely freescale want&amp;nbsp;to encourage beginners to use their kit???&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2007 19:40:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136389#M2396</guid>
      <dc:creator>SunFish7</dc:creator>
      <dc:date>2007-06-17T19:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for code for HCS12 Starter Kit (uses MC9S12E128 CPU)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136390#M2397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;All simple I/O peripheral beans are available in the Special Edition (free version).&lt;/DIV&gt;&lt;DIV&gt;Only Advanced (complex) beans as well as beans you would download from ProcessorExpert web site are not available in that edition.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please refer to the CodeWarrior for HC12 Buyers guide for more information on which beans are available in the special edition.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Click &lt;A href="http://www.freescale.com/files/soft_dev_tools/doc/fact_sheet/CWS-H12-BG.pdf" rel="nofollow" target="_blank"&gt;here&lt;/A&gt; to get access to the CodeWarrior for HC12 Buyers guide.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;All beans enumerated in the section 3.1.1.2 Basic Beans are available in Special Edition.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 13:06:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Searching-for-code-for-HCS12-Starter-Kit-uses-MC9S12E128-CPU/m-p/136390#M2397</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-06-18T13:06:56Z</dc:date>
    </item>
  </channel>
</rss>

