EmbeddedRelated.com
Memfault Beyond the Launch

information about a simulator for the HCS12 family

Started by Alexandre Zambon in 68HC1219 years ago 5 replies

Hi, We are looking to use a simulator for HCS12 family. We are using actually ICC12 for compiling and Dbug-12 for download...

Hi, We are looking to use a simulator for HCS12 family. We are using actually ICC12 for compiling and Dbug-12 for download and some debugging parts. But Dbug-12 doesn't offer the possibility to create breakpoints, execute code, and see meanwhile the variable state, in


A few questions for a project, thanks!

Started by Vuln...@gmail.com in 68HC1216 years ago 5 replies

Hi all, I have a project I am working on for my senior design and I am hoping to get some advice on a few things, thanks for your time! For my...

Hi all, I have a project I am working on for my senior design and I am hoping to get some advice on a few things, thanks for your time! For my embedded systems class we made a project based around a door security system. One HCS12 had an IR sensor and a wireless transmitter connected, and use PB's to set/enter a password. It then transmitted status bits to a second HCS12 connected to a compu...


Field Reprogramming of HCS12

Started by Pat Fitzpatrick in 68HC1221 years ago 5 replies

Hi All, We are soon going to send some HCS12 modules (9S12D64 and 9S12H256 based) out for field testing. It's easy to e-mail...

Hi All, We are soon going to send some HCS12 modules (9S12D64 and 9S12H256 based) out for field testing. It's easy to e-mail new code to the test sites, but we need a simple method of reprogramming the modules. We effectively have the six pin BDM connector available.


resolution for PWM driven servo on HCS12

Started by Steve Auch-Schwelk in 68HC1220 years ago 23 replies

Can anyone let me know if they have some suggestions for the HCS12 prescale, scale, clock, and period, and duty settings for...

Can anyone let me know if they have some suggestions for the HCS12 prescale, scale, clock, and period, and duty settings for running a standard servo (666Hz+/-130Hz or 1.25-1.75ms). My oscilator is 16MHz, so the bus clock is at 8MHz. It seems that the resolution at these f


Help on Codewarrior ( HCS12 ) PC simulation

Started by mdn4u in 68HC1221 years ago 4 replies

Hi all, I am working towards designing motor control system using motorola HCS12 MCU. Just bought Codewarrior Standard edition...

Hi all, I am working towards designing motor control system using motorola HCS12 MCU. Just bought Codewarrior Standard edition as development environment and expecting DP256 evolution board in 2-3 weeks. To reduce the development time I am planning to use Codewarrior


GNU compiler and memory on HCS12

Started by Steve Auch-Schwelk in 68HC1220 years ago 8 replies

I have a tboard eval. with the HCS12 MC mounted. It came with a 30 day trial of the ICC compiler, but I decided to try GCC. My...

I have a tboard eval. with the HCS12 MC mounted. It came with a 30 day trial of the ICC compiler, but I decided to try GCC. My program has now grown to over 12K, and I am having trouble fiddling my memory.x to get the program to load. the default memory map looks like


HCS12 to HCS12 Port interfacing

Started by Jerry Fields in 68HC1214 years ago 5 replies

Hello, I have two MC9S12DP512 microcontrollers, and I need to interface them. The first mc9s12, has port P set to output, the second mc9s12...

Hello, I have two MC9S12DP512 microcontrollers, and I need to interface them. The first mc9s12, has port P set to output, the second mc9s12 has port T set to input, and I want to connect one line on those ports. There are no large amounts of data being sent, as I am just holding the line high or low. My question is, do I need a current limiting resistor in between the two? I have not yet fo...


Is the HCS12 (E128 is mine) able to drive/control servos??

Started by gogosgeorge in 68HC1219 years ago 3 replies

Hi guys, Is the HCS12 able to control servos? Im using a remote control car which has 2 servos already, but I need to use...

Hi guys, Is the HCS12 able to control servos? Im using a remote control car which has 2 servos already, but I need to use another servo (or control the existing one) running from the 9S12E128 to control the voltage pot on the cars rmote control transmitter. Im still


HCS12 and end of life notices

Started by dleatmot in 68HC1218 years ago 4 replies

Dear group, Freescale is in the process of migrating to new more environmentally friendly products. During this process, many of the...

Dear group, Freescale is in the process of migrating to new more environmentally friendly products. During this process, many of the HCS12 have appeared to be marked with end of life status. This is due to the transitional time required to get the new Pb free suffix part numbers up and running in the system. During this time, the non environmental frie


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

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


BDM for Metrowerks Codewarrior 2.0

Started by ra in 68HC1221 years ago 3 replies

Hello Has anyone succeeded in getting Metrowerks Codewarrior 2.0 to debug an hcs12 board with a self-made BDM consisting of a...

