programming MC9S12DP256

Started by rod irineo in 68HC1216 years ago 1 reply

I am having a hard time programming the MC9S12DP256. I am Using EmbeddedGNU 0.93 as my software. I have this guide on how to program the said...

I am having a hard time programming the MC9S12DP256. I am Using EmbeddedGNU 0.93 as my software. I have this guide on how to program the said microcontroller. It is said that I should be on mode 4 (bootloader) then I should reset the button. I followed this instructions. I followed that I should choose a then b, the bootloader will wait for my file. (do this really takes a long time???). When I sa...


looking for a MC9S12DP256 Bootloader

Started by apedroso11 in 68HC1217 years ago

Hi, I am looking for a CAN and/or Serial bootloader for HCS12 (MC9S12DP256) and I've found several options: 1. Serial (AN2153 and...

Hi, I am looking for a CAN and/or Serial bootloader for HCS12 (MC9S12DP256) and I've found several options: 1. Serial (AN2153 and AN2153SW) 2. LRAE (AN2546) and AN2720/D (Flash routines) 3. BootRom.zip (on this group, by lenux22) - Can anybody tell me what is the easiest one to start with? - I have tried to compile AN2153SW


CodeWarrior C compiler for MC9S12DP256

Started by Naheed M K in 68HC1219 years ago 4 replies

Hi, Does any one use c compiler for MC9S12DP256 for developing small code to store at RAM and execute it. I am using DRAGON12PRO...

Hi, Does any one use c compiler for MC9S12DP256 for developing small code to store at RAM and execute it. I am using DRAGON12PRO board and trying to compile. I have successfully compiled and stored the code to RAM but not able to execute. I have tried to load .abs file and s


Sample code in C using codewarrior for I2C Driver MC9S12DP256

Started by dafnapeld in 68HC1218 years ago 2 replies

Hi Please anyone can show me a sample code in C using Codewarrior for reading and writing using I2C interface for MC9S12DP256...

Hi Please anyone can show me a sample code in C using Codewarrior for reading and writing using I2C interface for MC9S12DP256 Micro Thank you Uri


Reference Vrh on mc9s12dp256

Started by Florent VERRIERE in 68HC1220 years ago 2 replies

Hello, About Vrh / Vrl on mc9s12dp256, does it neccessary to use a voltage reference IC for a precise ATD conversion or does...

Hello, About Vrh / Vrl on mc9s12dp256, does it neccessary to use a voltage reference IC for a precise ATD conversion or does power supply voltage is sufficient as evaluation boards seems done? What is the current of Vrh ? Is there any internal regulator of Vrh voltage? Thank y


9S12DP256 CAN Initialization

Started by bdcps2002 in 68HC1220 years ago 8 replies

Hi everybody, I am using MC9S12DP256 on TechnologicalArts board, which has 2 CAN ports. Even though CAN works in Loopback mode, I...

Hi everybody, I am using MC9S12DP256 on TechnologicalArts board, which has 2 CAN ports. Even though CAN works in Loopback mode, I couldn't get them to talk to each other. When initializing, do I have to do anything other than: // Enable MSCAN module.???? Anything else


COMMUNICATION: HCS12 - RS232 - PC

Started by in 68HC1220 years ago 5 replies

Hi, i am using the HCS12 chip (MC9S12DP256) and I have to communicate through the RS-232 with PC. Be so kind and help me. I find...

Hi, i am using the HCS12 chip (MC9S12DP256) and I have to communicate through the RS-232 with PC. Be so kind and help me. I find any (C source) codes, which could get me started. Thanx, Martyn


Re: I/O commands using ICC12 and D-Bug12

Started by gottipatirk in 68HC1217 years ago 5 replies

