programming MC9S12DP256

Started by rod irineo in 68HC1211 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 68HC1212 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


Pulse Accumulator

Started by yklein2004 in 68HC1211 years ago

Hi, I'm trying to count pulses from wheel encoder. I'm using ICC12 and MC9S12DP256. The problem I'm having is that the result (PANC1)...

Hi, I'm trying to count pulses from wheel encoder. I'm using ICC12 and MC9S12DP256. The problem I'm having is that the result (PANC1) does not make any sense. The number are not in sequence.(ex. 179, 254, 18...) here is my code, Please help. #include #include void initialize(void); void main(void){ initialize(); while (1){ printf(" %u \r",PACN1);


CodeWarrior C compiler for MC9S12DP256

Started by Naheed M K in 68HC1214 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


Pulse accumulator 9sdp256

Started by ykle...@pacbell.net in 68HC1211 years ago 18 replies

Hi, I'm trying to count pulses from wheel encoder. I'm using ICC12 and MC9S12DP256. The problem I'm having is that the result (PANC1)...

Hi, I'm trying to count pulses from wheel encoder. I'm using ICC12 and MC9S12DP256. The problem I'm having is that the result (PANC1) does not make any sense. The number are not in sequence.(ex. 179, 254, 18...) here is my code, Please help. #include #include void initialize(void); void main(void){ initialize(); while (1){ printf(" %u \r",PACN1); } }


Sample code in C using codewarrior for I2C Driver MC9S12DP256

Started by dafnapeld in 68HC1213 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 68HC1215 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


Modulo de evaluacion y desarrollo con MC9S12DP256

Started by Ing. Marcelo Imberlina in 68HC1214 years ago

Para la gente de Argentina que este interesada en placas para desarrollo con MC9S12DP256, les envio el link a la siguiente pagina ...

Para la gente de Argentina que este interesada en placas para desarrollo con MC9S12DP256, les envio el link a la siguiente pagina http://www.cyber-tek.com/cards12.htm Saludos


9S12DP256 CAN Initialization

Started by bdcps2002 in 68HC1215 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


I need a bootloader for my hc912

Started by Bob Dhios in 68HC1213 years ago

Hi all, Currently I'am developing an equipment using a MC9S12DP256. One of the features that I can include is a bootoloader...

Hi all, Currently I'am developing an equipment using a MC9S12DP256. One of the features that I can include is a bootoloader for futures upgrades without any special devices for this task. Any one have any idea? How can I do this? Thanks in advance K


COMMUNICATION: HCS12 - RS232 - PC

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


Bootloading

Started by Graham Tricker in 68HC1213 years ago

Hi all I currently have a system using two MC9S12DP256 connected via an spi interface. I have a requirement to be able to...

Hi all I currently have a system using two MC9S12DP256 connected via an spi interface. I have a requirement to be able to bootload both processors via 1 serial port. We already use the Motorola D-Bug12 bootloader successfully in other applications. We have decide


2 questions

Started by nixknacks in 68HC129 years ago 1 reply

MC9S12DP256 using CodeWarrior DRAGON12+ development board /w d-bug 12 A. Does anyone know how to write to flash with d-bug 12? B. I'm...

MC9S12DP256 using CodeWarrior DRAGON12+ development board /w d-bug 12 A. Does anyone know how to write to flash with d-bug 12? B. I'm having trouble with .s19 files larger than 4KB in EVB mode. Is there a size limit in codewarrior that's getting me? How do I get around it. ------------------------------------


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

Started by gottipatirk in 68HC1212 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


Difference between MC9S12H256 and MC9S12DP256

Started by Naheed M K in 68HC1214 years ago 2 replies

Hello, Can I user PWM ports output from DP256 directly to the servo motor. Does it have protection against ove sinking ? Or is...

Hello, Can I user PWM ports output from DP256 directly to the servo motor. Does it have protection against ove sinking ? Or is that above is possible only in H256 ? Thanks Naheed


damage background pin

Started by Darren in 68HC1213 years ago 7 replies

Hi All, Has anyone else managed to kill a MC9S12DP256 by connecting the BDM 6 way header backwards...? I'm using the PE...

Hi All, Has anyone else managed to kill a MC9S12DP256 by connecting the BDM 6 way header backwards...? I'm using the PE BDM Multilink interface and I'm sure that this has killed the chip. Darren Moore


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


Zero-crossing detector

Started by jlvorona in 68HC1213 years ago 1 reply

Hi, I was wondering how to create a zero-crossing detector with MC9S12DP256 micro. Thanks for your input. ...

Hi, I was wondering how to create a zero-crossing detector with MC9S12DP256 micro. Thanks for your input.


Production Flash loading

Started by p_anglum in 68HC1213 years ago 5 replies

We have been using a bootloader during our development and early production on our MC9S12DP256. However, we need to speed up the ...

We have been using a bootloader during our development and early production on our MC9S12DP256. However, we need to speed up the process significantly. At other companies using other processors we supplied the code to our board manufacturer and their supplier (Arrow or Pioneer) p


LCD driver

Started by chil326 in 68HC1214 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