Forums More 68hc12
Determining sign of decmial number
inI'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
inHi 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
inHello, 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
in> 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
inI'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 ??
inHi, 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
inhello,=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....
SEEKING HELP IN INTERFACING LCD AND KEYPAD
inHAI; I WOULD LIKE TO GET A SAMPLE PROGRAM IN INTERFACING LCD AND KEY PAD SUCH THAT DATA ENTERED IN THE KEYPAD WILL BE DISPLAYED ON...
HAI; I WOULD LIKE TO GET A SAMPLE PROGRAM IN INTERFACING LCD AND KEY PAD SUCH THAT DATA ENTERED IN THE KEYPAD WILL BE DISPLAYED ON LCD......................... ------------------------------------
Problems with EEPROM Writes on HC9S12XD256
inI have been trying to write to the EEPROM on the HC9S12XD256 processor and have been having problems getting it to write. The OSC is 12 MHz,...
I have been trying to write to the EEPROM on the HC9S12XD256 processor and have been having problems getting it to write. The OSC is 12 MHz, but we run the PLL to bring it up to 48 MHz. Our EDIV is set to 60 (with no PRDIV8). The following code is on FreeScale CodeWarrior 4.7. Is there something blatently obvious that I'm doing wrong? (I know I need timeouts instead of infinite whil...
Interrupts in C
inHi guys i'm really struggling with setting up interrupts and using them in a program to read keys and display them on the seven segment display on...
Hi guys i'm really struggling with setting up interrupts and using them in a program to read keys and display them on the seven segment display on the dragon 12 card.please help,an example code will be much appreciated. Thanks ------------------------------------
Ask a Question to the EmbeddedRelated community
To significantly increase your chances of receiving answers, please make sure to:
- Use a meaningful title
- Express your question clearly and well
- Do not use this forum to promote your product, service or business
- Write in clear, grammatical, correctly-spelled language
- Do not post content that violates a copyright