EmbeddedRelated.com

Floating-Point Assembler Code

Started by ga5941 in 68HC1215 years ago 3 replies

I'm a hobbyist writting assembler code for a MC9S12A256 using AN974, the MC68HC11 Floating-Point Package written by Gordon Doughman. I'm getting...

I'm a hobbyist writting assembler code for a MC9S12A256 using AN974, the MC68HC11 Floating-Point Package written by Gordon Doughman. I'm getting some strange results and wonder if anyone else is experiencing problems using this package. The application is controlling a dob telescope with stepper motors. ------------------------------------


HCS12 Watchdog...Reset

Started by folg...@yahoo.com in 68HC1215 years ago 1 reply

Hello, I need for my programm a reset-function. I want to call a function ResetApplication(). Then I want to use the watchdog to reset the...

Hello, I need for my programm a reset-function. I want to call a function ResetApplication(). Then I want to use the watchdog to reset the application. I do not know how to use the watchdog exactly. After the reset the programm should start at the beginning. If the following code complete or have I to do something else. To reset I only have to start the watchdog!? void ResetApplicatio(...


Vibration limitations of microcontrollers? C128.

Started by jmey...@emittechnologies.com in 68HC1215 years ago 2 replies

Hello, I have a C128 that will ultimately be contained in an enclosure and attached to an engine. There are several things to consider here,...

Hello, I have a C128 that will ultimately be contained in an enclosure and attached to an engine. There are several things to consider here, but I am curious about the vibrations at this point. The C128 is on a board from www.axman.com, and there are no moving parts. Does anyone have any knowledge on the vibration limitations of a microcontroller? ------------------------------------


EEPROM Variable Storage On MC9S12C128

Started by jmey...@emittechnologies.com in 68HC1215 years ago 6 replies

Hello, I need to store four strings into non-volatile storage. One string will be 15 chars in length and the other three will be 10 chars in...

Hello, I need to store four strings into non-volatile storage. One string will be 15 chars in length and the other three will be 10 chars in length. The strings may be written less that 10 times in the device's lifetime, but will be read possibly thousands of times. It is very important that the strings remain in memory if the power is lost! Is EEPROM the right place for this? I am working w...


Problem regarding Flash in MC68HC912B32

Started by Rivan Rivaldy in 68HC1215 years ago 2 replies

Hi all, I got a problem with my Flash on my MC68HC912B32 (again.. sigh). I realized that when the S-Record being sent to the MCU, the MCU will...

Hi all, I got a problem with my Flash on my MC68HC912B32 (again.. sigh). I realized that when the S-Record being sent to the MCU, the MCU will only read the odd order of S1. For example, I have the S-Records listed below: S011000046696C653A20696E742E7478740A31 S105FFF20DE01C S105FFF40DB04A S105FFFE0D00F0 S9030000FC After this S-Records being loaded into the Flash, I noticed that the...


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 --------------------------------...


MSCAN TX interrupt ILLEGAL BP BGND

Started by "ondrej.machek" in 68HC1215 years ago 2 replies

Hello, I would like ask you. I am using interrupt for my transmit MSCAN can0 but at the end, M68evb912DP256 jump to command ILLEGAL BP and asm...

Hello, I would like ask you. I am using interrupt for my transmit MSCAN can0 but at the end, M68evb912DP256 jump to command ILLEGAL BP and asm BGND. Do anybody know please where could be error? Thank you very much to all. void interrupt 39 Tx_CAN0(void){ unsigned volatile char i, buf_num, can_tx_msg[16]; buf_num = CAN0TFLG; CAN0TBSEL = buf_num; buf_num = CAN0TBSEL; can_tx_msg[...


Dragon 12 evaluation board

Started by sitaadi in 68HC1215 years ago 1 reply

Does anybody have a complete description of the pins on this board ? I need to use the DC motor driver and the PWM module that comes...

Does anybody have a complete description of the pins on this board ? I need to use the DC motor driver and the PWM module that comes built within the board but not sure what pins tu use . Any suggestions ? Thank you ------------------------------------


SCI Rx Interrupt Only Works Once On S12DP256

Started by jmey...@emittechnologies.com in 68HC1215 years ago 20 replies

I'm working on a Dragon12-P board from evbplus.com containing the mc9s12dp256 and using CW 5.9.0 for a compiler. I'm a beginner, too. :) I've...

I'm working on a Dragon12-P board from evbplus.com containing the mc9s12dp256 and using CW 5.9.0 for a compiler. I'm a beginner, too. :) I've got a C program that collects data from about 10 inputs, concats the data into a single string, and transmits the data upon receiving anything on SCI1. Eventually, I want to send specified data based on different string inputs. I am using Receiver Inte...


where can I buy MC68HC12 eval board

Started by roopa valluri in 68HC1215 years ago 5 replies

Hello, Can anybody suggest to me where I can buy the M68HC12B32EVB ( evaluation bo= ard) as the one that I am using got spoilt the Port=C2=A0P...

Hello, Can anybody suggest to me where I can buy the M68HC12B32EVB ( evaluation bo= ard) as the one that I am using got spoilt the Port=C2=A0P is generating er= renous pulses. I want a replacement part very soon. Please let me know if a= nybody have knowledge regarding its vendors asap thanks, Roopa Add more friends to your messenger and enjoy! Go to http://messenger.= yahoo.com/...


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