EmbeddedRelated.com

9S12DJ64 oscillator and BDM question

Started by drra...@gmail.com in 68HC1214 years ago 5 replies

Hi all, I successfully designed and realized a project using a now extinct HC12 processor back in 2003, so I am now trying to use the 9S12DJ64...

Hi all, I successfully designed and realized a project using a now extinct HC12 processor back in 2003, so I am now trying to use the 9S12DJ64 to take its place. I have two questions: 1) I am using a Pierce oscillator on my 9S12DJ64 with an 8 MHz crystal (R_B=10M, with coupling caps into EXTAL and XTAL both at 22pF), PE7 driven low, VDDPLL bypassed to GND with 100nF. The PLL components a...


upgrade question

Started by Joe Dee Kay in 68HC1214 years ago 7 replies

I have two s12compact boards from elmicro, s12dg256 and s12dp512. I just got the s12dp512. Are there any changes that need to be made to the...

I have two s12compact boards from elmicro, s12dg256 and s12dp512. I just got the s12dp512. Are there any changes that need to be made to the programs for the s12dp512. I tried running a program that uses the DAC which works on the s12dg256 and it doesn't work on the s12dp512. Program details: The program gets a value from the ADC does some calculations and outputs a value on the DAC. When ...


Error in c program / Dragon 12 plus /68hcs12

Started by narendra pipaliya in 68HC1214 years ago 1 reply

Hello, I am doing my graduate project using Dragon 12 Plus kit. I have written C Progrm in codewarrior for my project. I got error like...

Hello, I am doing my graduate project using Dragon 12 Plus kit. I have written C Progrm in codewarrior for my project. I got error like TMSK1 is not declared. should I need to use any header file for staus register? It would most if anybody explain how to load program into 68hcs12 microcontroller with codewarrior? Thanking you, Narendra ------------------------------------ ...


Introduction; Early Project Planning; 9S12NE64

Started by jwalther1919 in 68HC1214 years ago 4 replies

Hello, I just joined the group, because I am considering a hobbyist project which I might take open source. I am still in the...

Hello, I just joined the group, because I am considering a hobbyist project which I might take open source. I am still in the planning/feasibility/costing stage and could use some advice. I'll describe the project in more detail at the bottom, but I'm going to go straight to the question. so you don't have to wade through what may be needless detail. 1) Are many folks using the 9S12NE64...


newbie Dragon12 board softwar-hardware question

Started by catsalsa in 68HC1214 years ago 11 replies

Hi, I'm taking an embedded course and my prof dug out an old Dragon12 board without the software CD. I did not get a BDM either. I am trying...

Hi, I'm taking an embedded course and my prof dug out an old Dragon12 board without the software CD. I did not get a BDM either. I am trying to understand if there is any option to program the board in C without supplementary hardware. I need to program it using C with which I'm familiar and by reading the various documentation and downloading different software it seems a clear question is n...


Difference between S12 and S12X

Started by drew...@gmail.com in 68HC1214 years ago 2 replies

I have code written for a HCS12 Micro and was thinking about porting it over to a HCS12(X). It has interrupts, and it seems that the interrupts...

I have code written for a HCS12 Micro and was thinking about porting it over to a HCS12(X). It has interrupts, and it seems that the interrupts are handled differently. Is this true, or if the modules are the same between the 2 chips, will the code just port over and work the same. ------------------------------------


SRF08 interface with I2C

Started by "nielsen.daniel" in 68HC1214 years ago 1 reply

Hello, I am trying to interface an SRF08 Ultrasonic Sensor to my Dragon-12 board (I2C) via CodeWarrior and C language. I have tried and tried...

Hello, I am trying to interface an SRF08 Ultrasonic Sensor to my Dragon-12 board (I2C) via CodeWarrior and C language. I have tried and tried again but no succes...I am pretty sure I am writing to the SRF08 but I dont think I am reading correctly. Any help or suggestions or working code would be greatly appreciated. Thanks. This is my code. #include /* common defines and ma


MG9S12DG256 Resistor Question

Started by "Fry, Gordon" in 68HC1214 years ago 7 replies

Hey all, As I'm working through my Introductory tutorial with this board, I'm having some trouble reaching a conclusion again. The...

Hey all, As I'm working through my Introductory tutorial with this board, I'm having some trouble reaching a conclusion again. The question that is stumping me on the tutorial is "What standard 5% value of resistor would you use to limit current?" First of all, what is meant by "5% value of resistor?" I guess the obvious answer would be: 1.) Find the value of the resistor 2.) Divide ...


MC9S12KG256 FLASH bank 1 erased, but not programming

Started by serg...@mail.ru in 68HC1214 years ago 2 replies

Hi, I am working the MC9S12KG256 and writing flash driver to program CPU. Code executed from RAM. FLASH memory is fully unsecured, FPROT for...

Hi, I am working the MC9S12KG256 and writing flash driver to program CPU. Code executed from RAM. FLASH memory is fully unsecured, FPROT for bank 0 is $84, for bank 1 is $FF. Call to EraseFL (B=$00,A=$00) succesfully erases all FLASH sectors except protected. Call to WriteFL succesfully program only bank 0. For bank 1 it doesn't return any error on programming stage, but there is no da...


Instruction Set help

Started by jason_terhune in 68HC1214 years ago 1 reply

Hello, I am very new to the 68HC12. I am in a class where we use the 68HC12 along with an IDE from P&E Microcomputer Systems, Inc. I have only...

Hello, I am very new to the 68HC12. I am in a class where we use the 68HC12 along with an IDE from P&E Microcomputer Systems, Inc. I have only written some basic if-else and while loops at this point. The latest problem I've had is using the instruction FDIV. The code I have so far is: LDD #$04 LDX #$0A FDIV STX $0800 ; the answer I get in acc. X is 6666 I know this is the corr...


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