EmbeddedRelated.com

Help in streamlining my xgate code

Started by aerowesty2000 in 68HC1218 years ago 3 replies

Thank you Steve and Doron for the great suggestions. Steve, just placing the function code into the isr netted 1.94 Mhz and combining...

Thank you Steve and Doron for the great suggestions. Steve, just placing the function code into the isr netted 1.94 Mhz and combining Doron's suggestion of using Port AD1 vs PortAB resulted in over 2.67 Mhz. Many thanks to you guys for the fine suggestions. I connected the simulator up to the ground station and the telemetry decommed perfectly. Thanks again. When I get a chance I w...


68hc912 flashing problem with BDM

Started by venki in 68HC1218 years ago 2 replies

Hello all,+ I am trying to flash the code into 68HC912B32 micro but I am getting "The Module could not be erased" error in BDM prog12. ...

Hello all,+ I am trying to flash the code into 68HC912B32 micro but I am getting "The Module could not be erased" error in BDM prog12. I unprotected the device by using PR 0 option in prog12 but no use. Is anybody has experienced the same problem please let me know how you overcome this problem. One more try I have done with Metrowerks where I am seeing couple of errors in comman...


How to tell Code Warrior debugger NOT to erase EEPROM

Started by apedroso11 in 68HC1218 years ago 2 replies

Hi all, I want the CodeWarrior debugger to NOT erase the EEPROM everytime I download user code to my DP256 or everytime I want to use the...

Hi all, I want the CodeWarrior debugger to NOT erase the EEPROM everytime I download user code to my DP256 or everytime I want to use the BDM. I have tried to comment this debugger commands: //mass erase eeprom //wb 0x110 CLKDIV // set ECLKDV clock divider //wb 0x114 0xFF // EPROT all protection disabled //wb 0x115 0x30 // clear PVIOL and ACCERR in ESTAT register //ww 0x118 0...


I2C question??

Started by elalex_76 in 68HC1218 years ago 7 replies

Hello, i had been trying to work with MC9S12DP256B board and SRF08 sensor that makes use of the I2C bus, pins j6 and j7 ,SDA & SCL. I haven't...

Hello, i had been trying to work with MC9S12DP256B board and SRF08 sensor that makes use of the I2C bus, pins j6 and j7 ,SDA & SCL. I haven't been able to communicate with the device. I have included the .asm file, so if anyone can take a look at it and advice me on what i'm doing wrong.=20 What i'm trying to do in this code, is to change the address of the slave(SRF08). In order to change ...


PEMICRO PROG12Z installer needed.

Started by Serge in 68HC1218 years ago 8 replies

Hi, All! Anybody have Pemicro PROG12z installer (working link or file) with version higher than 1.64? Regards. Serge.

Hi, All! Anybody have Pemicro PROG12z installer (working link or file) with version higher than 1.64? Regards. Serge.


I2C problems

Started by iamthewilldinkel in 68HC1218 years ago 2 replies

Hi all, I'm using the HCS12 on a PK-HCS12E128 dev board. I'm trying to interface with a D51307N real-time clock chip using the I2C bus...

Hi all, I'm using the HCS12 on a PK-HCS12E128 dev board. I'm trying to interface with a D51307N real-time clock chip using the I2C bus and having some issues. Can anyone please point me in the direction of some resources which may help me crack this nut? PS: I looked in the forum for support; the only I2C code -- which was commented in French -- I could find was for the GPIO pins. Th...


ImageCraft IDE ICC12 to Microsoft Visual C#

Started by sladezm in 68HC1218 years ago 2 replies

hi guys i need help.. im using ImageCraft ICC12 to pick up data from my doppler radar sensor.. i got the data stored in one variable... i was...

hi guys i need help.. im using ImageCraft ICC12 to pick up data from my doppler radar sensor.. i got the data stored in one variable... i was wondering how would i countinusly send the data from that variable to a variable for Microsoft Visual C# to use... any help would greatly help me finish my senior project ;) and thanks to everyone that was kind enough to help me in my previous post...


Using Terminal in Codewarrior - no serial port

Started by blewis999 in 68HC1218 years ago 2 replies

We are using CW and a 9sdg128B and need to I/O to a serial port... but have no phsyical serial port on the board. It seems like it should be...

We are using CW and a 9sdg128B and need to I/O to a serial port... but have no phsyical serial port on the board. It seems like it should be possible to use Terminal component in the Debugger, but it isn't obvious to me how to do so. The doc set says this component relates to the Abatron BDI... whatever that is. Has anyone any advice on how to do this please, or can it even be done? W...


Graphic LCD x HC12

Started by fhgrossi in 68HC1218 years ago 2 replies

Hi, everyone! I'm trying to develop a Human-Machine interface using a combo Keypad, graphic lcd Panasonic EDMGRB8KJF (7.8 inch STN colored...

Hi, everyone! I'm trying to develop a Human-Machine interface using a combo Keypad, graphic lcd Panasonic EDMGRB8KJF (7.8 inch STN colored passive matrix type. The display consists of 640 x 3(RGB) x 480 dots). Unfortunatelly, I've had problems in integrating the LCD on my HC12 EVM board. All else fails: I can't find documentation about LCD type (same at Matsushite Electric Co.!), I c...


RTI

Started by RUDY CEPEDA in 68HC1218 years ago 4 replies

Hi all =20=20=20 I'm trying to use the Real Time Interrupt of the MC68HC912B32 for generat= e a sample time.=20 =20=20=20 The problem is...

Hi all =20=20=20 I'm trying to use the Real Time Interrupt of the MC68HC912B32 for generat= e a sample time.=20 =20=20=20 The problem is that the MCU runs only with the P&E multilink conected, us= ing or not the HIWAVE. I can not understand where is the problem. =20=20=20 There is the code I used to configure the RTI =20=20=20 void inicia_RTI(void){ /***************************...


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