Forums Search for: CodeWarrior
BDM problems
inI'm fairly new to using the HC12. The tools I'm using is CodeWarrior and the Multilink BDM. The BDM doesn't seem to be working...
I'm fairly new to using the HC12. The tools I'm using is CodeWarrior and the Multilink BDM. The BDM doesn't seem to be working correctly as a debugging tool. Breakpoints only seem to work sporadically and when I try to single step the processor seems to jump off into never, never
HCS12: Pierce Oscillator
inI want to use a Pierce Oscillator (with a 20MHz crystal), but it doesn't work for some reason. Does anyone know where I can get...
I want to use a Pierce Oscillator (with a 20MHz crystal), but it doesn't work for some reason. Does anyone know where I can get more information or schematics on how to do this together with the HCS12? I'm using HCS12DG256 and the Codewarrior compiler.
Hi-wave/True-time debugger for HCS12X
inGilles/anyone who can answer, I've been using CodeWarrior for the HCS12X v 4.1 for about 6 months or so and I've occasionally had...
Gilles/anyone who can answer, I've been using CodeWarrior for the HCS12X v 4.1 for about 6 months or so and I've occasionally had questions that it seems the documentation couldn't address. Maybe it's just that I don't know where to look for the documentation but the Metrowerks website seems to be lacking documentation for the HCS12X products. Anyways, sin
Banked memory with a 9S12DP256
inHi, I am using CodeWarrior 3.1 and also use the banked memory model on a 9S12DP256. I would like to know if it is mandatory to...
Hi, I am using CodeWarrior 3.1 and also use the banked memory model on a 9S12DP256. I would like to know if it is mandatory to allocate at least one segment in a NON-Banked location. Right now, my prm looks like this : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NAMES END SEGMENTS
Analog to Digital conversion
inHi, I am very new to microcontrollers. I am using a MC9S12DP256C on a trainer board. To develop I'm using CodeWarrior and C code. It is all...
Hi, I am very new to microcontrollers. I am using a MC9S12DP256C on a trainer board. To develop I'm using CodeWarrior and C code. It is all overwhelming. I am trying to write a program that will compare two voltages and depending on which voltage is greater to send a digital signal to a stepper motor controller. My biggest problem stems from interfacing. I dont know how to initializ
Codewarrior C/assembly inline statements
inHello World_ I am working on my special bootloader project, i am having difficulty jumping to a assembler label from my main C...
Hello World_ I am working on my special bootloader project, i am having difficulty jumping to a assembler label from my main C function. Let me illustrate what i am attempting to do... ****Assembly***** XDEF UseBootCode UseBootCode: c
Re: entry level S12 tools
inHi guys, OK finally resurected this old post, you may remember that I posted this saying that I was looking for a freeish tool chain...
Hi guys, OK finally resurected this old post, you may remember that I posted this saying that I was looking for a freeish tool chain for the S12 for students and hobbyists, well it is finally here. OK, I wanted a 64K solution but after some arm twisting we have now got the free Special Edition of Codewarrior up from 12K to 32K. You can download it here
Hiwave FPP files download?
inHi All, still regarding D60A programming with SDI: is it possible to get FPP files without downloading >70MB of Codewarrior? ...
Hi All, still regarding D60A programming with SDI: is it possible to get FPP files without downloading >70MB of Codewarrior? My CW eval version doesn't know the D60A. TIA, Oliver
Problem with comms beween board and PC
inHi all, I am having a couple of problems getting my BDM interface working. I am using Metrowerks codeWarrior (2, I...
Hi all, I am having a couple of problems getting my BDM interface working. I am using Metrowerks codeWarrior (2, I think) with a P&E BDM Multilink Programmer on a 68HC12SD64, but am having some problems with the connections. I get a BDM speed
HC12 and GCC
inHello Folks I have been using CodeWarrior for HC12 development stuff, I would like to move to the gcc toolchain, I did dl the...
Hello Folks I have been using CodeWarrior for HC12 development stuff, I would like to move to the gcc toolchain, I did dl the stuff, but getting started in that has been difficult. I would like to find out:- 1.) Is there a suitable IDE to go along with gcc? 2.)
Problems configuring PAD0..15 as input
inHello. I'm using Adapt9S12E128 Microcontroller Module with MC9S12E128CPV chip. and Metrowerks Codewarrior development...
Hello. I'm using Adapt9S12E128 Microcontroller Module with MC9S12E128CPV chip. and Metrowerks Codewarrior development environment for HCS12 chips. Here is my problem... I would like to use PAD0..15 lines which are conected to onchip ATD module as inputs, so that
CodeWarrior and Switch statment compiling issue
inI have the same code in 2 different projects, in the main loop of both. This section of code has a switch statement in it, but in...
I have the same code in 2 different projects, in the main loop of both. This section of code has a switch statement in it, but in one project, it works, and the other it doesn't(always goes to the first case). The code is identical except for some port changes due to outputs bein
Flashing Over EEPROM: A Newbie Question
inGentle Denizens: I am using CodeWarrior for the HC12 w/ the Processor Expert package, and my target is the MC9S12A64. I am...
Gentle Denizens: I am using CodeWarrior for the HC12 w/ the Processor Expert package, and my target is the MC9S12A64. I am using the BDM MultiLink to flash program with. This is a completely newbie question (I am, in fact, a newbie to all of the items noted above)
Re: Codewarrior programming EEPROM in S12DG128
inGilles, Cheers for your service. I had been critical overnight of the Metrowerks service pages, but as usual this forum has proved worth...
Gilles, Cheers for your service. I had been critical overnight of the Metrowerks service pages, but as usual this forum has proved worth its weight. The algorithm plugged in a ran nicely. My alternate solution from last post last night didn't work and I had resorted to copying the table with a runtime function into EEPROM when it detected the
DC motor PID controller
inHi, Im doing a dc motor PID controller. Im using Nanocore12DX. I have an enocoder. It is a quadrature encoder. I have generated PWM signal...
Hi, Im doing a dc motor PID controller. Im using Nanocore12DX. I have an enocoder. It is a quadrature encoder. I have generated PWM signal from HC12 to drive the motor. The question I wanted to ask is how do i implement the PID controller in Codewarrior? Regards, Chai ------------------------------------
ETBL
inI'm using Metrowerks CodeWarrior for HC12. The HC12 has a couple of cool new instructions for interpolation, TBL and ETBL. Is there...
I'm using Metrowerks CodeWarrior for HC12. The HC12 has a couple of cool new instructions for interpolation, TBL and ETBL. Is there some way that the compiler will use these instructions, or do I have to roll my own? I looked in the "manuals", to no avail. Thanks, Bob White
Sprintf unsigned long conversion specifier
inHi All, I want to convert a unsigned long to a string. What is the conversion specifier to use for the codewarrior compilier??...
Hi All, I want to convert a unsigned long to a string. What is the conversion specifier to use for the codewarrior compilier?? Thanks, John.
ADC HCS12 DP256
inI would like some help in putting together some C Code to set-up and read one ADC Channel continuously and also set-up and Scan...
I would like some help in putting together some C Code to set-up and read one ADC Channel continuously and also set-up and Scan through multiple ADC channels continuously. I have Codewarrior for HCS12.Some help would be appreciated as I am a newcommer to embedded.
SRF08 interface with I2C
inHello, I am trying to interface an SRF08 Ultrasonic Sensor to my Dragon-12 board (I2C) via CodeWarrior and C language. I have tried and tried...
Hello, I am trying to interface an SRF08 Ultrasonic Sensor to my Dragon-12 board (I2C) via CodeWarrior and C language. I have tried and tried again but no succes...I am pretty sure I am writing to the SRF08 but I dont think I am reading correctly. Any help or suggestions or working code would be greatly appreciated. Thanks. This is my code. #include /* common defines and ma
s-record files
inHi all, I'm using codewarrior to develop hcs12c64 project. I use a P&E usb multilik to load firmware. After generating binary...
Hi all, I'm using codewarrior to develop hcs12c64 project. I use a P&E usb multilik to load firmware. After generating binary data, I can load firmware using .abs (used as default by Hi-wave) and also using .s19 file. However I can't do it using .phy file (error message: error while writing to F0000...F0200 - mo memory at this addre