Hi How do you specify the pointer address for the subroutines that are developed in C for I/O operations (like getchar, putchar,...

Hi How do you specify the pointer address for the subroutines that are developed in C for I/O operations (like getchar, putchar, prinntf) for a MC9S12DP256 microcontroller and developing C programs using ICC12 software and D-Bug12 debugger Thanks in Advance Rama


MC9S12DP256 unlocking problems

Started by markstaples999 in 68HC1218 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


LCD driver

Started by chil326 in 68HC1219 years ago 5 replies

Hello, do anyone have simple driver in C for CML12SDP256 board from Axiom? The LCD is on SPI. The MCU is MC9S12DP256. A...

Hello, do anyone have simple driver in C for CML12SDP256 board from Axiom? The LCD is on SPI. The MCU is MC9S12DP256. A tutorial could be great too. Thank you


MC9S12DP256 Security Bit

Started by Bill in 68HC1219 years ago 2 replies

I keep inadvertantly setting the security bit on the 9S12. How can I avoid this? Unsecure software puts it back right again, but I must be...

I keep inadvertantly setting the security bit on the 9S12. How can I avoid this? Unsecure software puts it back right again, but I must be loading something into flash memory that says "Secure" this MCU. Any tips or suggestions?


Illegal Breakpoint

Started by Ming Jiang in 68HC1220 years ago 1 reply

Hello all, I am having a problem with my MC9S12DP256 eval board. Hopefully somebody can help me out. I set my target in ICD-12...

Hello all, I am having a problem with my MC9S12DP256 eval board. Hopefully somebody can help me out. I set my target in ICD-12 debugger mode. Most times I ran my code by hitting F5 (Start/Continue), suddenly it would stop on its own. and I saw the bottom message changed from RUNNING to ILLEGAL_BP. I


Problem in linking with metrowerks V1.0

Started by Florent VERRIERE in 68HC1220 years ago 3 replies

We use Metrowerks V1.0 to develop on a mc9s12dp256 and need to copy a project in a new one with a new directory name. After have...

We use Metrowerks V1.0 to develop on a mc9s12dp256 and need to copy a project in a new one with a new directory name. After have create a new project , files and copy of sources, it is impossible to link our application In fact, compilation of different library is done without prob


hcs12 flash

Started by in 68HC1220 years ago 2 replies

Hello, I use an mc9s12dp256, and my apllication needs to save some parameters in Flash. So I have make a program but it...

Hello, I use an mc9s12dp256, and my apllication needs to save some parameters in Flash. So I have make a program but it doesn't work, it chras my CPU. My config: CPU: m9s12DP256 (single chip) Fosc: 16MHz Fbus: 8MHz If someone foud an erro


SCI baud rate.

Started by mohan kumar in 68HC1219 years ago 3 replies

Hi, I have been using SCI0 of MC9S12dp256 and communicating with the com1 of PC through Hyperterminal. It seems to work fine...

Hi, I have been using SCI0 of MC9S12dp256 and communicating with the com1 of PC through Hyperterminal. It seems to work fine (Able receive and transmit ) upto to baud rate 38400. But if I try to configure to 57600 or 115K communication is not working. The Bus clock is 8Mhz (16MHZ


Standalone mode & 'Banked_flash' build target

Started by christian_theiss_2003 in 68HC1220 years ago 2 replies

Hi you guys at HC(S)12 yahoo group/mailing list, ...as I introduced myself yesterday a little I want to give you my setup...

Hi you guys at HC(S)12 yahoo group/mailing list, ...as I introduced myself yesterday a little I want to give you my setup configuration on the hcs12 target I am working on: * M68EVB912DP256 eval board from mot around M68Kit912DP256 bundle * uController MC9S12DP256, rev


SCI Rx Interrupt Only Works Once On S12DP256

Started by jmey...@emittechnologies.com in 68HC1214 years ago 20 replies

I'm working on a Dragon12-P board from evbplus.com containing the mc9s12dp256 and using CW 5.9.0 for a compiler. I'm a beginner, too. :) I've...

I'm working on a Dragon12-P board from evbplus.com containing the mc9s12dp256 and using CW 5.9.0 for a compiler. I'm a beginner, too. :) I've got a C program that collects data from about 10 inputs, concats the data into a single string, and transmits the data upon receiving anything on SCI1. Eventually, I want to send specified data based on different string inputs. I am using Receiver Inte...


LRAE linking with CodeWarrior

Started by apedroso11 in 68HC1217 years ago 2 replies

I am using LRAE (AN2546SW) with CodeWarrior3.1 but I have problems linking I have created a new project from the Stationary for...

I am using LRAE (AN2546SW) with CodeWarrior3.1 but I have problems linking I have created a new project from the Stationary for MC9S12DP256 (flash target) I have substituted the called to _Startup routine in the PRM file to the called to main routine of the AN2546SW in order to use its initialization instead of the one on the START12.c from


Using IAR Compiler for MC9s12DP256

Started by mohan kumar in 68HC1219 years ago 2 replies

Hi, Is there any way to avoid having Interrupt Vector Table information in the output file generated using IAR workbench.? ...

Hi, Is there any way to avoid having Interrupt Vector Table information in the output file generated using IAR workbench.? I tried to delete the INTVEC segment in the linker file but, the linker always looks for this segment and generates a error. Is there any way to over ri


erasing 256k flash memory with mc9s12dp256

Started by Micro m6net in 68HC1220 years ago 5 replies

Hi, With a self programmed bootloader which runs in Ram, we have some trouble to erase memory flash block with mass_erase...

Hi, With a self programmed bootloader which runs in Ram, we have some trouble to erase memory flash block with mass_erase command. But if we send two times the function, we have a correct erasing. Therefore, same function but in writing mode works properly after erasi