EmbeddedRelated.com

HCS12 Nested Timer Interrupts

Started by varneybob in 68HC1221 years ago 3 replies

I am using the HCS12 eval board and have a mask set 1K79X part. While executing the Timer5 interrupt service routine, I need to be ...

I am using the HCS12 eval board and have a mask set 1K79X part. While executing the Timer5 interrupt service routine, I need to be interrupted by a higher-priority Timer4 interrupt service routine. However, it appears that the higher-priority Timer4 interrupt is never gaining acc


Student projects with HCS 12

Started by Srinivas kumar Polavarapu in 68HC1216 years ago 3 replies

Hi everyone, Can u suggest me some projects using HCS12 -- Regards Srinivas.

Hi everyone, Can u suggest me some projects using HCS12 -- Regards Srinivas.


Novice help wiring HCS12 to program

Started by darkprism23 in 68HC1216 years ago 5 replies

Hello, I'm trying to get back into microcontrollers, however, I'm having trouble figuring out how to wire the controller to get programmed. ...

Hello, I'm trying to get back into microcontrollers, however, I'm having trouble figuring out how to wire the controller to get programmed. I would like to start out by using an RS232 interface. Can somebody guide me along? The chip I'm currently interested in using is MC9S12DG256. Thanks in advance! -Chris


HCS12 and Sensor

Started by Ramsin Savra in 68HC1218 years ago 11 replies

Hello group, Can somebody tell me what sensor I should use to capture temperature of a refrigerator? this is my firs project and I...

Hello group, Can somebody tell me what sensor I should use to capture temperature of a refrigerator? this is my firs project and I don't know how to select a sensor. Your help will be appreciated greatly. Thanks. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click.


ICE for MC9S12

Started by zwap31 in 68HC1220 years ago 6 replies

Hello Everybody, We're searching an ICE for HCS12. Can anyone help us to give some feedback for this ? What are the major...

Hello Everybody, We're searching an ICE for HCS12. Can anyone help us to give some feedback for this ? What are the major products available on the market ? Regards


Random Number Generation

Started by ericshufro in 68HC1221 years ago 3 replies

Does anyone know a way to generate psuedo random numbers in assembly for the hc11 / hc12 / hcs12? Thank you for the help. ...

Does anyone know a way to generate psuedo random numbers in assembly for the hc11 / hc12 / hcs12? Thank you for the help. --Eric


BDM headaches

Started by bertho_b in 68HC1221 years ago 3 replies

I am getting too old for these problems! I have lived through 68- 00,02,05,09,11 and now finally 12. I am just starting to...

I am getting too old for these problems! I have lived through 68- 00,02,05,09,11 and now finally 12. I am just starting to learn the HCS12 and have written a very simple program, no interrupts and in single page mode using the EVBPlus dragon development board. I


MC9S12NE64 ...

Started by Mileta Radenovic in 68HC1220 years ago 7 replies

Hi all, I am going to start a project based on MC9S12NE64. I have pretty long experience in microcontroller programming but...

Hi all, I am going to start a project based on MC9S12NE64. I have pretty long experience in microcontroller programming but not in particular HCS12 one. So, could someone, please, tell me is there are (not too expensive) C compiler for MC9S12NE64? What about emulator, debug


M68KIT912DP256

Started by hc12 in 68HC1221 years ago 30 replies

Hi All, The Motorola HCS12 dev board (M68KIT912DP256) I ordered arrived today. Before I start working with it, I was wondering...

Hi All, The Motorola HCS12 dev board (M68KIT912DP256) I ordered arrived today. Before I start working with it, I was wondering if any of you know of any problems or gotchas with the kit not already documented in errata. Thanks, Rich


HCS12 + ECT

Started by M.B. in 68HC1221 years ago 2 replies

Where I can find any sample code for simple use ECT ? I have to count short time, but I don't know how use this timer (in ...

Where I can find any sample code for simple use ECT ? I have to count short time, but I don't know how use this timer (in interrupt). regards Mariusz


CWX-HXX-SE

