Hello All, I burned a s2 file with metrowerks tool and tried to flash program it into the micro using P&E PROG12Z programmer. I realized that I need to use an app called SRecCvt from Motorola to convert my s2 file into a linear s file first. Could anybody please tell me the command line that I have to enter in order to generate a correct linear s file for MC9S12DP256? I followed the example from documentation and it didn't work. Here is the DOS command I have entered for SRecCvt: SrecCvt -m c0000 fffff 32 -o LCD_CV1.s19 LCD_CV.s19 Regards, Ming Jiang ************************************************************************* IMPORTANT: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information contained in this e-mail message that do not relate to the official business of Life Fitness shall be understood as neither given nor endorsed by it. ************************************************************************* |
|
HC12 s file generation
Started by ●September 20, 2002
Reply by ●September 20, 20022002-09-20
Ming, The correct SRecCvt command line for converting a 'banked' S-Record file to a linear S-Record file for the 9S12DP256 is: sreccvt -b 16 0x30 32 -o <OutFileName.S19> InFileName.S19 See the description of the -b option in the documentation for further details. Regards, Gordon Ming Jiang wrote: > Hello All, > I burned a s2 file with metrowerks tool and tried to flash program it into the micro using P&E PROG12Z programmer. I realized that I need to use an app called SRecCvt from Motorola to convert my s2 file into a linear s file first. Could anybody please tell me the command line that I have to enter in order to generate a correct linear s file for MC9S12DP256? I followed the example from documentation and it didn't work. > Here is the DOS command I have entered for SRecCvt: > SrecCvt -m c0000 fffff 32 -o LCD_CV1.s19 LCD_CV.s19 > > Regards, > Ming Jiang > > ************************************************************************* > IMPORTANT: This email message is for the sole use of the intended > recipient(s) and may contain confidential and privileged information. > Any unauthorized review, use, disclosure or distribution is prohibited. > If you are not the intended recipient, please contact the sender by > reply email and destroy all copies of the original message. Please > advise immediately if you or your employer do not consent to Internet > email for messages of this kind. Opinions, conclusions and other > information contained in this e-mail message that do not relate to the > official business of Life Fitness shall be understood as neither given > nor endorsed by it. > ************************************************************************* > > > -------------------- > > ">http://docs.yahoo.com/info/terms/ -- =============================================================== Gordon Doughman Ph: 937-438-6811 Motorola Semiconductor Fax: 937-434-7457 Field Applications Engineer Pager: 800-759-8352 Pin: 1304089 Suite 175 3131 Newmark Drive Miamisburg, OH 45342 Check out my HC12 book at: http://www.annatechnology.com/annatech/bookBrowseByMicroF.asp |
Reply by ●September 20, 20022002-09-20
Mr Gordon, I noticed that you are the guy who wrote that app. I tried to enter the command line you just e-mailed to me. I got "Invalid Bank Load Address" messages instead. What went wrong this time? >>> 09/20/02 10:31AM >>> Ming, The correct SRecCvt command line for converting a 'banked' S-Record file to a linear S-Record file for the 9S12DP256 is: sreccvt -b 16 0x30 32 -o <OutFileName.S19> InFileName.S19 See the description of the -b option in the documentation for further details. Regards, Gordon Ming Jiang wrote: > Hello All, > I burned a s2 file with metrowerks tool and tried to flash program it into the micro using P&E PROG12Z programmer. I realized that I need to use an app called SRecCvt from Motorola to convert my s2 file into a linear s file first. Could anybody please tell me the command line that I have to enter in order to generate a correct linear s file for MC9S12DP256? I followed the example from documentation and it didn't work. > Here is the DOS command I have entered for SRecCvt: > SrecCvt -m c0000 fffff 32 -o LCD_CV1.s19 LCD_CV.s19 > > Regards, > Ming Jiang > > ************************************************************************* > IMPORTANT: This email message is for the sole use of the intended > recipient(s) and may contain confidential and privileged information. > Any unauthorized review, use, disclosure or distribution is prohibited. > If you are not the intended recipient, please contact the sender by > reply email and destroy all copies of the original message. Please > advise immediately if you or your employer do not consent to Internet > email for messages of this kind. Opinions, conclusions and other > information contained in this e-mail message that do not relate to the > official business of Life Fitness shall be understood as neither given > nor endorsed by it. > ************************************************************************* > > > -------------------- > > ">http://docs.yahoo.com/info/terms/ -- =============================================================== Gordon Doughman Ph: 937-438-6811 Motorola Semiconductor Fax: 937-434-7457 Field Applications Engineer Pager: 800-759-8352 Pin: 1304089 Suite 175 3131 Newmark Drive Miamisburg, OH 45342 Check out my HC12 book at: http://www.annatechnology.com/annatech/bookBrowseByMicroF.asp -------------------- ">http://docs.yahoo.com/info/terms/ ************************************************************************* IMPORTANT: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information contained in this e-mail message that do not relate to the official business of Life Fitness shall be understood as neither given nor endorsed by it. ************************************************************************* |
Reply by ●September 20, 20022002-09-20
Ming, Send me your S-Record file off list & I'll have a look at it. Could be that your linker file is setup incorrectly. Regards, Gordon Ming Jiang wrote: > Mr Gordon, > I noticed that you are the guy who wrote that app. I tried to enter the command line you just e-mailed to me. I got "Invalid Bank Load Address" messages instead. What went wrong this time? > > >>> 09/20/02 10:31AM >>> > Ming, > > The correct SRecCvt command line for converting a 'banked' S-Record file to a linear S-Record file for the 9S12DP256 is: > > sreccvt -b 16 0x30 32 -o <OutFileName.S19> InFileName.S19 > > See the description of the -b option in the documentation for further details. > > Regards, > Gordon > > Ming Jiang wrote: > > > Hello All, > > I burned a s2 file with metrowerks tool and tried to flash program it into the micro using P&E PROG12Z programmer. I realized that I need to use an app called SRecCvt from Motorola to convert my s2 file into a linear s file first. Could anybody please tell me the command line that I have to enter in order to generate a correct linear s file for MC9S12DP256? I followed the example from documentation and it didn't work. > > Here is the DOS command I have entered for SRecCvt: > > SrecCvt -m c0000 fffff 32 -o LCD_CV1.s19 LCD_CV.s19 > > > > Regards, > > Ming Jiang > > > > ************************************************************************* > > IMPORTANT: This email message is for the sole use of the intended > > recipient(s) and may contain confidential and privileged information. > > Any unauthorized review, use, disclosure or distribution is prohibited. > > If you are not the intended recipient, please contact the sender by > > reply email and destroy all copies of the original message. Please > > advise immediately if you or your employer do not consent to Internet > > email for messages of this kind. Opinions, conclusions and other > > information contained in this e-mail message that do not relate to the > > official business of Life Fitness shall be understood as neither given > > nor endorsed by it. > > ************************************************************************* > > > > > > > > > > -------------------- > > > > > > > > ">http://docs.yahoo.com/info/terms/ > > -- > =============================================================== > Gordon Doughman Ph: 937-438-6811 > Motorola Semiconductor Fax: 937-434-7457 > Field Applications Engineer Pager: 800-759-8352 Pin: 1304089 > Suite 175 > 3131 Newmark Drive > Miamisburg, OH 45342 > > Check out my HC12 book at: > http://www.annatechnology.com/annatech/bookBrowseByMicroF.asp > > -------------------- > ">http://docs.yahoo.com/info/terms/ > > ************************************************************************* > IMPORTANT: This email message is for the sole use of the intended > recipient(s) and may contain confidential and privileged information. > Any unauthorized review, use, disclosure or distribution is prohibited. > If you are not the intended recipient, please contact the sender by > reply email and destroy all copies of the original message. Please > advise immediately if you or your employer do not consent to Internet > email for messages of this kind. Opinions, conclusions and other > information contained in this e-mail message that do not relate to the > official business of Life Fitness shall be understood as neither given > nor endorsed by it. > ************************************************************************* > > > -------------------- > > ">http://docs.yahoo.com/info/terms/ -- =============================================================== Gordon Doughman Ph: 937-438-6811 Motorola Semiconductor Fax: 937-434-7457 Field Applications Engineer Pager: 800-759-8352 Pin: 1304089 Suite 175 3131 Newmark Drive Miamisburg, OH 45342 Check out my HC12 book at: http://www.annatechnology.com/annatech/bookBrowseByMicroF.asp |
Reply by ●September 20, 20022002-09-20
At 10:19 AM 9/20/2002 -0500, you wrote: >Hello All, > I burned a s2 file with metrowerks tool and tried to flash > program it into the micro using P&E PROG12Z programmer. I realized that I > need to use an app called SRecCvt from Motorola to convert my s2 file > into a linear s file first. Could anybody please tell me the command line > that I have to enter in order to generate a correct linear s file for > MC9S12DP256? I followed the example from documentation and it didn't work. >Here is the DOS command I have entered for SRecCvt: >SrecCvt -m c0000 fffff 32 -o LCD_CV1.s19 LCD_CV.s19 > >Regards, >Ming Jiang P&E has a Windows S Record converter that may be easier to use. You can d/l it for free at www.pemicro.com // richard <http://www.imagecraft.com>. We had a server CRASH :-( Please rejoin ImageCraft mailing lists <http://www.dragonsgate.net/mailman/listinfo> [ For technical support, please include all previous replies in your msgs. ] |
Reply by ●September 24, 20022002-09-24
Hello, there is no need to use any other tool to generate any kind of S-Records with CodeWarrior (linear, non-linear, quadratic ;-) etc). This is supported straigt away and in automatic way with the burner/S-Record Generator integrated in CodeWarrior. Check out Technical Note (TN93) which is installed together with the documentation. I will send it to you off-list as well. Erich > -----Original Message----- > From: Ming Jiang [mailto:] > Sent: Friday, September 20, 2002 5:19 PM > To: < > Subject: [68HC12] HC12 s file generation > Hello All, > I burned a s2 file with metrowerks tool and tried to flash program it into the micro using P&E PROG12Z > programmer. I realized that I need to use an app called SRecCvt from Motorola to convert my s2 file into a linear s file > first. Could anybody please tell me the command line that I have to enter in order to generate a correct linear s file > for MC9S12DP256? I followed the example from documentation and it didn't work. > Here is the DOS command I have entered for SRecCvt: > SrecCvt -m c0000 fffff 32 -o LCD_CV1.s19 LCD_CV.s19 > > Regards, > Ming Jiang > ************************************************************************* > IMPORTANT: This email message is for the sole use of the intended > recipient(s) and may contain confidential and privileged information. > Any unauthorized review, use, disclosure or distribution is prohibited. > If you are not the intended recipient, please contact the sender by > reply email and destroy all copies of the original message. Please > advise immediately if you or your employer do not consent to Internet > email for messages of this kind. Opinions, conclusions and other > information contained in this e-mail message that do not relate to the > official business of Life Fitness shall be understood as neither given > nor endorsed by it. > ************************************************************************* > > > -------------------- > > ">http://docs.yahoo.com/info/terms/ |