EmbeddedRelated.com
The 2024 Embedded Online Conference

How to detect Stack Overflow

Started by apedroso11 in 68HC1218 years ago 6 replies

Hi all, Is there any way to detect a Stack Overflow while debuggin with codewarrior 3.1 on a HCS12 DP256? (other than expending a lot of...

Hi all, Is there any way to detect a Stack Overflow while debuggin with codewarrior 3.1 on a HCS12 DP256? (other than expending a lot of time searching where some of your RAM variables have been overwritten) thanks


NE64 vs generic S12+MicroChip ENC28J60 for embedded web server

Started by Steve Letkeman in 68HC1218 years ago 3 replies

Has anyone done a comparison between using the NE64 and an external solution like the ENC28J60? I am worried about having all my eggs in the...

Has anyone done a comparison between using the NE64 and an external solution like the ENC28J60? I am worried about having all my eggs in the NE64 basket when any of the HC12 processors could be used with the 28J60. Single vs. two chip solution doesn't bother me and cost difference probably doesn't amount to enough to worry about. Working sample code is nice though! Thanks, Steve ------...


Stepper motor control usig HC12

Started by fhgrossi in 68HC1218 years ago 1 reply

Hi, everyone! Has somebody had any experience with stepper motor control using HC12 uC? Any hint or issue about it would be very...

Hi, everyone! Has somebody had any experience with stepper motor control using HC12 uC? Any hint or issue about it would be very helpful. Thanks a lot Fabio ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/dN_tlB/TM ---------------------


run-time programming of EEPROM in DP256

Started by danielkolodka2002 in 68HC1218 years ago 6 replies

Hello dear people, actually we are trying to program, using a run-time routine, the EEPROM of the MCU: HCS912DP256, but we could not do it...

Hello dear people, actually we are trying to program, using a run-time routine, the EEPROM of the MCU: HCS912DP256, but we could not do it yet. We modify and traslate to C, the assembler routine used for Erase de EEPROM in the bootloader code, of course we change the code to command the internal FSM, that automatically erase and program this memory. The result is always the same, every t...


CAN tranceiver recommendation - 3.3v

Started by blewis999 in 68HC1218 years ago 1 reply

Can anyone recommend a CAN transceiver for that will run at 3.3v? We are using the MCP2551 from microchip and it works fine, however it will...

Can anyone recommend a CAN transceiver for that will run at 3.3v? We are using the MCP2551 from microchip and it works fine, however it will only run at 5.0v and we are going to 3.3v. Thanks Bob ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSA


werial port error & crystal freq measurement method for a 9s12dg128

Started by blewis999 in 68HC1218 years ago 14 replies

Does anyone know how to measure the freq of a Pierce oscillator? I tried a scope probe on xtal but do not see anything, same for extal. I...

Does anyone know how to measure the freq of a Pierce oscillator? I tried a scope probe on xtal but do not see anything, same for extal. I have four identical boards, one that a SCI port that works correctly and three that the SCI function won't work. The one that does work, has a through hole crystal mounted on the smd pads for a SMD crystal. I did this by bending the pins and soldering...


MsCAN Tx Interrupt question

Started by apedroso11 in 68HC1218 years ago 2 replies

Hi all, I've been working on a MsCAN driver for DP256. I am going over it and I have some questions: The MSCAN Block Guide V02.15 says...

Hi all, I've been working on a MsCAN driver for DP256. I am going over it and I have some questions: The MSCAN Block Guide V02.15 says that TX interrupt must be acknowledged by clearing the corresponding flag CANTFLG. 1. Should I ack the tx interrupt doing CANTFLG |= CANTFLG; ? this way I set the empty buffers ready for tx. 2. I only must clear the bit causing the interrupt, but h...


Analog to Digital Conversions MiniDragon+

Started by lil_dj_6789 in 68HC1218 years ago 3 replies

Hello, I've been doing a project with the MiniDragon+ Analog to Digital Converter. I wrote a test program using assembly to see if it...

Hello, I've been doing a project with the MiniDragon+ Analog to Digital Converter. I wrote a test program using assembly to see if it works but it does not. The value I keep getting is $FF. I am sure that my sensor works since a DMM gives a good reading. What I want to do is to take in readings from 5 analog sensors continuously so I can compare values. Here is the program. I have th...


Problem compiling HC12 code to flash onto Wytec Minidragon

Started by thomasfong in 68HC1218 years ago 2 replies

Hello, I have a Wytec MC9S12DP256 MiniDragon Development board. I have written a simple program that uses the RTI interrupt to update...

Hello, I have a Wytec MC9S12DP256 MiniDragon Development board. I have written a simple program that uses the RTI interrupt to update the status of PORTM and the rest of the program waits and sends messages via the serial port (SCI0) to the computer and toggles the ports as necessary.=20=20 The code is fully debugged and works perfectly when using the board in EVB mode with the DBug12 ...


Flash MC9S12E via Serial Monitor Problem

Started by ymliao in 68HC1218 years ago 6 replies

Hi, I have been trying struggling for a week to flash micro via serial monitor without success. I really appreciate if anyone could give me...

Hi, I have been trying struggling for a week to flash micro via serial monitor without success. I really appreciate if anyone could give me some pointers. I've tried to use ubug12, hc12mem and CodeWarrior's True-Time Simulator and Real-Time Debugger, without much luck. The micro is MC9S12E128. My board is not an eval board, and there is no run/load switch. My project is created a...


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


The 2024 Embedded Online Conference