Hello, I'm generating a .S19 file with codewarior (using the stationery), and when I'm going to burn the flash, I see that a part of the program goes in the address 308000, which is not implemented in the HCS12 version that I use ($30-$3F windows => $0C0000-$0FCFFF). What should I modify? Thank you! _________________________________________________________________ Un amor, una aventura, compaa para un viaje. Regtrate gratis en MSN Amor & Amistad. http://match.msn.es/ |
|
.S19 not valid
Started by ●September 19, 2004
Reply by ●September 19, 20042004-09-19
$308000 is a LOGICAL RECORD whereas $0C0000-$0FFFFF are S-RECORDS, i.e. physical addresses. You ned to run some form of logical to s-record converter. Dave Javier Alberola wrote: >Hello, > >I'm generating a .S19 file with codewarior (using the stationery), and when >I'm going to burn the flash, I see that a part of the program goes in the >address 308000, which is not implemented in the HCS12 version that I use >($30-$3F windows => $0C0000-$0FCFFF). What should I modify? > >Thank you! > >_________________________________________________________________ >Un amor, una aventura, compaa para un viaje. Regtrate gratis en MSN Amor >& Amistad. http://match.msn.es/ >Yahoo! Groups Links > > |
|
Reply by ●September 20, 20042004-09-20
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. /* 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 Erich > -----Original Message----- > From: Dave Perreault [mailto:] > Sent: Montag, 20. September 2004 00:50 > To: > Subject: Re: [68HC12] .S19 not valid > $308000 is a LOGICAL RECORD whereas $0C0000-$0FFFFF are S-RECORDS, > i.e. physical addresses. You ned to run some form of logical to > s-record converter. > > Dave > Javier Alberola wrote: > > >Hello, > > > >I'm generating a .S19 file with codewarior (using the > stationery), and > >when > >I'm going to burn the flash, I see that a part of the > program goes in the > >address 308000, which is not implemented in the HCS12 > version that I use > >($30-$3F windows => $0C0000-$0FCFFF). What should I modify? > > > >Thank you! > > > >_________________________________________________________________ > >Un amor, una aventura, compaa para un viaje. Regtrate > gratis en MSN > >Amor > >& Amistad. http://match.msn.es/ > > > > > > > > > > > >Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > ------------------------ 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 > |
|
Reply by ●September 20, 20042004-09-20
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. |
|
Reply by ●September 20, 20042004-09-20
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 |
Reply by ●September 23, 20042004-09-23
Hello, At last I changed something in the .bbl file, and now the program is located in the non-banked flash and I have no problem. Thank you for the help! /* logical s-record file */ OPENFILE "%ABS_FILE%.s19" format=motorola busWidth=1 origin=0 len=0x1000000 destination=0 SRECORD=S1 /* Change Sx for S1 */ SENDBYTE 1 "%ABS_FILE%" CLOSE ******************************************************** ----Original Message Follows---- From: Dave Perreault <> Reply-To: To: Subject: Re: [68HC12] .S19 not valid Date: Sun, 19 Sep 2004 18:49:50 -0400 $308000 is a LOGICAL RECORD whereas $0C0000-$0FFFFF are S-RECORDS, i.e. physical addresses. You ned to run some form of logical to s-record converter. Dave Javier Alberola wrote: >Hello, > >I'm generating a .S19 file with codewarior (using the stationery), and when >I'm going to burn the flash, I see that a part of the program goes in the >address 308000, which is not implemented in the HCS12 version that I use >($30-$3F windows => $0C0000-$0FCFFF). What should I modify? > >Thank you! > >_________________________________________________________________ >Un amor, una aventura, compaa para un viaje. Regtrate gratis en MSN Amor >& Amistad. http://match.msn.es/ >Yahoo! Groups Links > > _________________________________________________________________ Miles, DVD, caras digitales, coleccionismo... Con unas ofertas que ni te imaginas. http://www.msn.es/Subastas/ |
Reply by ●September 26, 20042004-09-26
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: S0650000433A5C446F63756D656E747320616E642053657474696E67735C506F6C6C6F5C4D697320646F63756D656E746F735C5046435C50726F67735C50726F796563746F7343575C45535F4442756731325C62696E5C635F73696D756C61746F722E6162739A S123C0001EC0120203FFC0164A8000304BFB000320EE0080323010FF0000C02AC030000036 S115C020C02A0000C02C0000C02CFFFF0000000000004A S105FFFEC0003D S224308000FEC01AFDC018270E35ED31EC3169700434FB310326F2FEC01CEC31270BED311822 S2243080200A30700434F920F10AC61F5B3B86805A380A4A802930C6FF5B02790003D6015B05 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 _________________________________________________________________ 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 |
|
Reply by ●September 26, 20042004-09-26
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 > > > > > > > > > > > > > > > > > > _________________________________________________________________ > 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 > |
Reply by ●September 26, 20042004-09-26
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 > > > > > > > > > > > > > > > > > > _________________________________________________________________ > 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/ |
|
Reply by ●September 27, 20042004-09-27
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 > |