Folks: On the advice of one of the many replies I got, I changed the command file, p&e_preload.cmd from this: // erase the flash modules FLASH ERASE to this: // erase the flash modules FLASH ERASE 1 2 3 4 5 6 Life is looking good for this engineer. I appreciate all of the fast, knowledgeable, and supportive responses. This user group womps on anything similar at Google. I am a convert, and look forward to further guidance here, as well as putting in my own $0.02 once I've grown a little wiser. Thanks again for everything! -Mike |
Flashing Over EEPROM: A Newbie Question
Started by ●July 29, 2003
Reply by ●July 30, 20032003-07-30
Reply by ●July 31, 20032003-07-31
Hi Doron, Thanks for your feeback. Let me furnish you some details whcih could help to sort out this issue.The Nohau s/w i am using is providing both the check boxes for FLASH and EEPROM in the tools|PROM Programming window. And the version of the tool i am having is Seehaau for EMUL12-PC Version: 3.1217B.Built on 12/17/2001. I hope this will not be so old version as you hinted. And I have checked out the option to Program the EEPROM and selected the start addres as 0x3000. I have ensured that my .sx file has the right address and data and its look something like S0530000433A5C70726F6A656374735C45736974655C436F64655C303645534954455F 5235365F4B45585C73313264703235365C45534954455F4B45585C436F64655C656570 726F6D5C6E766D6465662E70726DC9 S10730005060D2E165 S1043FF8F8CC S9030000FC But when i selected the program option I am getting the following waring Attempt to load outside valid flash memory range. Attempt to load from address 0x3000 to address 0x3003, which are outside of the valid address range of 0x4000 to 0xFFFFFF. This attempt was ignored. Loading of data inside the flash memory range will be done. Cmd: Event_Message And upon selecting the continue option i am finally a waring like Warning EEPROM programming not yet working here. This warning was detected in file: "c:\nc12\hh12_32\HH_FLASH.C" at line 1512. Cmd: Cfg_FlashExecute Date: 7/31/2003 Time: 10:48:29 AM This made me believe that this version of my s/w is not supporting the eeprom download.We are using the licensed version and I have to see the option of using a trial version.I think with this you would be able to trace the problem. Thanks in Advance Regards Vibin Date: 7/31/2003 Time: 10:47:26 AM --- In , Doron Fael <doronf@n...> wrote: > Hi Vibin, > > I think you must be using a very old version of our software. > EEPROM programming for the 9S12H256 is implemented in Seehau for a few > years now. The option to program only the EEPROM, only the Flash, or both > exists for all HCS12 parts including the H256, right in the programming > utility window within Seehau. > > Please download the latest Seehau version at the following link: > http://www.nohau.com/downloads_current_software.html > and you should have what you are looking for. > > If you still have problems getting EEPROM programming to work, send me an > email and I will be happy to help you out, or fix the problem if it turns > out we have one. > > Hope this helps, > Doron > Nohau Corporation > HC12 In-Circuit Emulators > www.nohau.com/emul12pc.html > > At 03:35 AM 7/30/2003 +0000, you wrote: > >Hi Doron, > > Following the links I would like to get clarified with you > >regarding the programming of Flash and eeprom with the EMUL12 PC/BDM. > >I am using the MC9S12H256,Mako and I am unable to program the EEPROM > >with the EMUL12PC.But flash programming works fine for me.So I am > >currently makeing use of Flash Gourdan to program my EEPROM which > >works fine for me. Please let me know whether programming EEPROM > >using EMUL12 BDM is supported for Mako family. > > > >Thanks in Advance. > >Vibin > > > > > > > >--- In , Doron Fael <doronf@n...> wrote: > > > Bob, Mike and all, > > > > > > I am amazed to find out you are putting up with such inconvenience of > > > having to re-calibrate your EEPROM every time you reprogram the Flash. > > > > > > My advice to you is the following: > > > > > > First try to inquire with your tool vendor whether there is a straight > > > forward way to do this, that you may not be aware of. > > > > > > If there is one - great. If there isn't one, just ship back the debugger > > > and get another one from a different vendor instead. > > > > > > As a designer of emulator and BDM for the HCS12 family, I know our tools > > > include this basic option in the programmer window allowing either the > > > Flash, or the EEPROM or both to be re-programmed. I know other tool > > vendors > > > also include this basic option. > > > > > > So, instead of sharing the pain, know that there are better alternatives > > > and use them in if it turns out it is needed. > > > > > > Hope this helps, > > > Doron > > > Nohau Corporation > > > HC12 In-Circuit Emulators > > > www.nohau.com/emul12pc.html > > > > > > > > > At 09:35 AM 7/29/2003 -0700, you wrote: > > > >I have the same problem and don't want my EEPROM to be erased at every > > entry > > > >to the debugger. My code won't fit in RAM, so that solution doesn't work > > > >for me. > > > > > > > >I suspect that the "command files" might allow this to be achieved, but I > > > >haven't been able to figure out how to do it. > > > > > > > >Below is a copy of a method for not loading Flash, as gleaned from > > > >support_europe. I'm not sure if this worked for me as written, I recall > > > >editing some command files by commenting out some directives. It was more > > > >trouble than it was worth because I usually want to re-load the > > program, but > > > >an EEPROM erase fix would be worth it. > > > > > > > >Good luck, and as you're a newbie, I feel your pain. Sad to say that the > > > >pain isn't unique to newbies. > > > > > > > >Bob White > > > > > > > >------------ begin quote > > > > In order to start the debugger and load symbolic > > > > information without loading flash follows these steps: > > > > - Start the debugger > > > > - In the Target menu (ICD12 or SDI depending how > > > > you connect to the board), select "Command Files ...". > > > > - In the Preload tab, uncheck the "Enable Command File" > > > > check box. > > > > - In the Postload tab, uncheck the "Enable Command File" > > > > check box. > > > > - Click the OK button to close the dialog box. > > > > Next time you will start the debugger, the flash will not > > > > be programmed automatically. > > > > I hope this helps. > > > > > > > >Best Reagards > > > > > > > >Catherine Bezy > > > >Director of Customer Support EMEA > > > >============================== end quote > > > > |
|
Reply by ●July 31, 20032003-07-31
Hi Doron, Extreme thanks for your support.I will update my s/w to the new version. Regards Vibin --- In , Doron Fael <doronf@n...> wrote: > Hi Vibin, > > I have just verified that the S-REC text that you have supplied works well > on the H256 with the latest Seehau software available on the web. > > The result I get when programming the EEPROM at 3000 is: > > Addresses 3000 - 3003 are programmed to 50, 60, D2 and E1. > > An information message also shows up to inform that the S-REC file attempts > to program address 3FF8 (with data F8), which is defined as reserved in the > Motorola 4K EEPROM documents. The EEPROM programming utility therefore does > not program this byte, in order to protect your application and keep this > byte reserved and un-programmed as specified in the Motorola documents. > > Please also note the Seehau version you use is dated 12/17/2001 and is over > a year and a half old, and indeed did not have H256 EEPROM programming > implemented. > > Seehau versions for over a year now, and including the newest version on > the Nohau web-site have EEPROM programming for the H256 implemented. > > Please download the latest version from the following link and try it out: > http://www.nohau.com/downloads_current_software.html > It should resolve your issue. > > Please let us know if indeed this resolves your problem. > > Hope this helps, > Doron > Nohau Corporation > HC12 In-Circuit Emulators > www.nohau.com/emul12pc.html > > At 05:26 AM 7/31/2003 +0000, you wrote: > >Hi Doron, > > Thanks for your feeback. Let me furnish you some details whcih > >could help to sort out this issue.The Nohau s/w i am using is > >providing both the check boxes for FLASH and EEPROM in the tools|PROM > >Programming window. > > > > And the version of the tool i am having is > > Seehaau for EMUL12-PC Version: 3.1217B.Built on 12/17/2001. > >I hope this will not be so old version as you hinted. > > > >And I have checked out the option to Program the EEPROM and selected > >the start addres as 0x3000. > > > > I have ensured that my .sx file has the right address and data > >and its look something like > > > >S0530000433A5C70726F6A656374735C45736974655C436F64655C303645534954455 F > >5235365F4B45585C73313264703235365C45534954455F4B45585C436F64655C65657 0 > >726F6D5C6E766D6465662E70726DC9 > >S10730005060D2E165 > >S1043FF8F8CC > >S9030000FC > > > >But when i selected the program option I am getting the following > >waring > > > >Attempt to load outside valid flash memory range. > > > >Attempt to load from address 0x3000 to address 0x3003, > >which are outside of the valid address range of > >0x4000 to 0xFFFFFF. > >This attempt was ignored. Loading of data inside > >the flash memory range will be done. > >Cmd: Event_Message > > > >And upon selecting the continue option i am finally a waring like > >Warning > >EEPROM programming not yet working here. > > > >This warning was detected > >in file: "c:\nc12\hh12_32\HH_FLASH.C" > >at line 1512. > >Cmd: Cfg_FlashExecute > >Date: 7/31/2003 Time: 10:48:29 AM > > > >This made me believe that this version of my s/w is not supporting > >the eeprom download.We are using the licensed version and I have > >to see the option of using a trial version.I think with this you > >would be able to trace the problem. > >Thanks in Advance > >Regards > >Vibin > > > >Date: 7/31/2003 Time: 10:47:26 AM > > > >--- In , Doron Fael <doronf@n...> wrote: > > > Hi Vibin, > > > > > > I think you must be using a very old version of our software. > > > EEPROM programming for the 9S12H256 is implemented in Seehau for a > >few > > > years now. The option to program only the EEPROM, only the Flash, > >or both > > > exists for all HCS12 parts including the H256, right in the > >programming > > > utility window within Seehau. > > > > > > Please download the latest Seehau version at the following link: > > > http://www.nohau.com/downloads_current_software.html > > > and you should have what you are looking for. > > > > > > If you still have problems getting EEPROM programming to work, send > >me an > > > email and I will be happy to help you out, or fix the problem if it > >turns > > > out we have one. > > > > > > Hope this helps, > > > Doron > > > Nohau Corporation > > > HC12 In-Circuit Emulators > > > www.nohau.com/emul12pc.html > > > > > > At 03:35 AM 7/30/2003 +0000, you wrote: > > > >Hi Doron, > > > > Following the links I would like to get clarified with you > > > >regarding the programming of Flash and eeprom with the EMUL12 > >PC/BDM. > > > >I am using the MC9S12H256,Mako and I am unable to program the > >EEPROM > > > >with the EMUL12PC.But flash programming works fine for me.So I am > > > >currently makeing use of Flash Gourdan to program my EEPROM which > > > >works fine for me. Please let me know whether programming EEPROM > > > >using EMUL12 BDM is supported for Mako family. > > > > > > > >Thanks in Advance. > > > >Vibin > > > > > > > > > > > > > > > >--- In , Doron Fael <doronf@n...> wrote: > > > > > Bob, Mike and all, > > > > > > > > > > I am amazed to find out you are putting up with such > >inconvenience of > > > > > having to re-calibrate your EEPROM every time you reprogram > >the Flash. > > > > > > > > > > My advice to you is the following: > > > > > > > > > > First try to inquire with your tool vendor whether there is a > >straight > > > > > forward way to do this, that you may not be aware of. > > > > > > > > > > If there is one - great. If there isn't one, just ship back the > >debugger > > > > > and get another one from a different vendor instead. > > > > > > > > > > As a designer of emulator and BDM for the HCS12 family, I know > >our tools > > > > > include this basic option in the programmer window allowing > >either the > > > > > Flash, or the EEPROM or both to be re-programmed. I know other > >tool > > > > vendors > > > > > also include this basic option. > > > > > > > > > > So, instead of sharing the pain, know that there are better > >alternatives > > > > > and use them in if it turns out it is needed. > > > > > > > > > > Hope this helps, > > > > > Doron > > > > > Nohau Corporation > > > > > HC12 In-Circuit Emulators > > > > > www.nohau.com/emul12pc.html > > > > > > > > > > > > > > > At 09:35 AM 7/29/2003 -0700, you wrote: > > > > > >I have the same problem and don't want my EEPROM to be erased > >at every > > > > entry > > > > > >to the debugger. My code won't fit in RAM, so that solution > >doesn't work > > > > > >for me. > > > > > > > > > > > >I suspect that the "command files" might allow this to be > >achieved, but I > > > > > >haven't been able to figure out how to do it. > > > > > > > > > > > >Below is a copy of a method for not loading Flash, as gleaned > >from > > > > > >support_europe. I'm not sure if this worked for me as > >written, I recall > > > > > >editing some command files by commenting out some directives. > >It was more > > > > > >trouble than it was worth because I usually want to re-load > >the > > > > program, but > > > > > >an EEPROM erase fix would be worth it. > > > > > > > > > > > >Good luck, and as you're a newbie, I feel your pain. Sad to > >say that the > > > > > >pain isn't unique to newbies. > > > > > > > > > > > >Bob White > > > > > > > > > > > >------------ begin quote > > > > > > In order to start the debugger and load symbolic > > > > > > information without loading flash follows these steps: > > > > > > - Start the debugger > > > > > > - In the Target menu (ICD12 or SDI depending how > > > > > > you connect to the board), select "Command Files ...". > > > > > > - In the Preload tab, uncheck the "Enable Command File" > > > > > > check box. > > > > > > - In the Postload tab, uncheck the "Enable Command File" > > > > > > check box. > > > > > > - Click the OK button to close the dialog box. > > > > > > Next time you will start the debugger, the flash will not > > > > > > be programmed automatically. > > > > > > I hope this helps. > > > > > > > > > > > >Best Reagards > > > > > > > > > > > >Catherine Bezy > > > > > >Director of Customer Support EMEA > > > > > >============================== end quote > > > > > > |
|