unsecure the eeprom memory

Started by Simi in 68HC1210 years ago 1 reply

hi, i am working in mc9s12dj256b .i want to unsecure the eeprom memory in this microcontroller.i am trying to write eeprom memory through bdm.if...

hi, i am working in mc9s12dj256b .i want to unsecure the eeprom memory in this microcontroller.i am trying to write eeprom memory through bdm.if anyone know the code,please send to me juna _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Scanning of this message and addition of this footer is performed by E-mail Content Filter Software at ADA in conjunction with...


EEPROM

Started by Simi in 68HC1210 years ago 2 replies

friends, i am working in mc9s12dj256 microcontroller for writing eeprom. i am new to this microcontroller.i tried to write the eeprom in this...

friends, i am working in mc9s12dj256 microcontroller for writing eeprom. i am new to this microcontroller.i tried to write the eeprom in this directly but its not working so now i tried to write through BDM.if you have any data related to my project please share with me juna _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Scanning of this message and addition of...


EEPROM problem!!

Started by chanojmarian in 68HC1214 years ago 2 replies

Hi, When I am trying to do EEPROM operations with the BDM connected it works fine.But when I disconnect the BDM and try to read...

Hi, When I am trying to do EEPROM operations with the BDM connected it works fine.But when I disconnect the BDM and try to read or write from EEPROM location it is not working. Also when the BDM is not connected,I am not able to program the EPROT register to 0xFF thru the 0x


Re: serial EEPROM byte erase

Started by Edward Karpicz in 68HC1212 years ago

