GPS, Stepper Motor : Urgent Help Required

Started by aruz...@live.com in 68HC128 years ago 6 replies

Hello all, I m very new to micro controllers. I have following micro controller 68HC12 :: MC9S12DG256B I have a GPS module and a Stepper...

Hello all, I m very new to micro controllers. I have following micro controller 68HC12 :: MC9S12DG256B I have a GPS module and a Stepper motor. Now i m confused where to connect my GPS Module and on which pins i need to connect my stepper motor. I want to connect my GPS Module on SPI ports but i m confused how to connect GPS. My GPS has four pins, Gnd, +5V, SO and Raw. Its of Parallax. Please ...


Instruction Set help

Started by jason_terhune in 68HC128 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...


Help

Started by Jerry Fields in 68HC128 years ago 6 replies

Hello, I have a mc9s12dp512 running on a Axiom CMD12DP512 board. I was making slight modifications on the program, but when I tried to reload...

Hello, I have a mc9s12dp512 running on a Axiom CMD12DP512 board. I was making slight modifications on the program, but when I tried to reload it into internal flash, I keep getting an error that it "Can Not Set Program Counter". When I try to erace the flash memory, it errors out, and tells me the same thing. Does anybody have any ideas? _____________________________________...


Determining sign of decmial number

Started by AlD in 68HC128 years ago 15 replies

I'm writing a program that will swap the most significant 4-bits with the least significant 4 bits of only the negative bytes of a block of 8...

I'm writing a program that will swap the most significant 4-bits with the least significant 4 bits of only the negative bytes of a block of 8 bytes. The numbers in the block are a mix of decimal and hex numbers. The only problem I'm having is determining whether a positive decimal number is positive. As an example the decimal number 220 is 11011100. If I test bit 7 it will show 220 as a negative n...


Link Error( L1119) and creating of vector interrupt table

Started by yiewcj in 68HC128 years ago 1 reply

Hi all, i am new to this software and hope to find some guidance over here. Firstly, I have encountered with this error: Link Error :...

Hi all, i am new to this software and hope to find some guidance over here. Firstly, I have encountered with this error: Link Error : L1119: Vector allocated at absolute address 0xFFFE overlaps with sections placed in segment .absSeg2. At the same time, over at my prm file, i realised this: ********************************************************************************************* ...


Problem in using SCI...send a string

Started by folg...@yahoo.com in 68HC128 years ago 10 replies

Hello, I have a problem with using SCI interface. I am able to send one character but sending a string does not work. Perhaps anyone can tell...

Hello, I have a problem with using SCI interface. I am able to send one character but sending a string does not work. Perhaps anyone can tell me what is wrong. void InitSCI0(void) { SCI0BDH= 0x00; // SCI Baud Rate Registers (SCIBDH and SCIBDL) // calculating the baud rate is: SCI baud rate = SCI // module clock / (16 x BR) SCI0BD...


Re: Hardware vs software interrupt vectors

Started by Bill Auerbach in 68HC128 years ago 12 replies

> Redd, Emmett R writes on 01:15 PM 12/15/2009 > It is really bad programming to not have all interrupt vectors=20 > assigned to a handler....

> Redd, Emmett R writes on 01:15 PM 12/15/2009 > It is really bad programming to not have all interrupt vectors=20 > assigned to a handler. Axiom appears to have assigned all of them to=20 > unused_isr which appears to have the address of $c031. It appears=20 > you do not know what their handler does and I know I don't :-(. But,=20 > as a good microcontroller programmer, you should know or you sh


HC12 Serial Bootloader Limitations

Started by ga5941 in 68HC128 years ago 1 reply

I'm downloading my application to a MC9S12DP512 via the Serial Bootloader which resides at $F000 in page $3F of the Flash memory, a protected...

I'm downloading my application to a MC9S12DP512 via the Serial Bootloader which resides at $F000 in page $3F of the Flash memory, a protected area. My app starts loading in the programming window at $C000 in page $3F but cannot go beyond $F000. This limits program size to less than 12K bytes, a severe limitation when 512K bytes of Flash are available. The load and erase routines of the Serial Boot...


Modulus Down Counter not working on 9S12A64CFU Mask 3L80R ??

Started by Guillermo Molina in 68HC128 years ago 6 replies

Hi, I'm having trouble with a new production of an old product that I've been manufacturing for years. (thermal printer controller) I've...

Hi, I'm having trouble with a new production of an old product that I've been manufacturing for years. (thermal printer controller) I've traced down the problem to the Modulus Down Counter not working on 9S12A64s with mask 3L80R. In these 3L80R chips the Modulus Counter Registers are not accessible at all, i.e. writing any value with the BDM Debugger to register MCCTL always reads 0, ...


needed programmer for (HCS12X) MC9S12XDT512CAA

Started by mohan kumar in 68HC128 years ago 6 replies

hello,=A0=A0 =A0 =A0 =A0 so far, i was using PBMCUSLK Project board and SLK= S12XDT512. for learning purposes, now i am developing a...

hello,=A0=A0 =A0 =A0 =A0 so far, i was using PBMCUSLK Project board and SLK= S12XDT512. for learning purposes, now i am developing a accelerometer using= mc9s12xdt512caa microcontroller along with lcd display.=A0=A0=A0 =A0 =A0 = =A0for the above i need seperate programmer for loading my codes into the c= ontroller. can you suggest me a low cost programmer available for the same = controller....


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