how to read eeprom from hc912b32

Started by kang_yb in 68HC1215 years ago 1 reply

helle: how to read/write eeprom from 68hc912b32. can anyone send soft+adapter schematic to me ? thanks very much. ...

helle: how to read/write eeprom from 68hc912b32. can anyone send soft+adapter schematic to me ? thanks very much. begards kang


Programming EEPROM

Started by xjmikab in 68HC1216 years ago

We would like to know if anyone can help us with the c-code for programing the EEPROM of a 9S12DP256 device. I'm using IAR...

We would like to know if anyone can help us with the c-code for programing the EEPROM of a 9S12DP256 device. I'm using IAR ICC6812 compiler. The oscillator cristal frekvens is 16 MHz. Thanks in advance.. Peter and Martin Below is my function for programming that


Fixing a EEprom Address map

Started by djcatter in 68HC1214 years ago 2 replies

Hello, I have numerous applications that I am trying to have the same EEprom map. The problem is that if I follow the way...

Hello, I have numerous applications that I am trying to have the same EEprom map. The problem is that if I follow the way recommended I have to manually check my addresses each time I create the application to make sure none of the variables I have gone un-used (a real pain


EEPROM subroutines in ICC12

Started by wwsyip in 68HC1214 years ago 1 reply

I am using Imagecraft for ICC12. How do I use the EEPROM read and write subroutines? ie. how do I call it, what parameters, etc? ...

I am using Imagecraft for ICC12. How do I use the EEPROM read and write subroutines? ie. how do I call it, what parameters, etc?


CME12B32 eeprom programming

Started by abc321zhao in 68HC1215 years ago 6 replies

Hi everyone, Did anybody done to EEPROM Programming on CME12B32? I tried to do it myself,but it was unsuccessful. Can anyone...

Hi everyone, Did anybody done to EEPROM Programming on CME12B32? I tried to do it myself,but it was unsuccessful. Can anyone offer help? Thanks, James


EEPROM and RAM memory map

Started by Pascal in 68HC1213 years ago 4 replies

Hello, I would like to configure my 9s12dp256 to use register : 0-3FF, EEPROM 400-13FF, RAM 1400- 43FF Is it possible? If yes, i...

Hello, I would like to configure my 9s12dp256 to use register : 0-3FF, EEPROM 400-13FF, RAM 1400- 43FF Is it possible? If yes, i don't find the correct value of INITEE and INITRM An other question : if RAM is > at $4000 wich is a fixed flashed page, what append? All of these adress questions are not clear for me.... Thank you


Help with I2C hardware on the HC12

Started by thamiral in 68HC1214 years ago

Hello all, I am trying to interface my HC12 with an I2C EEPROM and I am having trouble performing a write to the EEPROM (Model...

Hello all, I am trying to interface my HC12 with an I2C EEPROM and I am having trouble performing a write to the EEPROM (Model No. M24C02) The worst part is that the in circuit debugger that I am using (ICD12Z from P&E) seems to be doing something really weird whe


Downloading C program to EEPROM

Started by MK in 68HC1212 years ago 1 reply

Hello everyone, I developed an application in C language. I have two files -> one that contains the function definitions and the other one...

Hello everyone, I developed an application in C language. I have two files -> one that contains the function definitions and the other one contains the main program. I was testing my code on ICC12 with the TARGET options set to 9s12dp256 in 12K RAM mode. If I would like to port my program to the EEPROM in order for my Minidragon+ board to auto start the applications, can someone give me th


SPI EEPROM

Started by Steve Letkeman in 68HC1214 years ago 1 reply

Hello all, I've used the Microchip 25C320(32K bits) serial EEPROM for many years with the HCS12 and recently changed over to the...

Hello all, I've used the Microchip 25C320(32K bits) serial EEPROM for many years with the HCS12 and recently changed over to the Atmel AT25256A (256K bits). It works for the most part but it doesn't consistantly write the correct data. I've looked at everything from code to waveforms and


Re: Codewarrior programming EEPROM in S12DG128

Started by Jonathan Masters in 68HC1213 years ago 17 replies

Gilles, Cheers for your service. I had been critical overnight of the Metrowerks service pages, but as usual this forum has proved worth...

Gilles, Cheers for your service. I had been critical overnight of the Metrowerks service pages, but as usual this forum has proved worth its weight. The algorithm plugged in a ran nicely. My alternate solution from last post last night didn't work and I had resorted to copying the table with a runtime function into EEPROM when it detected the


Dragon12

Started by MK in 68HC1212 years ago

Hello guyz, I was using a Minidragon+ board for my senior design project. I managed to test my applicaiton in C in the RAM mode. When I was...

Hello guyz, I was using a Minidragon+ board for my senior design project. I managed to test my applicaiton in C in the RAM mode. When I was trying to transfer my program to FLASH memory, my lab instructor told me that I should not do that because D-Bug 12 already resides in FLASH. When I tried to transfer my program to the EEPROM, the terminal of ICC12 kept telling me that EEPROM is locked...


EEPROM Shadow Byte

Started by in 68HC1216 years ago 1 reply

I'm working with the MC912D60A microcontroller. I just realized the access for EEPROM earasing and programming. So far everything...

I'm working with the MC912D60A microcontroller. I just realized the access for EEPROM earasing and programming. So far everything works fine. It's just that I don't understand the idea of the SHADOW byte. Form the specs I read it is located at adress 0x0FC0- 0x0FC1. Actually these ar


how i can read internal EEPROM in HC912?

Started by Piotr G in 68HC1216 years ago 5 replies

Hi ! How i can read and wrire internal EEPROM in MC68HC912DG128 mcu ? i need schematic of connection mcu to PC and software. ...

Hi ! How i can read and wrire internal EEPROM in MC68HC912DG128 mcu ? i need schematic of connection mcu to PC and software. Please help me THX Peter


.eeprom segment

Started by Steve Henck in 68HC1214 years ago

Hello. I finally got my serial bootloader to work on the mc9s12a256b. OK. So I take the application that I'm trying to...

Hello. I finally got my serial bootloader to work on the mc9s12a256b. OK. So I take the application that I'm trying to load, move the vectors, recompile and run it through SRecCvt. SRecCvt doesn't like the ".eeprom" segment created by the linker becau


Hot to use external EEPROM(M95010)

Started by in 68HC1214 years ago

Dear All Now i want to interface external serial EEPROM to store special data inoder to calibration. but it's not easy for...

Dear All Now i want to interface external serial EEPROM to store special data inoder to calibration. but it's not easy for me to interface my processor with it. I had already succeed to communication with it but i can not erase write protet bit. Pls give me hint how t


Burning into the eeprom

Started by caro...@yahoo.com in 68HC1212 years ago 15 replies

Hello everyone my name is Cristian and I am new to the group, I been reading some of the post place on the eeprom section but I have not found...

Hello everyone my name is Cristian and I am new to the group, I been reading some of the post place on the eeprom section but I have not found what I am looking for. My question is, does anyone know to burn my program (C code written on icc12) to my Motorola 68hc12b board. I have tried to look online and I have also call the tech support but the code I have found is written on ASM and icc12 does...


Problems with EEPROM Writes on HC9S12XD256

Started by "Tennies, Joseph C." in 68HC129 years ago 3 replies

I have been trying to write to the EEPROM on the HC9S12XD256 processor and have been having problems getting it to write. The OSC is 12 MHz,...

I have been trying to write to the EEPROM on the HC9S12XD256 processor and have been having problems getting it to write. The OSC is 12 MHz, but we run the PLL to bring it up to 48 MHz. Our EDIV is set to 60 (with no PRDIV8). The following code is on FreeScale CodeWarrior 4.7. Is there something blatently obvious that I'm doing wrong? (I know I need timeouts instead of infinite whil...


Programming EEPROM Issue

Started by vvibin2003 in 68HC1215 years ago 1 reply

I am using Metrowerks suite for generating .abs (ELF/DWARF) and SREC files for my project using MCS9S12DP256. I have defined EEPROM...

I am using Metrowerks suite for generating .abs (ELF/DWARF) and SREC files for my project using MCS9S12DP256. I have defined EEPROM sections in the prm file and the MAP file have reference to the respective sessions as well. .prm file MY_NODEADDR_EEPROM_SEG =


Reset and wrong value in eeprom

Started by Pascal in 68HC1212 years ago 7 replies

Hello, I write some values in the eeprom of 9s12dt128. Before doing a hard reset (power off) if i read the content at 0x800 it is...

Hello, I write some values in the eeprom of 9s12dt128. Before doing a hard reset (power off) if i read the content at 0x800 it is correct. I do the hard reset and i follow this code with the debugger : for(;;) { /* forever: initialize the program; call the root-procedure */ if (!(_startupData.flags&STARTUP_FLAGS_NOT_INIT_SP)) { /* initialize the stack pointer */ ...


EEPROM via BDM command bug!?

Started by Oliver Betz in 68HC1214 years ago 2 replies

Hello All, iSYSTEM tells me that there is a bug at least in the 9S12D64 and 9S12DT128 (not in the DP256) so that it's not...

Hello All, iSYSTEM tells me that there is a bug at least in the 9S12D64 and 9S12DT128 (not in the DP256) so that it's not possbile to write EEPROM directly (without "monitor" code) via the BDM interface in special mode. The problem arises when accessi