Hi Regarding number of erases writing single bytes. That's right. Inefficient. Usually I don't need so many eeprom locations (2k, 4k and...

Hi Regarding number of erases writing single bytes. That's right. Inefficient. Usually I don't need so many eeprom locations (2k, 4k and more). So I allocate at least 1 eeprom sector for every NV parameter. This is also ineffective in terms of # of erases per single NV parameter. Some params need to be stored 0-2 per device lifetime, others more often. Recently I did some project wit...


Re: EEPROM erase on power down?

Started by eric_cina in 68HC1210 years ago

Thx, I'll look into the stability of the our oscillator. Right now I'm reaching for anything because I can't seem to reproduce the...

Thx, I'll look into the stability of the our oscillator. Right now I'm reaching for anything because I can't seem to reproduce the problem. We have a few EEPROM routines that are very careful to keep EEPROM protection enabled and to keep a bulk erase from occurring so I think that these are unlikely to cause a problem. The bulk erase command is only called from 1 place when a certain ...


EEPROM write simulation with Codewarrior

Started by in 68HC1215 years ago 2 replies

Hello, Is it possible to simulate EEPROM writing with the simulator in Metrowerks Codewarrior V2.0 (special edition)? ...

Hello, Is it possible to simulate EEPROM writing with the simulator in Metrowerks Codewarrior V2.0 (special edition)? I use code generated by processor expert to write the EEPROM and when the function WriteSector() checks the CBEIF flag in ESTAT the memo


Re: EEPROM erase on power down?

Started by "James M. Knox" in 68HC1210 years ago

At 19:10 3/28/2008 +0000, you wrote: > Thx, I'll look into the stability of the our oscillator. Right now > I'm reaching for anything because I...

At 19:10 3/28/2008 +0000, you wrote: > Thx, I'll look into the stability of the our oscillator. Right now > I'm reaching for anything because I can't seem to reproduce the > problem. > > We have a few EEPROM routines that are very careful to keep EEPROM > protection enabled and to keep a bulk erase from occurring so I > think that these are unlikely to cause a problem. The bulk erase > command is


EEPROM Read and Write Access

Started by nealskura in 68HC1214 years ago 8 replies

I understand that in order to program any word or byte into EEPROM, the sector in which it resides must first be erased. But is it...

I understand that in order to program any word or byte into EEPROM, the sector in which it resides must first be erased. But is it true that the erase and program process takes a full 20ms?? And that during this time, no other access can be made to EEPROM... even reading from ano


Fw: write new value eeprom

Started by Pascal in 68HC1214 years ago

Hello, In motorola datasheet it is writte thant it is not permitted to program an EEPROM word without first erasing the sector...

Hello, In motorola datasheet it is writte thant it is not permitted to program an EEPROM word without first erasing the sector in which that word resides. This is my code to write something in the eeprom BYTE WriteEEPROM(WORD *ProgAdr,WORD *BufferPtr,WORD


Help!!!

Started by Rajesh R in 68HC1215 years ago 2 replies

Dear Friends, I have a lot of doubts!! 1. After reset, the mapping of EEPROM for single chip mode is at $ff00-$ffff ..So the...

Dear Friends, I have a lot of doubts!! 1. After reset, the mapping of EEPROM for single chip mode is at $ff00-$ffff ..So the Interrupt vectors will be also in the EEPROM. But when you reset in Expanded Modes,the EEPROM starts from $1000 to $1fff . So where will be interrupt vectors


HC12D60A, EEprom and Flash programming

Started by bitjockey1 in 68HC1214 years ago 2 replies

Hello, I am using CW to develop and app using the HC12D60A MCU. I have settings in EEprom that I don't want overwritten when...

Hello, I am using CW to develop and app using the HC12D60A MCU. I have settings in EEprom that I don't want overwritten when the debugger is started. I have the section declared as "NO_INIT" in my flash.prm file, but the EEprom still gets initialized to FF's on


eeprom erasure

Started by scott_roset in 68HC1214 years ago 1 reply

When I try to compile a program using codewarrior and a P&E board, I recieve this message, "The debugger is going to mass erase the...

When I try to compile a program using codewarrior and a P&E board, I recieve this message, "The debugger is going to mass erase the non volatile memory (eeprom and flash) of the current device, then program the application." I do not was to erase the eeprom. Does an


Using eeprom constants in CW

Started by jfrom90 in 68HC1214 years ago 3 replies

Hi, I use codewarrior v3.0 in my project (processor = HCS12 DG128). My intention is to map the eeprom to addresss 0x800. The...

Hi, I use codewarrior v3.0 in my project (processor = HCS12 DG128). My intention is to map the eeprom to addresss 0x800. The Hiwave-debugger uses the s-record fpp-file to support eeprom-writing (I believe) during program loading. In my case the fpp file CW12_V3.0\prog\FP


EEPROM Writing With EPAGE

Started by "Tennies, Joseph C." in 68HC128 years ago 1 reply

We have an 9S12XD256 and are having problems writing to the paged in EEPROM. Our code can currently write to the non-paged...

We have an 9S12XD256 and are having problems writing to the paged in EEPROM. Our code can currently write to the non-paged EEPROM (0xC00-0xFFF). Using the same code we try to write to memory addresses of the paged EEPROM (0x800-0xBFF), and nothing writes. Do we need to switch to using the global memory address or should we be able to write to the 16-bit paged memory address. --------...


EEPROM write problems

Started by Dan Azari in 68HC1213 years ago

Hi all, I'm having a frustrating problem reliably writing a word to EEPROM on a 9s12dp256, and I'm hoping that there is an...

Hi all, I'm having a frustrating problem reliably writing a word to EEPROM on a 9s12dp256, and I'm hoping that there is an obvious oversight in my code. The first time I call my EEPROM write routine it works. However, subsequent calls fail to write the word, but PIVIOL and ACC


error while downloading to EEPROM

Started by MK in 68HC1212 years ago

Hello guyz, there is a weird thing happening on my Minidragon+ board. I was trying to download the .s19 file into the EEPROM using Dbug12 on...

Hello guyz, there is a weird thing happening on my Minidragon+ board. I was trying to download the .s19 file into the EEPROM using Dbug12 on the ICC12 compiler. Everytime i try to download the .s19 file the following message appears: Can't Write Target EEPROM. Check EEPROT Reg. what do u think is the reason behind this? i have written many test source files before as i am new to the Minidr


Reserved locations in EEprom

Started by Robert L. Harris in 68HC1212 years ago 1 reply

A programmer at a client said he found EEprom locations 0xff0 to 0xfff (MC9S12A256BCFU) were reserved for system use and if he overwrote...

A programmer at a client said he found EEprom locations 0xff0 to 0xfff (MC9S12A256BCFU) were reserved for system use and if he overwrote them he had problems. I can find no reference to reserved locations in the Eeprom nor have I (knowingly) had problems if I used those locations. Any insight? Is he right or wrong? -- Bob Harris Can


Stopping CodeWarrior erasing EEPROM

Started by Andrew Leech in 68HC1212 years ago 2 replies

Hi all, Does anyone know how you stop CodeWarrior (V3.1) from erasing the 4K EEPROM when it loads the application via the Debugger ? ...

Hi all, Does anyone know how you stop CodeWarrior (V3.1) from erasing the 4K EEPROM when it loads the application via the Debugger ? I have moved my EEPROM to live at &H4000 - &H4FFF , and I think I've told CodeWarrior about this in the .prm file, but the debugger always 'blanks' it. I've just updated CW with the latest updat


Can't write to eeprom

Started by Pascal in 68HC1214 years ago 8 replies

Hello, I try to write something in a 9s12a64 EEPROM but it doesn't work. The function is //Ecriture en EEPROM ...

Hello, I try to write something in a 9s12a64 EEPROM but it doesn't work. The function is //Ecriture en EEPROM BYTE WriteEEPROM(WORD *ProgAdr,WORD *BufferPtr,WORD size) { /* Check for aligned word */ if(((WORD)ProgAdr & 0x0001)


EEPROM not running on Reset and ATD question

Started by mgrace_canlas in 68HC1214 years ago 1 reply

We are using a 68HC912B chip on M68EVB912B32. I e-mailed a couple of days ago. Our EEPROM still doesn't run after RESET when...

We are using a 68HC912B chip on M68EVB912B32. I e-mailed a couple of days ago. Our EEPROM still doesn't run after RESET when we jumped wires to EEPROM Jump Mode. We initialized the stack to $00c0 before beginning our program and disabled the COP Watchdog Timer via the COP C