Trigger A occurred on HCS12 & CW6.1

Started by AndreaT in 68HC126 years ago

I'm very new to embedded systems programming and learning about scheduling. I am getting a Trigger A occurred in the command window of the...

I'm very new to embedded systems programming and learning about scheduling. I am getting a Trigger A occurred in the command window of the debugger when I hit RUN. When I step through the code it seems to reset? at asm cli at the end of the code. Please let me know if you all have any ideas. /* Started with Valvano Fixed Priority Scheduler. System should light two LEDs alternately every 500...


9s12d64 -External memory access

Started by imtiyazfmn in 68HC126 years ago 14 replies

Hello, I am going t use 9s12d64 for my older design with replacing this.In older design MC68HC11 was used.on that design an FPGA used on 0x8000...

Hello, I am going t use 9s12d64 for my older design with replacing this.In older design MC68HC11 was used.on that design an FPGA used on 0x8000 to 0x803f adress.So now i wanted to use same adress for an FPGA so is it possible in 9s12d64 controller? Since i have read that 0x8000 to 0xBFFF is used for program memory using page window.And insight of micro internal flash is available in this locatio...


ADC to LED problem

Started by AlD in 68HC126 years ago 2 replies

I have code that is not working for the MC68HC12, it takes 0-5V into the ADC and does some math to convert to revolutions per second and...

I have code that is not working for the MC68HC12, it takes 0-5V into the ADC and does some math to convert to revolutions per second and outputs to 2 LED's. Could someone analyze the code to tell me in general what might be wrong with the code. Some where I've think I've made a basic mistake, I have not used the ADC before. I get not display on LED's. The code, sorry don't know how to wrap ...


trouble with PLL on the HC12

Started by Chris in 68HC126 years ago 13 replies

Hello; I am using an ICC12 compiler and NOICE debugger with a USB pod with an HC12 128kB chip running with a 16MHz crystal. My problem is that...

Hello; I am using an ICC12 compiler and NOICE debugger with a USB pod with an HC12 128kB chip running with a 16MHz crystal. My problem is that when I try to set the PLL up for about 40MHz, the code does not seem to work in the way it should and I can't get a LOCK - or even a TRACK signal. I have to turn off the PLLSEL bit before trying to set up the mult and divide registers and turning the...


Interrupts on Port H

Started by dedison07 in 68HC126 years ago 4 replies

I'm having a problem having two interrupts on Port H, I want to use two dip switches to show two different messages on my LED but I don't know how...

I'm having a problem having two interrupts on Port H, I want to use two dip switches to show two different messages on my LED but I don't know how to configure it two where both messages show I only can get one message on both switches. Please help ------------------------------------


About DB9 Female connecte to HCS12

Started by cwl_hf121 in 68HC126 years ago 4 replies

Hello,This is my first time to do one carte based on Hcs12 using SCI module. I have one RS232 cable M/F, one DB9 Female connecte to...

Hello,This is my first time to do one carte based on Hcs12 using SCI module. I have one RS232 cable M/F, one DB9 Female connecte to HCS12.But I'm not sur which one of connection is right in the picture. Picture Thanks for all your help. ------------------------------------


help for CHIPS12

Started by cwl_hf121 in 68HC126 years ago 4 replies

Hello,I have one chips12, but I can't debug it with P&E USB BDM MULTILINK. I use codewarrior version 5.9, I have installed the latest driver for...

Hello,I have one chips12, but I can't debug it with P&E USB BDM MULTILINK. I use codewarrior version 5.9, I have installed the latest driver for USB BDM. Every time it shows : the target MCU has no clock or wrong BDM clock speed is used or derivative is secured. So, for P&E USB BDM, the Pin 1: BKGD; Pin2: GND; Pin6: VDD ;Is it correspond to CHIPS12 BDM 6-PIN connector? Thanks a lot. ----...


HC12 CAN bootloader/flasher

Started by Gabriel Torres in 68HC127 years ago 2 replies

Hello, I'm currently working on a school senor project that requires me to flash an MC9S12C128 microcontroller through CAN. I was wondering if...

Hello, I'm currently working on a school senor project that requires me to flash an MC9S12C128 microcontroller through CAN. I was wondering if anyone had done something like this before and had any pointers for me. Thanks, Gabe ------------------------------------


Unable to flash 9s12 !

Started by jpdi in 68HC127 years ago 4 replies

Hi all ! It's a lot of time I didn't program with S12. Now, I've some soft release to do, and the cpu I try to modify soft refuses to be...

Hi all ! It's a lot of time I didn't program with S12. Now, I've some soft release to do, and the cpu I try to modify soft refuses to be programmed. NoIce reports me "Verify fail at add... wanted xx, got yy (if this is protection byte, NoIce may prevent you from locking yourself out) .../..." I never-never protected the CPUs I use. I tried with 3 other boards I've, wich refused ...


912D60(A), 912B32 and 9S12DG128 devices via BDM

Started by "carl.bulger" in 68HC127 years ago 1 reply

Hello to All I am designing my own interface for reading and writing to various Freescale MCU's. I've read and written to '908' etc devices...

Hello to All I am designing my own interface for reading and writing to various Freescale MCU's. I've read and written to '908' etc devices for many years with my own interface. Now I would like to make my own project hardware/software to read/write 912D60(A), 912B32 and 9S12DG128 devices via BDM. All the required commands are published in many tech bulletins on the internet but what I...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright