BDM Hardwre Command and EEPROM Read/Write

Started by shangdawei in 68HC1214 years ago 2 replies

Hi, all members, I have a question : I want to read/write EEPROM of cpu12 via BDM Hardware Command, But how can i do ? I...

Hi, all members, I have a question : I want to read/write EEPROM of cpu12 via BDM Hardware Command, But how can i do ? I think, I can use Reset & BKGD pin(MODA=MODB=0) , BKGD = 0, make CPU12 @ Special Single Chip Mode, So I can use READ_BD_BYTE/READ_BYTE/WR


HCS12 read/write program for DS2433 EEPROM

Started by pmpham3365 in 68HC128 years ago

Hi everyone, This is my first post. I am working on a DS2433 EEPROM for school and need to program it. There is a USC Multilink interface which...

Hi everyone, This is my first post. I am working on a DS2433 EEPROM for school and need to program it. There is a USC Multilink interface which is connected to a HCS12 microcontroller ( MC9S12DP256B )in the school's labs. I need to read and write to the DS2433 through the HCS12 and am using Codewarrior. I was wondering if anyone had any example programs, because I am very unfamiliar with the DS...


Bootloader for reprogramming Flash EEPROM

Started by yann_37 in 68HC1212 years ago 9 replies

Hello, I'm new with HC12. I'm trying to adapt the code found in application note AN1718 (Serial Bootloader for Reprogramming the...

Hello, I'm new with HC12. I'm trying to adapt the code found in application note AN1718 (Serial Bootloader for Reprogramming the MC68HC912B32 Flash EEPROM) for a 912DT128A. The beggining of the program copies a part of the code from Flash to RAM and run it then. This code contains a "pcr" mnemonic (Program Counter Relative) but I


How can i read/write EEPROM of HC12 via BDM Command ?

Started by shangdawei in 68HC1213 years ago 5 replies

I want to read/write EEPROM of HC12 via BDM Command , But I dont known Which BDM Command Can i use ? Has anybody any advise ?...

I want to read/write EEPROM of HC12 via BDM Command , But I dont known Which BDM Command Can i use ? Has anybody any advise ? I have BDM2COM interface ...


floating point no in eeprom

Started by Anish in 68HC1215 years ago 2 replies

Hi I want to store a floating point number to a location in eeprom. This is my code float resulta; unsigned char...

Hi I want to store a floating point number to a location in eeprom. This is my code float resulta; unsigned char *introm_var0 = (unsigned char *) 0xD40; resulta = 0.56; *introm_var0 = resulta; The problem is that it stores 00 in that location.


'S12 EEPROM routine

Started by bruce_at_pocket_neurobics in 68HC1216 years ago 2 replies

The 'S12 EEPROM programming is similar to Flash programming, but has an extra command "Sector Modify" to allow a sector erase (4...

The 'S12 EEPROM programming is similar to Flash programming, but has an extra command "Sector Modify" to allow a sector erase (4 bytes) to be immediately followed up by two word writes. As I understand it, the first write is embedded in the "Sector Modify" command, and


Re: CML12-DP256 AUTORUN OR START PROGRAM AUTOMATICALLY HELP

Started by "Redd, Emmett R" in 68HC1210 years ago 1 reply

Problem A comment: I have often seen programs that run fine from a monitor program fail when auto running. I always look for things that the...

Problem A comment: I have often seen programs that run fine from a monitor program fail when auto running. I always look for things that the monitor initialized (like the Stack Pointer) that the autorun program does not contain. Problem B comment: Double check the memory map for the CML12 so you know where the EEPROM is. From memory EEPROM was at $D00-$FFF on the 68HC12B32 and RAM is at...


Does P&E MULTILINK load code to EEPROM?

Started by G in 68HC1212 years ago 1 reply

I use a Adapt9S12E128 board in a testing project. I am using Metrowerks Code Warrior - CW12V3.1. My code is working right when P&E MULTILINK...

I use a Adapt9S12E128 board in a testing project. I am using Metrowerks Code Warrior - CW12V3.1. My code is working right when P&E MULTILINK connected with a PC. However, system will be reseted at once when unpluging P&E MULTILINK. Advise please. Is P&E MULTILINK able to load code to EEPROM? Thanks


Problem in loading file into flash of DP256....

Started by Yogeesh in 68HC1215 years ago 1 reply

Hi, We have problems loading our .h12 file into DP256 in Evaluation Board M68KIT9S12DP256. This is in our '.lkf' file.. ...

Hi, We have problems loading our .h12 file into DP256 in Evaluation Board M68KIT9S12DP256. This is in our '.lkf' file.. ----- +seg .data -b0x800 -m0x1b57 -n.data # data start address +seg .eeprom -b0x400 # eeprom start address if needed +def __sbss=@.bss # s


Running HiWave using wine

Started by "Jim...@googlemail.com [68HC12]" in 68HC122 years ago 18 replies

Hi Guys, Does anyone know if you can run HiWave (From code Warrior) using wine in linux? If you do you know how, I'm struggling to get it...

Hi Guys, Does anyone know if you can run HiWave (From code Warrior) using wine in linux? If you do you know how, I'm struggling to get it to flash the EEPROM. Thanks Jim


stationary

Started by scott_roset in 68HC1214 years ago 1 reply

Does anyone have a stationary for codewarrior that will not erase the eeprom? ~Scott

Does anyone have a stationary for codewarrior that will not erase the eeprom? ~Scott


Re: How can i read/write EEPROM of HC12 via BDM Command?

Started by David Shang in 68HC1213 years ago

Marek Peca, it is BDM2COM Interface ( Adapter between PC and MCU) ======= 2004-07-29 23:48:18 You wrote ??======= ...

Marek Peca, it is BDM2COM Interface ( Adapter between PC and MCU) ======= 2004-07-29 23:48:18 You wrote ??======= >> PC_TXD ------------ | > >> | -------- MCU_BKGD > >> PC_RXD ------------ | >


bdm

Started by Simi in 68HC1210 years ago

How to use BDM for EEPROM writting? Juna _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Scanning of this...

How to use BDM for EEPROM writting? Juna _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Scanning of this message and addition of this footer is performed by E-mail Content Filter Software at ADA in conjunction with McAfee Virus detection software - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------------...


Starting with Codewarrior

Started by javieralberola in 68HC1214 years ago 1 reply

Hello, I'm making my first programs with CW eval 9S12DG256B and I have several doubts: -What should I modify to get a...

Hello, I'm making my first programs with CW eval 9S12DG256B and I have several doubts: -What should I modify to get a .S19 file beginning in the EEPROM zone ($0400)? -I'm burning the chip with a ComPod. Is possible to launch it from the CW IDE or


eeprom

Started by Simi in 68HC1210 years ago 5 replies

Has anyone written a simple writeEEPROM routine for the HCS12 processors they would like to post.please send to me thanks simi _ _ _ _ _...

Has anyone written a simple writeEEPROM routine for the HCS12 processors they would like to post.please send to me thanks simi _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Scanning of this message and addition of this footer is performed by E-mail Content Filter Software at ADA in conjunction with McAfee Virus detection software - - - - - - - - - - - ...


MC9S12DP256 unlocking problems

Started by markstaples999 in 68HC1213 years ago 14 replies

Hello all, I am running in secure mode, however I need to write some parameters off to the EEPROM so that they aren't lost...

Hello all, I am running in secure mode, however I need to write some parameters off to the EEPROM so that they aren't lost when the power goes off. So I want to unlock the chip, save the parameter, and then lock it up again. I am having problems with the


How to make an HCS12 doorstop

Started by hashlock in 68HC1212 years ago 8 replies

Hi folks, Is it my understanding that if I erase an HCS12's FLASH, but not its EEPROM, and then reset the device before programming the...

Hi folks, Is it my understanding that if I erase an HCS12's FLASH, but not its EEPROM, and then reset the device before programming the security byte (0xFF0F) to 0xFE, that BDM will no longer work? Have I just created a doorstop to add to my collection? :) Hans


Writes in 68HC12

Started by sabdalla80 in 68HC128 years ago

Can a weak (short or low voltage) programing write of the bits eventualy lead to the 0 bits drifting back to 1 bits. I am asking because I do...

Can a weak (short or low voltage) programing write of the bits eventualy lead to the 0 bits drifting back to 1 bits. I am asking because I do get this case(once in a while) of getting scrambled parameters of "65535" when writing to the EEPROM of 68HC12.... Any ideas? Thanks ------------------------------------


WOW! Fast Pgm

Started by Stewart Prince in 68HC1214 years ago 4 replies

We're using the D60A and just tried the AUTO programming method for the EEPROM. Our previous delay was 10 ms and now it's about 1...

We're using the D60A and just tried the AUTO programming method for the EEPROM. Our previous delay was 10 ms and now it's about 1 ms. That's a 90% time savings per programming pulse! Stewart Prince Professor, Mech Eng CSUN


Re: SX Compression. Plan C, Tovarisch?

Started by Bruce McMillan in 68HC1214 years ago

Steve, Yes the serial eeprom is a possibility, thanks. An alternative might be to organise an up-rising to take over the Motorola...

Steve, Yes the serial eeprom is a possibility, thanks. An alternative might be to organise an up-rising to take over the Motorola factory and churn out millions of the S12E256 SuperChip. And distribute them free of charge to the assembloids of the world. Will you join me?