EmbeddedRelated.com

BRCLR

Started by bal_gill21 in M68HC1119 years ago 7 replies

Happy new year all, The code below is part of a larger program and does not seem to be working. I am expecting it to loop to...

Happy new year all, The code below is part of a larger program and does not seem to be working. I am expecting it to loop to "busy" because the tested byte is not zero. The mask is 00000001 and the tested byte is 00000001, the program goes to "skip" inst


Ham radio: ve5fp rotator controller question:

Started by jameshickox in M68HC1119 years ago 2 replies

Hello all, My name is James and I am an amateur radio operator interested in satellite communication. Reference to the...

Hello all, My name is James and I am an amateur radio operator interested in satellite communication. Reference to the December, 1998 edition of QST magazine where the VE5FP rotator controller is found. Has anyone written a program to allow the controller to get real


Re: Not sure about how to write this program on a clock

Started by Bill Walker in M68HC1119 years ago 5 replies

Here is a clock program that one of my students wrote for Digital Electronics Class. He was rather tricky, though. He used a 3...

Here is a clock program that one of my students wrote for Digital Electronics Class. He was rather tricky, though. He used a 3 digit module for the display, so he had to use the decimal point on the first LED as the tens of hours digit. Also, the clock's timing does not use an


expanded mode circuit

Started by kokhuikang in M68HC1119 years ago 2 replies

hi, is there anyone here have the circuit of expanded mode? The circuit must consists of one 74LS138 decoder and one latch...

hi, is there anyone here have the circuit of expanded mode? The circuit must consists of one 74LS138 decoder and one latch output that i will be using to control my stepper motor.Thanks.


help ...IC's interrupting an RTI ???

Started by Garry Sharpe in M68HC1119 years ago 4 replies

I am a student that is having trouble getting Input Capture interrupts (IC2 & IC3) to interrupt an RTI. Basics: My program,...

I am a student that is having trouble getting Input Capture interrupts (IC2 & IC3) to interrupt an RTI. Basics: My program, including the RTI, IC2 and IC3 ISR's are written in C whilst all ports, interrupts etc are initiated in assembly. The code is compiled using 'Imagecraft


RTS problem

Started by nimish_sudan in M68HC1119 years ago 18 replies

Hey guys, back again with another problem. I have the following program: BEGIN_PROG ... JMP NON_WORKING_LOOP ... ... ...

Hey guys, back again with another problem. I have the following program: BEGIN_PROG ... JMP NON_WORKING_LOOP ... ... ... NON_WORKING_LOOP PSHA PSHB ... JSR NON_WORKING_SR ... NON_WORKING_SR ... BEQ EXIT_LOOP RTS


How can I connect PC to HC11 through RS232?

Started by Alexey Londkevich in M68HC1119 years ago 9 replies

Hello, all. I am beginner in 68hc11 progamming. I must make some changes for same program. I want to write small debug...

Hello, all. I am beginner in 68hc11 progamming. I must make some changes for same program. I want to write small debug program for debugging through serial connection. I connect PC directly to 68hc11. (Ground -ground, td-rd, rd-td). I trying send chars from 68hc11 to PS.


subroutine problem

Started by bal_gill21 in M68HC1119 years ago 8 replies

Hi, I have a main program that is calling subroutines, however when it has finished with the subroutine I issue the RTS...

Hi, I have a main program that is calling subroutines, however when it has finished with the subroutine I issue the RTS command. In some of my program it works absolutly fine and other times it just returns to a random address. I have then issued a JMP (followed by appropri


Re: Branch out of Range

Started by Bill Walker in M68HC1119 years ago 4 replies

Actually the range of a branch is -128 to +127. One other quirk in 68HC11 coding is that if you need to conditionally branch to...

Actually the range of a branch is -128 to +127. One other quirk in 68HC11 coding is that if you need to conditionally branch to some where far away, then you have to branch over a jump instruction using the opposite condition. Like this: BNE SKIP JMP GOBACK


Special Bootstrap/Test Mode and RBOOT

Started by Michael Huslig in M68HC1119 years ago 2 replies

Upper level wants me to update an older F1 design to use external Flash instead of external EPROM. They want to stay with the F1...

Upper level wants me to update an older F1 design to use external Flash instead of external EPROM. They want to stay with the F1 because of the already debugged assembly code. I want to use the bootstrap mode to get the code into the uninitialized Flash in locations $8000-$


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