Started by Peter Freyer in 68HC1218 years ago 3 replies

Hi, please tell me, where I can download the free CodeWarrior Development Studio for HCS12(X) v4.5, Special Edition Part #...

Hi, please tell me, where I can download the free CodeWarrior Development Studio for HCS12(X) v4.5, Special Edition Part # CWX-HXX-SE Peter Freyer


How to detect Stack Overflow

Started by apedroso11 in 68HC1218 years ago 6 replies

Hi all, Is there any way to detect a Stack Overflow while debuggin with codewarrior 3.1 on a HCS12 DP256? (other than expending a lot of...

Hi all, Is there any way to detect a Stack Overflow while debuggin with codewarrior 3.1 on a HCS12 DP256? (other than expending a lot of time searching where some of your RAM variables have been overwritten) thanks


Securing HCS12 with Codewarrior

Started by johnpititto1976 in 68HC1220 years ago 3 replies

Hi All, I am attempting to secure the microcontroller and thus prevent it from being accessed via the BDM. I have two...

Hi All, I am attempting to secure the microcontroller and thus prevent it from being accessed via the BDM. I have two reference documents that were recommended by motorolla, being AN2400.pdf and S12FTS256KV2.pdf. I have figured out that I have to change the security


.S19 not valid

Started by Javier Alberola in 68HC1220 years ago 10 replies

Hello, I'm generating a .S19 file with codewarior (using the stationery), and when I'm going to burn the flash, I see that a...

Hello, I'm generating a .S19 file with codewarior (using the stationery), and when I'm going to burn the flash, I see that a part of the program goes in the address 308000, which is not implemented in the HCS12 version that I use ($30-$3F windows => $0C0000-$0FCFFF). Wha


Stepper motor using an HCS12

Started by robsot99 in 68HC1218 years ago 1 reply

Hi, I have Dragon12 board with a 68HCS12 chip. I'm trying to move a bipolar stepper motor both forward and backward. I have found many codes...

Hi, I have Dragon12 board with a 68HCS12 chip. I'm trying to move a bipolar stepper motor both forward and backward. I have found many codes but I'm not sure which to use. I'm using C language. Does anybody out there have any suggestions??? Any help would be greatly appreciated!!! Thanks!


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


Table Lookups on HCS12

Started by Andrew Leech in 68HC1220 years ago 1 reply

Hi all, Just wondered if anyone has an example bit of assembler code that shows how to use the TBL or ETBL commands to do an...

Hi all, Just wondered if anyone has an example bit of assembler code that shows how to use the TBL or ETBL commands to do an interpolated lookup ? I read the command descriptions in the Referance guide, but they didn't make much sense to me. Many T


HCS12 and Code Warrior

Started by big_bear_london in 68HC1220 years ago 2 replies

I am new to cross compiling C (but not Mot assembly) and although it looked quite intuitive I am at loss for why my program does not...

I am new to cross compiling C (but not Mot assembly) and although it looked quite intuitive I am at loss for why my program does not work. Any assistance would be appreciated. I'm using a Technological Arts 9S12C Docking Station, the NanoCore12MAX (9S12C32 MCU, 8MHz, 48-pin),


MC9S12DG256: CAN Problems

Started by Daniel Winkler in 68HC1219 years ago 1 reply

Hello, i'm fairly new in HCS12 an CAN programming and have a problem getting the MSCAN Module to work properly. The problem...

Hello, i'm fairly new in HCS12 an CAN programming and have a problem getting the MSCAN Module to work properly. The problem is that i try to write a little CANMonitor for the MC9S12DG256 in C (using ImageCraft ICC12 Version 6). For the first tests i adapted a code ex


HCS12 Pull Devices

Started by Pat Fitzpatrick in 68HC1219 years ago 2 replies

Hi List, We're contemplating using the 9S12D64 in a test application where using the internal pullup and pulldown devices...

Hi List, We're contemplating using the 9S12D64 in a test application where using the internal pullup and pulldown devices could be very convenient if we knew the range and consistency of the resistance values of these devices. Otherwise we need a whole pile of external resi