EEPROM erased

Started by p_anglum in 68HC1214 years ago

I have posted questions about the protection scheme of the EEPROM on the MC9S12DP256B and have been enlightened about it. ...

I have posted questions about the protection scheme of the EEPROM on the MC9S12DP256B and have been enlightened about it. Unfortunately we need to leave the EEPROM unprotected because the end user will be doing some calibration updates which is written to the EEPROM.


PB with paging ?

Started by JCL in 68HC1212 years ago

Hi, I'm using a ICC12 compiler Version 6.16A and have a problem when executing a code. I'm working on a MC9S12DP256B ?C. 1) When...

Hi, I'm using a ICC12 compiler Version 6.16A and have a problem when executing a code. I'm working on a MC9S12DP256B ?C. 1) When I compile my code I used the following options : Device 9S12Dx256 Expanded memory : Enable Make Paged Functions Default S2 Record Type CPU/ Banked Address 2) The compiling is correct a


Moving eeprom

Started by Graham Tricker in 68HC1214 years ago 1 reply

I am using the MC9S12DP256B MPV with a Cosmic compiler. I am trying to move the eeprom to the second 4k block of memory 0x1000 so I...

I am using the MC9S12DP256B MPV with a Cosmic compiler. I am trying to move the eeprom to the second 4k block of memory 0x1000 so I can use all off the 4k eeprom. I have placed the following code in my eeprom initialisation routine. INITEE = 0x21; _asm("NOP&q


I2C bus?

Started by elalex_76 in 68HC1212 years ago 7 replies

I got the Motorola MC9S12DP256B made by Axiom Manufactoring and i don't think it has a I2C bus. Is there a way to connect a sensor (Devantech...

I got the Motorola MC9S12DP256B made by Axiom Manufactoring and i don't think it has a I2C bus. Is there a way to connect a sensor (Devantech SRF08)that uses I2C bus to the serial bus? I'm starting on a project that would use these ultrasonic sensors, but i'm not to sure on how to interface it to the board. Any help is appreciated


Which HCS12 Port supports SPI1?

Started by Mike Elphick in 68HC1214 years ago 1 reply

Hi! Which port has SPI1 on the MC9S12DP256B ? Is it Port H or is it Port P, or can it be both? Greetings, Michael ...

Hi! Which port has SPI1 on the MC9S12DP256B ? Is it Port H or is it Port P, or can it be both? Greetings, Michael


I2C question??

Started by elalex_76 in 68HC1212 years ago 7 replies

Hello, i had been trying to work with MC9S12DP256B board and SRF08 sensor that makes use of the I2C bus, pins j6 and j7 ,SDA & SCL. I haven't...

Hello, i had been trying to work with MC9S12DP256B board and SRF08 sensor that makes use of the I2C bus, pins j6 and j7 ,SDA & SCL. I haven't been able to communicate with the device. I have included the .asm file, so if anyone can take a look at it and advice me on what i'm doing wrong.=20 What i'm trying to do in this code, is to change the address of the slave(SRF08). In order to change ...


Flash Programmer - SCBDMPGMR12

Started by Chengrong Lu in 68HC1215 years ago 3 replies

Hi All, I am looking for a flash programmer for Motorola MC9S12DP256B with the following functions: It can load a...

Hi All, I am looking for a flash programmer for Motorola MC9S12DP256B with the following functions: It can load a firmware image (say S-Record) into MCU and overwrite the existing (crashed) firmware inside the MCU. We also have to keep some calibrat


a 2 month dilemna

Started by MK in 68HC1212 years ago 5 replies

Hello everyone, i have been facing a problem with a serial-output sensor, i wonder if anyone can help... i am trying to use the serial...

Hello everyone, i have been facing a problem with a serial-output sensor, i wonder if anyone can help... i am trying to use the serial communication interface (SCI1) of the minidragon+ board (MC9S12DP256B) in order to read from a medical sensor. The sensor, accoridng to its technical specification, has a Tx output of 3.3 V (CMOS levels). The sensor operates at a baud rate of 4800 and has


cluster led's

Started by elalex_76 in 68HC1211 years ago 9 replies

Hi, i would like to know what would be the best way to connect a cluster led...

Hi, i would like to know what would be the best way to connect a cluster led ( http://jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=100 01&productId=150922 ) to a Motorola MC9S12DP256B. The led requires 10 volts. I don't know if the best way to interface it's to use an op amp? any suggestions? I will be using three set of the led's. Any ideas would be


MC9S12DP256B security

Started by Jean-Sebastien Bouchard in 68HC1211 years ago 25 replies

When you implement the built-in security feature on the DP256B mask 1K79x running Normal Single Chip mode, you cannot erase and write EEPROM and...

When you implement the built-in security feature on the DP256B mask 1K79x running Normal Single Chip mode, you cannot erase and write EEPROM and flash on the device. (From Freescale ERRATA MUCts00603 and MUCts00604.) We need to be able to reprogram the MCU while in the field. In order to do this, our firmware update PC tool launches the Bootloader on the MCU, unsecures the device using t...


External RAM Interface - 9S12 Wide Mode

Started by Johnny in 68HC1214 years ago

Thanks for your help in getting me started with my project to build an external SRAM interface to the MC9S12DP256B. Motorola...

Thanks for your help in getting me started with my project to build an external SRAM interface to the MC9S12DP256B. Motorola application note AN2408 (page 5) shows the use of one 74xx16374 16-bit D flip-flop inline between pins A15-A0 of the MCU and the corresponding address pins o


problem with flash block 0 - MC9S12DP256B

Started by Sebastian Schuster in 68HC1214 years ago

After solving the most significant code problems in the flash program I thought that I could take the chance to erase the old...

After solving the most significant code problems in the flash program I thought that I could take the chance to erase the old vector table and program my new one. Both debugger (Illegal Breakpoint) and in standalone the program crashes probably after erasing the vector table and


chksum error using minidragon on ICC12

Started by Shah in 68HC1212 years ago 2 replies

Friends - as always thanks to all of you who take the time to help us. I am using ICC12 from imagecraft and am using a MC9S12DP256B minidragon...

Friends - as always thanks to all of you who take the time to help us. I am using ICC12 from imagecraft and am using a MC9S12DP256B minidragon board. I have written my program in C and am having problems downloading the program on to the chip. After the download almost finishes I am getting an error called "chksum error". Does anybody know how to get around this error? Please advise. Shah ...


A compiler problem.Is it because the C Program or CWSEHC12..

Started by caoshyh in 68HC1213 years ago

I am using the CodeWarrior Development Studio Special Edition for HCS12 write a simple program for the MCU of MC9S12DP256B using...

I am using the CodeWarrior Development Studio Special Edition for HCS12 write a simple program for the MCU of MC9S12DP256B using the HCS12 software stationery of stationary-k79x.In the Project manager window I removed several MCU peripheral definition and add two files ( "P


Problem in flash erasing if EEPROM is touched

Started by br_professional in 68HC1213 years ago 2 replies

Hi all, I am trying to erase and program Flash Block 0 of MC9S12DP256B. I am doing this by executing my erase and program...

Hi all, I am trying to erase and program Flash Block 0 of MC9S12DP256B. I am doing this by executing my erase and program routines from RAM and I am successful in this. But if I write data to EEPROM, before I start to erase the flash memory, it is not allowing to erase the


New In-System Programmer for Freescale HC(S)08/HCS12(X)

Started by s0ftecmicro in 68HC1212 years ago

February 2, 2006 - inDART-One, the new universal In-System Programmer for Freescale Semiconductor HC(S)08 and HCS12(X) microcontrollers, is...

February 2, 2006 - inDART-One, the new universal In-System Programmer for Freescale Semiconductor HC(S)08 and HCS12(X) microcontrollers, is now available from SofTec Microsystems. inDART-One's fast programming algorithms make it ideal for volume production. The optimized algorithm for MC908GP32 can program the 32KB memory in about 1 second, while the 256KB memory of the MC9S12DP256B ne


Parallel port unable to detect speed

Started by Ashwin in 68HC1211 years ago 3 replies

I am using a M68EVB912DP256 development board (it has the MC9S12DP256B chip). I have used this board about 6months ago for developing my code....

I am using a M68EVB912DP256 development board (it has the MC9S12DP256B chip). I have used this board about 6months ago for developing my code. Now, suddenly, CodeWarrior is unable to detect the board. When I hit Debug, it says "unable to detect speed." I vaguely remember seeing this problem the first time I used it and someone had suggested I unsecure the system via p&e micro's Unsecure 12 a...


EEPROM protection register

Started by p_anglum in 68HC1214 years ago 6 replies

We're using the MC9S12DP256B and I have a question regarding eeprom protection. Not counting the area from $_E00 to $_FFF, can we...

We're using the MC9S12DP256B and I have a question regarding eeprom protection. Not counting the area from $_E00 to $_FFF, can we use the EPOPEN bit in the EPROT register to protect our eeprom data but still modify the eeprom data if we first change the EPOPEN bit? Or is the EPRO


another question about I2C

Started by elalex_76 in 68HC1212 years ago

What frequency do i have to set the bus on the MC9S12DP256B i2c bus? I am using SRF08 ranging sensors, but i'm not sure if i need to set it at...

What frequency do i have to set the bus on the MC9S12DP256B i2c bus? I am using SRF08 ranging sensors, but i'm not sure if i need to set it at 100Khz or if the sensors work at a different frequency, and does anyone know what the SDA hold time is on these devices. I'm really having a hard time trying to get it to work. I have posted the code in Message 13950. My code runs and it finish it, b...


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...