<?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: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2 in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128151#M847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Yes ,You are right !!! &lt;BR /&gt;&lt;BR /&gt;When using that D-Bug12 you need a BDM to program flash. (As far as I understand,so far)&lt;BR /&gt;&lt;BR /&gt;Thats quite allright for me at the moment.For a while at least.&lt;BR /&gt;Its' ok in a develpment phase to run RAM software only....faster turnaround,isnt it?&lt;BR /&gt;(Or is flash-burning quick nowadays ?)&lt;BR /&gt;&lt;BR /&gt;I was used to set program start (and stack) in memory.x , before using Codewarrior...&lt;BR /&gt;&lt;BR /&gt;I have tried to find out were to set program start address in Help ,but no luck.Also been looking through all Settings entries ...&lt;BR /&gt;&lt;BR /&gt;.........cant find it?&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2006 23:34:32 GMT</pubDate>
    <dc:creator>kwik</dc:creator>
    <dc:date>2006-08-28T23:34:32Z</dc:date>
    <item>
      <title>Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128142#M838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My mission ; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To make a test program using Codewarrior ,generate an s19 file and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;send it via serial line to my Dragon12 board. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have generated a test project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- All I did was using the File-&amp;gt;New and then the wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Let all settings in the wizard be as default ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; except I selected 9s12DP256B as CPU&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I also selected 2 targets .....HCS12 Serial Monitor and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Full chip simulation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then clicking on Make button . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So ,first challenge ....were is the s19 file ...my guess is in Bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;directory ... I wonder which s19 file to send to the board .....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could it be HCS12_Serial Monitor.abs.s19 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It cannot be sendt ; the s0 record is too long ,and it has both s1 and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;s2 records ...I need a s19 file with a "normal s0 and only s1 records ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I get that ? Okay I click Help ......read on S records ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It says set -B option and set SRECORDS=1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But were ? (And which file do I send to the board?) The Help doesnt say &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;were to put the options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I must be in Project Settings ? But in that case were ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it under &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Target&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Target Settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Access Paths&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Build Extras&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -File Mappings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Source Trees&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -OSEK Sysgen&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Assembler for...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Burner for ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Compiler for ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Importer for ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Linker for ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Simulink&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My guess ..... Nah I give up ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 02:12:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128142#M838</guid>
      <dc:creator>kwik</dc:creator>
      <dc:date>2006-08-25T02:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128143#M839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Okay I have understood the following ; &lt;BR /&gt;&lt;BR /&gt;Help function shows the options (But not whether it concerns compiler,linker ,builder or whatever ,&lt;BR /&gt;&lt;BR /&gt;But ,Codewarrior has an IDE for this were you check/uncheck stuff .....&lt;BR /&gt;&lt;BR /&gt;so ..... I found that under Settings-&amp;gt;Burner for HC12... there is&lt;BR /&gt;a button called Options .....and there is a tab in the dialog that&lt;BR /&gt;pops up called Output ....and you can check "Configure S-Records ...&lt;BR /&gt;&lt;BR /&gt;I did that and Checked "No Path in S0-Record" ....&lt;BR /&gt;&lt;BR /&gt;And the S0 lenght became "normal" (So that D-Bug12 can accept it at my Dragon12 board)&lt;BR /&gt;&lt;BR /&gt;So now the s19 file for an almost empty main.c file looks like this ;&lt;BR /&gt;&lt;BR /&gt;S01B000048435331325F53657269616C5F4D6F6E69746F722E61627339&lt;BR /&gt;S123C000CF1100790011CC09395B105A124A8004304A8000300000C01BC01F00000000001B&lt;BR /&gt;S104C020001B&lt;BR /&gt;S105FFFEC0003D&lt;BR /&gt;S22430800010EF20FEFEC017FDC015270E35ED31EC3169700434FB310326F2FEC019EC31274F&lt;BR /&gt;S2113080200BED31180A30700434F920F10AE7&lt;BR /&gt;S804000000FB&lt;BR /&gt;&lt;BR /&gt;The s22 and s21 will not be accepted by D-Bug12 ,and it should end with s9........&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 04:44:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128143#M839</guid>
      <dc:creator>kwik</dc:creator>
      <dc:date>2006-08-25T04:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128144#M840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello&lt;BR /&gt;&lt;BR /&gt;That is strange it is in my opinion a feature missing in the D-Bug12 loader.&lt;BR /&gt;The definition of the S record format specifies S2 record must be used when addresses are encoded on 3 bytes.&lt;BR /&gt;&lt;BR /&gt;Which is obviously the case here (you are loading code to 0x308000...&lt;BR /&gt;Code Warrior alternatively generates a s record file with physical addresses (HCS12_Serial Monitor.abs.phy).&lt;BR /&gt;This record contains physical addresses i.e. contains only S2 records.&lt;BR /&gt;&lt;BR /&gt;Now the question is does D-Bug12 allow you to load code in banked flash?&lt;BR /&gt;If not you have to use small memory model only (and limit Flash area used for code to 0x4000-0x7FFF, 0xC000-0xFFFF.&lt;BR /&gt;&lt;BR /&gt;Otherwise you have to figure out how the loader is expecting banked flash data in the s record file.&lt;BR /&gt;&lt;BR /&gt;CrasyCat&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 15:15:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128144#M840</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-08-25T15:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128145#M841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Okay CrasyCat ! Thanks !&lt;BR /&gt;&lt;BR /&gt;I restarted the while creation of the project ,with small memory-model .&lt;BR /&gt;&lt;BR /&gt;Now the S19 file looks like this ;&lt;BR /&gt;&lt;BR /&gt;S01B000048435331325F53657269616C5F4D6F6E69746F722E61627339&lt;BR /&gt;S123C000FEC03DFDC03B270E35ED31EC3169700434FB310326F2FEC03FEC31270BED3118AA&lt;BR /&gt;S123C0200A30700434F920F13DCF1100790011CC09395B105A1207C806C0450000C041C0E9&lt;BR /&gt;S10EC040490000000010EF20FE00008B&lt;BR /&gt;S105FFFEC02914&lt;BR /&gt;S9030000FC&lt;BR /&gt;&lt;BR /&gt;Unfortunately when I try to send this to D-Bug12 ,it says &lt;BR /&gt;&lt;BR /&gt;Can't Write Target Memory&lt;BR /&gt;&lt;BR /&gt;Arrrrggghh !!&lt;BR /&gt;&lt;BR /&gt;I believe the reason is that the lines above are too long.&lt;BR /&gt;&lt;BR /&gt;If I do the same with Eric Englers or Frank Voorburghs IDE's ,they&lt;BR /&gt;produce a s19 file with 42 chars long lines.They work immedialtely.&lt;BR /&gt;&lt;BR /&gt;Any setting to force each line to 32 when generating s19 file ?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 20:55:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128145#M841</guid>
      <dc:creator>kwik</dc:creator>
      <dc:date>2006-08-25T20:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128146#M842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello&lt;BR /&gt;Yep&lt;BR /&gt;Just add a SLINELEN command to your .bbl file.&lt;BR /&gt;&lt;BR /&gt;For instance &lt;BR /&gt; SLINELEN=20&lt;BR /&gt;Will generate s record with 20 bytes of data.&lt;BR /&gt;&lt;BR /&gt;As far as I remember that number raw data (not including prefix byte, address, length and checksum).&lt;BR /&gt;&lt;BR /&gt;CrasyCat&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 21:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128146#M842</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-08-25T21:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128147#M843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Okay ,I entered it manually myself in the beginning of the file ;&lt;BR /&gt;&lt;BR /&gt;Here ,in burner.bbl ;&lt;BR /&gt;&lt;BR /&gt;OPENFILE "%ABS_FILE%.s19"&lt;BR /&gt;format=motorola&lt;BR /&gt;busWidth=1&lt;BR /&gt;origin=0&lt;BR /&gt;len=0x1000000&lt;BR /&gt;destination=0&lt;BR /&gt;SRECORD=Sx&lt;BR /&gt;SLINELEN=16&lt;BR /&gt;SENDBYTE 1 "%ABS_FILE%"&lt;BR /&gt;CLOSE&lt;BR /&gt;&lt;BR /&gt;Now the S19 file looks like this&lt;BR /&gt;&lt;BR /&gt;S01B000048435331325F53657269616C5F4D6F6E69746F722E61627339&lt;BR /&gt;S113C000FEC03DFDC03B270E35ED31EC31697004B7&lt;BR /&gt;S113C01034FB310326F2FEC03FEC31270BED31181F&lt;BR /&gt;S113C0200A30700434F920F13DCF1100790011CCAD&lt;BR /&gt;S113C03009395B105A1207C806C0450000C041C048&lt;BR /&gt;S10EC040490000000010EF20FE00008B&lt;BR /&gt;S105FFFEC02914&lt;BR /&gt;S9030000FC&lt;BR /&gt;&lt;BR /&gt;While the output from Syn_HG12 (which works) looks like this;&lt;BR /&gt;&lt;BR /&gt;S01300002E2E2F62696E2F7661726D652E733139D3&lt;BR /&gt;S1132000CF2000162202CE2F62CD1000CC00122762&lt;BR /&gt;S113201007180A30700434F9CC00082708CE1012CF&lt;BR /&gt;S113202069300434FB16205C162F4A20FB2006205E&lt;BR /&gt;S113203018C60D162122C60A162122F60240C8012E&lt;BR /&gt;S11320407B0240CD0000CE0000CC00FA0434FD0831&lt;BR /&gt;S11320508E1B572FF4028D00042FEB3D1B946980D7&lt;BR /&gt;S113206069811C024203180BFF0003CC2580162053&lt;BR /&gt;S1132070F7CC000A1621D6F60240C8027B0240EED5&lt;BR /&gt;....&lt;BR /&gt;....&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;I still get Can't Write Target Memory; &lt;BR /&gt;which believe is because of that long S0 line....&lt;BR /&gt;&lt;BR /&gt;(Obs that all lines above ,except the long S0 ,are equally long.&lt;BR /&gt;Its just the font giving different length for different chars)&lt;P&gt;Message Edited by kwik on &lt;SPAN class="date_text"&gt;2006-08-25&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:05 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 23:47:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128147#M843</guid>
      <dc:creator>kwik</dc:creator>
      <dc:date>2006-08-25T23:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128148#M844</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;Just delete the S0 line or replace it with one from a file that works.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This will tell you if this is the problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;S0 is not required by the target.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards David&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Aug 2006 15:02:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128148#M844</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-08-26T15:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128149#M845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Tried that ....didnt help ... okay I give up for now.&lt;BR /&gt;&lt;BR /&gt;Back to Eric Englers GNU IDE. &lt;BR /&gt;&lt;BR /&gt;But there was some interesting Application examples from freescale I would have liked to try out....especially AN2250 ...were you can convert a WAV file into a format that can be played on a 9s12 target !! &lt;BR /&gt;&lt;BR /&gt;Hmmmm&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Aug 2006 22:46:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128149#M845</guid>
      <dc:creator>kwik</dc:creator>
      <dc:date>2006-08-26T22:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128150#M846</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;There is one major difference between the two S 19 file you mentioned in an earlier post.&lt;/DIV&gt;&lt;DIV&gt;With CodeWarrior you are linking code to access 0xC000-0xC0FF (i.e in Flash).&lt;/DIV&gt;&lt;DIV&gt;With the other IDE you are linking code to address 0x2000-0x20FF (i.e. in RAM).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Looks like your loader is not able to program the flash and is only loading into RAM &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&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, 28 Aug 2006 20:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128150#M846</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-08-28T20:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128151#M847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Yes ,You are right !!! &lt;BR /&gt;&lt;BR /&gt;When using that D-Bug12 you need a BDM to program flash. (As far as I understand,so far)&lt;BR /&gt;&lt;BR /&gt;Thats quite allright for me at the moment.For a while at least.&lt;BR /&gt;Its' ok in a develpment phase to run RAM software only....faster turnaround,isnt it?&lt;BR /&gt;(Or is flash-burning quick nowadays ?)&lt;BR /&gt;&lt;BR /&gt;I was used to set program start (and stack) in memory.x , before using Codewarrior...&lt;BR /&gt;&lt;BR /&gt;I have tried to find out were to set program start address in Help ,but no luck.Also been looking through all Settings entries ...&lt;BR /&gt;&lt;BR /&gt;.........cant find it?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 23:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128151#M847</guid>
      <dc:creator>kwik</dc:creator>
      <dc:date>2006-08-28T23:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128152#M848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;If you want CodeWarrior to link your application into RAM, adjust your PRM file and make sure you place DEFAULT_ROM into RAM location.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In this purpose modify your .prm file as follows (I assume you are using a HCS12DP256B):&lt;/DIV&gt;&lt;DIV&gt;In the SEGMENTS block change&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM = READ_WRITE 0x1000 TO 0x3FFF;&lt;BR /&gt;to&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM = READ_WRITE 0x1000 TO 0x1FFF;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM_CODE = READ_ONLY 0x2000 TO 0x3FFF;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;In the PLACEMENT block change:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _PRESTART,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STARTUP,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROM_VAR,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STRINGS,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VIRTUAL_TABLE_SEGMENT,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFAULT_ROM, NON_BANKED,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COPY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO ROM_C000/*, ROM_4000*/;&lt;BR /&gt;to&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _PRESTART,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STARTUP,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROM_VAR,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STRINGS,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VIRTUAL_TABLE_SEGMENT,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFAULT_ROM, NON_BANKED,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COPY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO RAM_CODE;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Finally comment out the line&lt;/DIV&gt;&lt;DIV&gt;VECTOR 0 _Startup&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This should generate a S record&amp;nbsp;with code loaded at 0x2000.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Basically one of the issue with debugging code from RAM is there is only limited RAM available and you cannot debug&amp;nbsp;big applications.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 15:02:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128152#M848</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-08-29T15:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior;Test Project.How to generate s19 file? The file I find is both s1 and s2</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128153#M849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I have given up making a ram-file.&lt;BR /&gt;&lt;BR /&gt;Instead I have succeeded in programming a flash version of my card.&lt;BR /&gt;Yippee ! Using CodeWarrior . So,bye bye ram ,hello flash.&lt;BR /&gt;&lt;BR /&gt;So I'm happy. I was used to programming a ram-version of the program on the Dragon12 board (from Wytec),using EmbeddedGnu.exe from Eric Engler.&lt;BR /&gt;That gave me a very small turnaround time from version to version. &lt;BR /&gt;&lt;BR /&gt;My final goal was (using the Dragon12 as an experimental board) to&lt;BR /&gt;flash my final target board ,a small 40 pin DIP module called&lt;BR /&gt;DRAGONfly12 from Wytec. Then this little card could do the job for me.&lt;BR /&gt;Its based on a MC9S12C128 MCU.&lt;BR /&gt;&lt;BR /&gt;The job? To measure 8 temperature-points using AD592 temp.sensors&lt;BR /&gt;and send the result on a seral line to a PC. On the PC its easy to make graphics and stuff ,and plot temperature-curves.....&lt;BR /&gt;&lt;BR /&gt;The little MC9S12C128 based card is now lying there ,sending one telegram pr second with 8 temps ,and blinking a small led....&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2006 02:48:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Codewarrior-Test-Project-How-to-generate-s19-file-The-file-I/m-p/128153#M849</guid>
      <dc:creator>kwik</dc:creator>
      <dc:date>2006-09-01T02:48:22Z</dc:date>
    </item>
  </channel>
</rss>

