EmbeddedRelated.com
Memfault Beyond the Launch

ISP for 9S12DP256 HCS12

Started by tech_e_micro in 68HC1220 years ago 5 replies

I have been using an old Atmel 8535 chip - ABC miniBoard for a while now and I thought it might be time to move up. I am looking...

I have been using an old Atmel 8535 chip - ABC miniBoard for a while now and I thought it might be time to move up. I am looking into developing systems with HCS12 and would like to be able to program a 9S12DP256 via RS232 comms or parallel port from the PC without the need for p


Banked memory with a 9S12DP256

Started by ssinfod in 68HC1218 years ago 3 replies

Hi, I am using CodeWarrior 3.1 and also use the banked memory model on a 9S12DP256. I would like to know if it is mandatory to...

Hi, I am using CodeWarrior 3.1 and also use the banked memory model on a 9S12DP256. I would like to know if it is mandatory to allocate at least one segment in a NON-Banked location. Right now, my prm looks like this : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NAMES END SEGMENTS


Trouble With Crystal Clock Generation on 9S12DP256

Started by rmk1113 in 68HC1221 years ago 8 replies

Hi All, I'm in the process of designing an MCU board using a 9S12DP256. I want to use a crystal and generate the clock...

Hi All, I'm in the process of designing an MCU board using a 9S12DP256. I want to use a crystal and generate the clock internally. I have used to recommended values (from Motorola) to set up the PLL filter on the XFC pin, but I currently have an interesting problem:


ICC12's Hello world does not work on my 9s12dp256

Started by zhao47803 in 68HC1221 years ago 3 replies

Hi, I need your help! I cannot have the "Hello World" example that comes with ICC12 work for my 9s12dp256 board. I...

Hi, I need your help! I cannot have the "Hello World" example that comes with ICC12 work for my 9s12dp256 board. I tried to include "hcs12dp256.h" in my project instead of "hc12.h". But the program still does not work.


9S12DP256 CAN Initialization

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


Programming an HC12 with OSEK

Started by teleko7 in 68HC1221 years ago 2 replies

Hi everybody. Is there any good book or pdf or something for developing software in OSEK for a 9S12DP256? T.I.A Iban...

Hi everybody. Is there any good book or pdf or something for developing software in OSEK for a 9S12DP256? T.I.A Iban Barrutia


Example codewarrior and cml-9s12dp256

Started by Pascal DEREX in 68HC1220 years ago 3 replies

Hello, I would like to know if someone have some project examples for cml-9512dp256 with codewarrior. I am a beginner with...

Hello, I would like to know if someone have some project examples for cml-9512dp256 with codewarrior. I am a beginner with hcs12. Thank you very much Regards P.S. you can send me examples in my personal mailbox


Programming EEPROM

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


flash programming code for 9S12

Started by Steve Letkeman in 68HC1221 years ago 2 replies

Hi, I have seen a few threads concerning issues in getting the 9s12DP256 to program its own flash memory via serial or CAN and now...

Hi, I have seen a few threads concerning issues in getting the 9s12DP256 to program its own flash memory via serial or CAN and now it's my turn to do this and was wondering if there is any code floating around for this? Thanks, Steve Automated lighting syste


EEPROM and RAM memory map

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


HCS12 Bank Switch

Started by Phillip Mastroianni in 68HC1219 years ago 6 replies

How does the compiler deal with bank switching? We current are using 9s12DP256 processor which uses banked memory. If there is a...

How does the compiler deal with bank switching? We current are using 9s12DP256 processor which uses banked memory. If there is a document which I can read that would be helpful. Also this process use .5u SST flash, which requires a fixed length srecord. Does the current build too


S-Record Out of Range

Started by Shayne C. Rich in 68HC1220 years ago 2 replies

I've got an Tech Arts 9S12DP256 board. I am using the Imagecraft compiler. When I download any of the demo programs I get the error:...

I've got an Tech Arts 9S12DP256 board. I am using the Imagecraft compiler. When I download any of the demo programs I get the error: S-Record Out of Range I presume this is a problem with the SRecCvt utility? My SRecCvt command looks like: SRecCvt -


Software reset

Started by Shayne C. Rich in 68HC1220 years ago 12 replies

Hi, is there a way to generate a reset from software on the 9S12DP256? Shayne C. Rich Microbial Aerosol Biodetection System ...

Hi, is there a way to generate a reset from software on the 9S12DP256? Shayne C. Rich Microbial Aerosol Biodetection System 1780 N Research Park Way North Logan, UT 84341 Tel: 435-797-3431 Fax: 435-797-3328


How do I initialize the stack for banked memory mode?

Started by codewarr2000 in 68HC1220 years ago 3 replies

All, How do I initialize the stack for banked memory for the 9S12DP256 in Start12.c? and, is it the same then for the...

All, How do I initialize the stack for banked memory for the 9S12DP256 in Start12.c? and, is it the same then for the 9S12DJ64 cpu? Compiler line has: -CpPpage=RUNTIME -Mb -D_HCS12 In Start12.c: Is not the stack being set with this macro


Measuring PWM /w input capture ECT

Started by jeffguilfoil in 68HC1221 years ago 20 replies

Hi, I am trying to do some basic PWM input using input capture with the ECT. I do not understand why it is not working. I've got...

Hi, I am trying to do some basic PWM input using input capture with the ECT. I do not understand why it is not working. I've got a HCS12 (9S12DP256). Here's some code: PWME EQU $A0 PWMPOL EQU $A1 PWMCLK EQU $A2 PWMPRCLK EQU $A3 PWMCAE EQU $A4 PW


9S12DP256 codewarrior uCOS-II banked flash

Started by donpichol in 68HC1220 years ago 1 reply

Hi, At the moment, i got a uCOS-II-based-application running in "Flash Application" target (Codewarrior). I want to run it in...

Hi, At the moment, i got a uCOS-II-based-application running in "Flash Application" target (Codewarrior). I want to run it in "Banked Flash" mode. As you can think, some problems occur with assembly routines. After a while reading datasheets i reso



Memfault Beyond the Launch