Hello Has anyone succeeded in getting Metrowerks Codewarrior 2.0 to debug an hcs12 board with a self-made BDM consisting of a second hcs12 board running d-bug12? (this would sort of be equivalent to Technological Arts' microBDM12SX) The Metrowerks "True Ti


Bootloader HCS12

Started by tipet20002000 in 68HC1221 years ago 2 replies

Hello, Does anybody know how can I run application from RAM with metrowerks? I've done a bootloader in C for MC9S12A128 and...

Hello, Does anybody know how can I run application from RAM with metrowerks? I've done a bootloader in C for MC9S12A128 and a program with Builder C++ to download code from PC to HCS12 via RS485. I can download code into block 1, but to download code into block


Incremental rotary sensor (motor) as input to HCS12

Started by Marek Peca in 68HC1219 years ago 9 replies

Dear colleagues, I'd like to use HCS12 in one application, where the user input will be from discrete incremental rotary sensor (in...

Dear colleagues, I'd like to use HCS12 in one application, where the user input will be from discrete incremental rotary sensor (in fact, HDD motor with appropriate shaping amplifiers). It gives two logical signals, which are phase shifted (if driven by constant velocity, shift is 90deg.): A: 000011110000111100001111 B: 00111100001111000011110


Waking up from Pseudo-Stop with HCS12

Started by Tom Sanders in 68HC1218 years ago

Hi All I have some code where I put the HCS12 chip to sleep in pseudo-stop mode (i.e PSTP = 1, followed by asm STOP). To the best of my...

Hi All I have some code where I put the HCS12 chip to sleep in pseudo-stop mode (i.e PSTP = 1, followed by asm STOP). To the best of my understanding all clocks/oscillators are stopped except for OSCCLK, which causes the real-time interrupt to be generated. The RTI is used to wake up the system. I am working with the NE64 chip. Has anyone worked with putting the device to sleep before?


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

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


BDM sets secure mode?

Started by Daniel Lundin in 68HC1221 years ago 3 replies

My BDM and/or debugger sometimes sets the HCS12 in secure mode. I suspect that it has something to do with the target clock speed, ...

My BDM and/or debugger sometimes sets the HCS12 in secure mode. I suspect that it has something to do with the target clock speed, sence the problem has only (yet) occured when I have the HCS12 to run in self clock mode. This do not happen very often, perhaps once per 50 download


MSCAN Identifier of a received message

Started by foru...@gmx.net in 68HC1215 years ago 16 replies

Hello, I have a communication between a HCS12 and a Computer. I receive CAN messages with the HCS12. That works fine so far, sending messages,...

Hello, I have a communication between a HCS12 and a Computer. I receive CAN messages with the HCS12. That works fine so far, sending messages, too. Is it possible to get the identifier of an received CAN message? Is it stored in a register or something like that so that I can read out the identifier of the last received CAN message? Best Regards Folgli --------------------------------...


New Universal Starter Kits for Freescale HCS12(X) Family

Started by s0ftecmicro in 68HC1219 years ago 3 replies

SofTec Microsystems unveils two new Starter Kits for the Freescale HCS12(X) family. The ZK-S12-A Starter Kit features a 112-Pin LQFP ZIF ...

SofTec Microsystems unveils two new Starter Kits for the Freescale HCS12(X) family. The ZK-S12-A Starter Kit features a 112-Pin LQFP ZIF socket, while the ZK-S12-B Starter Kit Starter Kit featuers a 80-Pin LQFP ZIF socket. The Starter Kits have been designed to provide universal support for all present and future 112-pin and 80-pin HCS12 (X) devices. The high


PEmicro USB HCS08 / HCS12 Multilink - help needed

Started by Benny in 68HC1216 years ago 11 replies

Hi all I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming / debugging. The unit is working good with simple projects,...

Hi all I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming / debugging. The unit is working good with simple projects, but when I am trying to run the CW debugger using this unit connected to the target board, and the project includes several active interrupts like: SCI + 2x PWM , the device lose synchronization and I can't debug Did anyone knows how to handle it...


HCS12 SCI Flash Programming Help

Started by jssimbe in 68HC1214 years ago 1 reply

I'm using and HCS12 with icc12 compiler. I'm using SCI1 to communicate to a touch screen LCD. This program loads the LCD GUI. When I try...

I'm using and HCS12 with icc12 compiler. I'm using SCI1 to communicate to a touch screen LCD. This program loads the LCD GUI. When I try loading the program into flash, it doesn't work. When I'm not using flash, the program works fine and GUI is loaded on the screen. When I flash the board, I include the vectors_dp256 file and set the abs_address to 0xef80. Any help would be greatly apprecia...



Memfault Beyond the Launch