<?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>ColdFire/68K Microcontrollers and Processors中的主题 Re: different ways of programming MCF52233</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208683#M10065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hey,&lt;/DIV&gt;&lt;DIV&gt;i sent you an e-mail.&lt;/DIV&gt;&lt;DIV&gt;Me too!&amp;nbsp;I get really excited about this! :smileyhappy:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2008 03:52:11 GMT</pubDate>
    <dc:creator>wolfgarb</dc:creator>
    <dc:date>2008-12-10T03:52:11Z</dc:date>
    <item>
      <title>different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208674#M10056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;i have one &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DM52233DEMO" rel="nofollow" target="_blank"&gt;M52233DEMO&lt;/A&gt; evaluation board and i program it throught USB.&lt;/DIV&gt;&lt;DIV&gt;Does anyone know&amp;nbsp;different ways of programming &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DM52233DEMO" rel="nofollow" target="_blank"&gt;M52233&lt;/A&gt;?&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by wolfgarb on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-12-09&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;05:47 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 01:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208674#M10056</guid>
      <dc:creator>wolfgarb</dc:creator>
      <dc:date>2008-12-10T01:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208675#M10057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm not 100% sure of your question, but if you're asking about compilers/development environments, then two I can suggest are:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; CodeWarrior Special Edition v7.1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Sourcery G++ Lite Edition for ColdFire&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you are asking for ways to manipulate the flash memory on the chip, you can use one of:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Tools -&amp;gt; Flash Programmer, from CodeWarrior (uses USB)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; a standalone programmer, PROGCFZ, from PE Micro (uses USB; I have not used this)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; QSPI/EzPort (does not use USB)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The QSPI/EzPort mechanism requires a master mode QSPI device to initiate the programming, and the MCU boots in slave mode, ready to accept commands to manipulate its flash.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have sample code to clone one MCU's flash to another using QSPI/EzPort, in skeleton.zip, here: &lt;A href="http://www.cpustick.com/downloads.htm" rel="nofollow" target="_blank"&gt;http://www.cpustick.com/downloads.htm&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You need a cable from master to slave&amp;nbsp;that looks like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New"&gt;&amp;gt; help clone&lt;BR /&gt;clone cable:&lt;BR /&gt;&amp;nbsp; master&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; slave&lt;BR /&gt;&amp;nbsp; ---------&amp;nbsp; ----------------&lt;BR /&gt;&amp;nbsp; qspi_clk&amp;nbsp;&amp;nbsp; qspi_clk (ezpck)&lt;BR /&gt;&amp;nbsp; qspi_din&amp;nbsp;&amp;nbsp; qspi_dout (ezpq)&lt;BR /&gt;&amp;nbsp; qspi_dout&amp;nbsp; qspi_din (ezpd)&lt;BR /&gt;&amp;nbsp; qspi_cs0&amp;nbsp;&amp;nbsp; rcon* (ezpcs*)&lt;BR /&gt;&amp;nbsp; scl&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rsti*&lt;BR /&gt;&amp;nbsp; vss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vss&lt;BR /&gt;&amp;nbsp; vdd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vdd&lt;BR /&gt;&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you can give me a bit more detail what you want to do, then I can probably give you a better answer...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;-- Rich&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 02:43:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208675#M10057</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2008-12-10T02:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208676#M10058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;thanks for answering.&lt;/DIV&gt;&lt;DIV&gt;Sorry for not being more detailed in my question.&lt;/DIV&gt;&lt;DIV&gt;The enviroment that i´m working is Freescale CodeWarrior with M52233DEMO demo board.&lt;/DIV&gt;&lt;DIV&gt;When i download my codes to the mcu, i use USBMICRO to do this.&lt;/DIV&gt;&lt;DIV&gt;But i made a board with this mcu and i don´t want to use USB to download my codes. I was using Freescale USB-TAP (BDM cable) to download my codes into my MCU. But i want more options to do this because i have only one cable and more persons im my class need to use the boards.&lt;/DIV&gt;&lt;DIV&gt;Is there more options to download codes in my mcu besides USB and BDM?&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by wolfgarb on &lt;SPAN class="date_text"&gt;2008-12-09&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:09 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 03:05:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208676#M10058</guid>
      <dc:creator>wolfgarb</dc:creator>
      <dc:date>2008-12-10T03:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208677#M10059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;With PIC18f452 i downloaded a bootloader into the MCU with ICD2. So a could download firmwares into the mcu without ICD2, only by serial RS232. Is it possible to do the same with M52233?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 03:16:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208677#M10059</guid>
      <dc:creator>wolfgarb</dc:creator>
      <dc:date>2008-12-10T03:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208678#M10060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I understand.&amp;nbsp; It sounds like what you really want is an Ethernet bootloader, so each student can download their own bits?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I actually have a skeleton source code project (where folks can add their own code) at the link above, which allows you to do this for the MCRF52233.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Alternately, at the risk of running us down a rathole :smileyhappy:, the software I wrote is specifically designed for a classroom environment, and allows students to trivially connect *any* PC to *any* board, and program it with an MCU-resident programming environment (i.e., you load the OS onto the board once, and then students can write and rewrite programs on it).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The software also happens to know how to manipulate&amp;nbsp;most of the internal peripherals on the MCU for things like analog/digital I/O, timers, etc.&amp;nbsp;-- you can see details at &lt;A href="http://www.cpustick.com" rel="nofollow" target="_blank"&gt;www.cpustick.com&lt;/A&gt; and there is a 52233 version on the Downloads page, which just gets an IP address via DHPC and then the students can log in and program the MCU that way.&amp;nbsp; If you have a zigbee chip on your board, you can even control the MCU wirelessly. :smileyhappy:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you want to discuss any of this offline, I'm at &lt;A href="mailto:rich@testardi.com" rel="nofollow" target="_blank"&gt;rich@testardi.com&lt;/A&gt; -- I'm specifically trying to bring this stuff to the class room (high schools, in particular), so I'm always interested in talking to folks about it!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;-- Rich&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 03:19:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208678#M10060</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2008-12-10T03:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208679#M10061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&amp;gt; With PIC18f452 i downloaded a bootloader into the MCU ...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Yes, you can certainly do that, as well.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There are lots of ways to write bootloaders, and since your (students') PCs probably have RS-232, that makes a lot of sense (as does Ethernet).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;One thing I should mention is the bootloader I wrote (intentionally) replaces itself on every boot...&amp;nbsp; So if you load broken code (or, for example, code that does not have the bootloader linked in), you can thwart it.&amp;nbsp; To make a more stable bootloader, you'd want to never overwrite it and use an indirect Interrupt Vector table, like I do for the Badge Board with the 51JM128.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;(Now if you load StickOS and the students interface to that to write their programs, there is no way I know to thwart that, on the other hand.&amp;nbsp; You can even watch what they are doing wirelessly, if you have the zigbee transceiver! :smileyhappy:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;-- Rich&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 03:26:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208679#M10061</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2008-12-10T03:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208680#M10062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;PS and if you want to see examples of "classroom embedded systems" I was envisioning (which might target a younger audience than you are), check out:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &lt;A href="http://www.cpustick.com/examples.htm" rel="nofollow" target="_blank"&gt;http://www.cpustick.com/examples.htm&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &lt;A href="http://www.cpustick.com/wireless.htm" rel="nofollow" target="_blank"&gt;http://www.cpustick.com/wireless.htm&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope to start working on a full curriculum next, following a PIC32 port.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The second link shows how trivial it is to make wireless embedded systems, with StickOS, as well...&amp;nbsp; There are schematic PDFs and gerber files (for the PCB trace antenna), as well, if you want to see how the zigbee chip is connected.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;-- Rich&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 03:33:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208680#M10062</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2008-12-10T03:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208681#M10063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;PPS and if you did want to put StickOS on your boards, it is as easy as loading it onto your DEMO board, connecting the 7 wires above to your slave boards, and then running the (RAM based) Flasher project found in skeleton.zip to clone the DEMO board flash to the target board&amp;nbsp;-- that's how I program my target boards.&amp;nbsp; Once you've done that once, students can use the target boards with just an Ethernet (or zigbee! :smileyhappy: connection to them.&amp;nbsp; (Sorry, I get really excited about this! :smileyhappy:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 03:45:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208681#M10063</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2008-12-10T03:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208682#M10064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hey!&lt;/DIV&gt;&lt;DIV&gt;Very nice these examples!!! i'm analyzing them!&lt;/DIV&gt;&lt;DIV&gt;very good!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 03:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208682#M10064</guid>
      <dc:creator>wolfgarb</dc:creator>
      <dc:date>2008-12-10T03:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208683#M10065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hey,&lt;/DIV&gt;&lt;DIV&gt;i sent you an e-mail.&lt;/DIV&gt;&lt;DIV&gt;Me too!&amp;nbsp;I get really excited about this! :smileyhappy:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 03:52:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208683#M10065</guid>
      <dc:creator>wolfgarb</dc:creator>
      <dc:date>2008-12-10T03:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208684#M10066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm not sure if you ever got my e-mail, so I thought I'd reply here to be safe.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;I had a couple of extra hours today (11 Dec, 2008), so I created a minimal project for you that has two targets...&amp;nbsp; The main target, "52233" is for you to build your bootloader (a pre-built one is in the bin&amp;nbsp;directory)&amp;nbsp;and then you program this to the student boards (or your DEMO board), at flash address 0x00000.&amp;nbsp; When you reset the board and run it, it will talk to the serial port (uart 0) at 115200 baud, 8 data bits, and no parity -- &lt;EM&gt;you must have hardware flow control enabled on the PC terminal emulator to slow down the input from the PC to flash programming speeds&lt;/EM&gt;.&amp;nbsp;&lt;/FONT&gt; &lt;FONT face="Arial" size="2"&gt;The bootloader&amp;nbsp;will print this message to the serial port:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&amp;nbsp; &lt;FONT face="Courier New"&gt;paste S19 upgrade file now...&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;The student can then build the other target ("student" -- a pre-built one is also in the bin directory), which loads at flash address 0x20000 using the student_main.c file.&amp;nbsp; They build their s19 file (student.elf.S19) and then paste it into the terminal emulator window where the above message was printed.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;The bootloader will copy their program to 0x20000 and beyond, and then immediately start running it.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;They can reset the board to try again.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Here is a display showing how I downloaded and ran the sample student.elf.S19, which just (re-)configures the serial port and prints "hello world!\n" to it: hyper.jpg&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;The full archive is attached.&amp;nbsp; If you have any problems with it, let me know and I'm happy to help.&amp;nbsp; (And if it doesn't do what you want, that's fine, too -- I just had a couple of extra hours today and thought I'd take a crack at it.)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Good luck!&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;One other thing...&amp;nbsp; If you install the UCTS0* jumper on the demo board, or if you have that line hooked up on your boards, you probably should remove the line in main.c that turns it on as a digital output -- I forgot to remove that one...&amp;nbsp; I.e., just delete:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;pin_declare(PIN_CTS0, pin_type_digital_output, 0);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;As it will fight with your input buffer.&amp;nbsp; Oops!&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;-- Rich&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;PS I removed the freescale headers from pedro.trim.zip since I never like to repost someone else's files...&amp;nbsp; You just need to add MCF52233*.h to your headers directory and the project should build fine.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/msg5870_hyper1.jpg" rel="nofollow" target="_self"&gt;hyper1.jpg&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/msg5870_pedro_trim1.zip" rel="nofollow" target="_self"&gt;pedro.trim1.zip&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-02&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:26 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 21:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208684#M10066</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-01-01T21:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208685#M10067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Rich,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;i read ur solution and found very helpful ,also try it but never success or i can say i'm confuse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I compile and flash the program (MCF52233 ), which shows... paste S19 upgrade file now...&lt;/P&gt;&lt;P&gt;on hyperterm. How can i put student.s19 ? i'll try it using hyperterm send file but with no success..&lt;/P&gt;&lt;P&gt;&amp;nbsp;can u put more light on this??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 01:15:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208685#M10067</guid>
      <dc:creator>MCF52233</dc:creator>
      <dc:date>2009-06-02T01:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208686#M10068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once it says to paste the S19 file, you're in the home stretch!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just open the (student) S19 file in notepad, select Edit-&amp;gt;Select All, and then Edit-&amp;gt;Copy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then go back to HyperTerminal and select Edit-&amp;gt;Paste To Host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The student S19 should load, reset, and then run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 06:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208686#M10068</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-06-02T06:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208687#M10069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I really dont click this , but still i hv no success. i hv mcf52233DEMO board , is there are any jumper setting or&amp;nbsp; something&amp;nbsp;&lt;/P&gt;&lt;P&gt;that i cant feagure it out? When i paste image onto it , gives message like record not found.&lt;/P&gt;&lt;P&gt;It is also really helpful to everyone if u point out link which described S19 image description i.e how to decode it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 00:24:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208687#M10069</guid>
      <dc:creator>MCF52233</dc:creator>
      <dc:date>2009-06-04T00:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208688#M10070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If when you paste the S19 into the terminal emulator, you get an error indicating a bad record format, you're almost there...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see the record format that is expected in the sources/flash.c file, in the routine flash_download().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your S19 file should look like the one in bin/student.elf.S19 (in your zip file), starting and ending with similar lines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, you want to open the S19 in notepad, Ctrl-A, Ctrl-C, and then paste the result into the hyperterminal window.&amp;nbsp; You might have to step thru with the debugger if you're getting a format error and see exactly why...&amp;nbsp; It will also help if you post the exact error message (you can also find it in flash.c and figure out what is up from there).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried pasting the student.elf.S19 file directly from the zip?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Rich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/msg7024_student_elf_S19.zip" rel="nofollow" target="_self"&gt;student.elf.S19&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-02&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:22 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 21:45:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208688#M10070</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2009-06-04T21:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: different ways of programming MCF52233</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208689#M10071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry rich ,&lt;/P&gt;&lt;P&gt;sorry for so late reply ,thanks for ur patience.&lt;/P&gt;&lt;P&gt;and now i got it.&lt;/P&gt;&lt;P&gt;thanks once again.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 00:01:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/different-ways-of-programming-MCF52233/m-p/208689#M10071</guid>
      <dc:creator>MCF52233</dc:creator>
      <dc:date>2009-07-02T00:01:11Z</dc:date>
    </item>
  </channel>
</rss>

