I use the .s19
----Original Message Follows---- From: "Erich Styger" <> Reply-To: To: <> Subject: RE: [68HC12] Re: .S19 not valid Date: Mon, 27 Sep 2004 17:48:20 +0200 Hello, Did you use the .s19 or the .phy (the pysical) one? Erich > -----Original Message----- > From: Javier Alberola [mailto:] > Sent: Sonntag, 26. September 2004 23:13 > To: > Subject: RE: [68HC12] Re: .S19 not valid > Hello, > > Thank you for replying. I used the same .bbl file, and I > think that the > result (S19) should be a program placed in the range 0x0C0000 > - 0x0FFFFF. > But actually it has a part that starts at 308000. At the page 30, the > address 8000 is the 0x0C000 linear address, so I think I have > to do any kind > of conversion. Do you know how? > > Thank you for the help! > ----Original Message Follows---- > From: "Erich Styger" <> > Reply-To: > To: <> > Subject: RE: [68HC12] Re: .S19 not valid > Date: Sun, 26 Sep 2004 20:40:14 +0200 > > It is a S-Record (as you see from the S19 records below). > > You can create both physical and logical S-Records in > CodeWarrior if you use the .bbl file generated by the project > wizard. I have attached such a .bbl file below. > > Erich > > /* logical s-record file */ > OPENFILE "%ABS_FILE%.s19" > format=motorola > busWidth=1 > origin=0 > len=0x1000000 > destination=0 > SRECORD=Sx > SENDBYTE 1 "%ABS_FILE%" > CLOSE > > /* physical s-record file */ > OPENFILE "%ABS_FILE%.phy" > format = motorola > busWidth = 1 > len = 0x4000 > > origin = 0x008000 > destination = 0x000000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x018000 > destination = 0x004000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x028000 > destination = 0x008000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x038000 > destination = 0x00C000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x048000 > destination = 0x010000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x058000 > destination = 0x014000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x068000 > destination = 0x018000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x078000 > destination = 0x01C000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x088000 > destination = 0x020000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x098000 > destination = 0x024000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x0A8000 > destination = 0x028000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x0B8000 > destination = 0x02C000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x0C8000 > destination = 0x030000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x0D8000 > destination = 0x034000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x0E8000 > destination = 0x038000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x0F8000 > destination = 0x03C000 > SENDBYTE 1 "%ABS_FILE%" > > origin = 0x108000 > destination = 0x040000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x018000 > destination = 0x044000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x128000 > destination = 0x048000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x138000 > destination = 0x04C000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x148000 > destination = 0x050000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x158000 > destination = 0x054000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x168000 > destination = 0x058000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x178000 > destination = 0x05C000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x188000 > destination = 0x060000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x198000 > destination = 0x064000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x1A8000 > destination = 0x068000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x1B8000 > destination = 0x06C000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x1C8000 > destination = 0x070000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x1D8000 > destination = 0x074000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x1E8000 > destination = 0x078000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x1F8000 > destination = 0x07C000 > SENDBYTE 1 "%ABS_FILE%" > > origin = 0x208000 > destination = 0x080000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x218000 > destination = 0x084000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x228000 > destination = 0x088000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x238000 > destination = 0x08C000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x248000 > destination = 0x090000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x258000 > destination = 0x094000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x268000 > destination = 0x098000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x278000 > destination = 0x09C000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x288000 > destination = 0x0A0000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x298000 > destination = 0x0A4000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x2A8000 > destination = 0x0A8000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x2B8000 > destination = 0x0AC000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x2C8000 > destination = 0x0B0000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x2D8000 > destination = 0x0B4000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x2E8000 > destination = 0x0B8000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x2F8000 > destination = 0x0BC000 > SENDBYTE 1 "%ABS_FILE%" > > origin = 0x308000 > destination = 0x0C0000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x318000 > destination = 0x0C4000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x328000 > destination = 0x0C8000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x338000 > destination = 0x0CC000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x348000 > destination = 0x0D0000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x358000 > destination = 0x0D4000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x368000 > destination = 0x0D8000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x378000 > destination = 0x0DC000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x388000 > destination = 0x0E0000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x398000 > destination = 0x0E4000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x3A8000 > destination = 0x0E8000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x3B8000 > destination = 0x0EC000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x3C8000 > destination = 0x0F0000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x3D8000 > destination = 0x0F4000 > SENDBYTE 1 "%ABS_FILE%" > > origin = 0x3E8000 > destination = 0x0F8000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x004000 > destination = 0x0F8000 > SENDBYTE 1 "%ABS_FILE%" > > origin = 0x3F8000 > destination = 0x0FC000 > SENDBYTE 1 "%ABS_FILE%" > origin = 0x00C000 > destination = 0x0FC000 > SENDBYTE 1 "%ABS_FILE%" > > CLOSE > > -----Original Message----- > > From: Javier Alberola [mailto:] > > Sent: Sonntag, 26. September 2004 12:55 > > To: > > Subject: Re: [68HC12] Re: .S19 not valid > > > > > > Hello, > > > > Then that I am opening here is not an S-Record, but a > logical > Record. But > the name of the file generated by > CW is c_simulator.abs.s19, > so I thought it > was an > S-Record. What do I have to do, to convert this file > into > a S-Record > (how?) or to generate a "real" S-Record with CW > (how?). This > is the file: > > > S0650000433A5C446F63756D656E747320616E642053657474696E67735C50 > > 6F6C6C6F5C4D697320646F63756D656E746F735C5046435C50726F67735C50 > > 726F796563746F7343575C45535F4442756731325C62696E5C635F73696D75 > > 6C61746F722E6162739A > > S123C0001EC0120203FFC0164A8000304BFB000320EE0080323010FF0000C0 > > 2AC030000036 > > S115C020C02A0000C02C0000C02CFFFF0000000000004A > > S105FFFEC0003D > > S224308000FEC01AFDC018270E35ED31EC3169700434FB310326F2FEC01CEC > > 31270BED311822 > > S2243080200A30700434F920F10AC61F5B3B86805A380A4A802930C6FF5B02 > > 790003D6015B05 > > S2073080400020FAEE > > S804000000FB > > > > Thank you for the help! > > > > > > > > /************************************************************* > > **************/ > > > > NO > > > > 1. S-Records are physical addresses. They represent a > linear > address space. > > 2. Logical records (NOT > S-Records) Use the upper part of the address > (byte) to > specify > a page and a lower oart of the address (word) to > represent > the address in the processor space, i..e. > $8000-$BFFF. You > may also use $C000-$FFFF without a page > number and on some > processors $4000-$7FFF without a page > number. Notice that > this does not constitute a linear > mapping of addresses. > > Regards > Dave > > > > Jefferson Smith wrote: > > >So "physical record" referrs to > the format with MSB = bank > number and > >low 16 bits = > 0x8000..0xbfff? That sounds right, but someone > had said > > >it backwards earlier. --jeffs > > > >--- In > , "Erich Styger" <estyger@m...> wrote: > > > > > > >>CW12 V3.1 generates you both kind of S-Records > (logical (*.abs.s19) > >>and physical (*.abs.phy)). The > following .bbl file > generates you both > >> > >> > > >logical > > > > > >>and physical records. If used inside > a CodeWarrior project the > >> > >> > >%ABS_FILE% is > > > > > > >>replaced with your current output file. If you are > using a different > >> > >> > >build > > > > > > >>process (e.g. Make/batch file): replace it with your > current abs > >> > >> > >file name. > > > > > > > > > > > > > > >Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > [Non-text portions of this message have > been removed] > > > _________________________________________________________________ > > Descarga gratis la Barra de Herramientas de MSN > > http://www.msn.es/usuario/busqueda/barra?XAPID 31&DI55&SU > > =http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > --------------------~--> > > $9.95 domain names from Yahoo!. Register anything. > > http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dN_tlB/TM > > -------------------------- > > ------~-> > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > _________________________________________________________________ > Un amor, una aventura, compaa para un viaje. Regtrate > gratis en MSN Amor > & Amistad. http://match.msn.es/ > > ------------------------ Yahoo! Groups Sponsor > --------------------~--> > $9.95 domain names from Yahoo!. Register anything. > http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dN_tlB/TM > -------------------------- > ------~- > Yahoo! Groups Links > _________________________________________________________________ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID 31&DI55&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH |
.S19 not valid
Started by ●September 19, 2004
Reply by ●September 27, 20042004-09-27