EmbeddedRelated.com

Link error with metrowerks

Started by oliv_rennes in 68HC1220 years ago 1 reply

Hi, I have upgrage my metrowerks from a 4.2 to a 5.5. My project was compile and link corretly with the 4.2 and now it doesn...

Hi, I have upgrage my metrowerks from a 4.2 to a 5.5. My project was compile and link corretly with the 4.2 and now it doesn t link! I have errors : Link Error : L1822: Symbol _STORE_FAR_16 in file C:\Program Files\Metrowerks\CodeWarrior CW12_V3.0\lib\HC1


BDM for Metrowerks Codewarrior 2.0

Started by ra in 68HC1221 years ago 3 replies

Hello Has anyone succeeded in getting Metrowerks Codewarrior 2.0 to debug an hcs12 board with a self-made BDM consisting of a...

Hello Has anyone succeeded in getting Metrowerks Codewarrior 2.0 to debug an hcs12 board with a self-made BDM consisting of a second hcs12 board running d-bug12? (this would sort of be equivalent to Technological Arts' microBDM12SX) The Metrowerks "True Ti


Metrowerks Disassembly Obfuscation - Help!

Started by Paul Johnson in 68HC1221 years ago 19 replies

Hi Metrowerks gurus, I've disassembled a module in my program where I think there may be a problem. I have include the relevant...

Hi Metrowerks gurus, I've disassembled a module in my program where I think there may be a problem. I have include the relevant section below, which has a construction that I cannot understand. Can someone explain it to me? The problems are described inline, starting with ***.


ComPOD12 and Metrowerks

Started by Andreas Jahn in 68HC1221 years ago 2 replies

Hello Everybody, has somebody tried the Metrowerks CodeWarrior for HC12 together with the ComPOD12 BDM interface to debug the...

Hello Everybody, has somebody tried the Metrowerks CodeWarrior for HC12 together with the ComPOD12 BDM interface to debug the application? If yes, how is the experience? How to setup CodeWarrior to 'play' with ComPOD? BR Andreas


Metrowerks Hi-wave debugger

Started by alexanderhenne in 68HC1219 years ago 1 reply

Hello! Does someone know how to include an own hardware debugging tool into Metrowerks Hi-wave debugger? regards ...

Hello! Does someone know how to include an own hardware debugging tool into Metrowerks Hi-wave debugger? regards Alex


Metrowerks banked mode

Started by Adrian Vos in 68HC1220 years ago 8 replies

Hi All, I am using metrowerks v2, which I have 32k license for with s12DP256. My code is approx 16k, and I am starting to get...

Hi All, I am using metrowerks v2, which I have 32k license for with s12DP256. My code is approx 16k, and I am starting to get the following linker error: L1907: Fixup overflow in _LDIVS, to _NEG_P type 3, at offset 0xB I also get the same error, but with differin


Problem in linking with metrowerks V1.0

Started by Florent VERRIERE in 68HC1221 years ago 3 replies

We use Metrowerks V1.0 to develop on a mc9s12dp256 and need to copy a project in a new one with a new directory name. After have...

We use Metrowerks V1.0 to develop on a mc9s12dp256 and need to copy a project in a new one with a new directory name. After have create a new project , files and copy of sources, it is impossible to link our application In fact, compilation of different library is done without prob


Re: Metrowerks/Hiwave/PE-USB Very Slow

Started by John Hartman NoICE in 68HC1219 years ago 4 replies

>I use a combination of Metrowerks and PE-USB-ML Cable. >Lately I have noticed that response to run/stop and reset when debugging >are...

>I use a combination of Metrowerks and PE-USB-ML Cable. >Lately I have noticed that response to run/stop and reset when debugging >are very slow. I think that this has been happening for a while but now >it seems to happen at nearly every step. >When I say slow, sometimes it takes 20-25 seconds for the debugger to >stop my hardware!


Metrowerks SmartLinker doesn't include Banked Flash code in S-Record generation

Started by phylacjoe in 68HC1221 years ago 1 reply

I've recently been studying M.Doughman's AN2153: Serial Bootloader for MC9S12DP256. It is stated that S-records generated by Cosmic...

I've recently been studying M.Doughman's AN2153: Serial Bootloader for MC9S12DP256. It is stated that S-records generated by Cosmic software works fine, but I'm on Metrowerks CodeWarrior, so... I had no problems installing the bootloader into the Protected High area (Starti


How to view the I/O Port using IO_Led in Metrowerks V2

Started by uripeled2000 in 68HC1221 years ago 2 replies

Hi I Use Metrowerks V2 to Develop code for the MC9S12DG256BCPV. I want to use the simulator and to watch the values of port A ...

Hi I Use Metrowerks V2 to Develop code for the MC9S12DG256BCPV. I want to use the simulator and to watch the values of port A with the IO_LED component but I can't connect this component to port A. In other words I want to see the Leds changes according to the values of Port A


Target hc12 Mathworks vs metrowerks codewarrior

Started by s12compact in 68HC1220 years ago 1 reply

Hello, I downloaded the CodeWarrior for the HCs12. I want to use it in combination with the target for the HC12 of...

Hello, I downloaded the CodeWarrior for the HCs12. I want to use it in combination with the target for the HC12 of Mathworks. The target works with version 1.2 or 2.0. The one I downloaded from www.metrowerks.com is version 3.1. Matlab doesn't recognize this v


Problems in running a simple program in metrowerks codewarrior and M68HC12B32

Started by mortisgr in 68HC1218 years ago 3 replies

Hello all and thanks in advance for the help, I am using metrowerks codewarrior v3.1 and i have the M68HC12B32 EVB. I try to flash a...

Hello all and thanks in advance for the help, I am using metrowerks codewarrior v3.1 and i have the M68HC12B32 EVB. I try to flash a simple program in the evb. No problem compiling or downloading(I use mini IDE for this reason via serial port). But the program won't work, it is a simple port out( program Iattach it below). I managed to produce a .ls


Metrowerks small memory model banked memory

Started by Adrian Vos in 68HC1219 years ago 18 replies

Hi All, I am using Metrowerks for HCS12 v2.0. In the small memory model it is easy to get access to the 2 16k fixed flash pages, but I...

Hi All, I am using Metrowerks for HCS12 v2.0. In the small memory model it is easy to get access to the 2 16k fixed flash pages, but I am running out of code space as I quickly approach 32k code size. I was hoping to write into my start code some code to fix the PPAGE register at a particular page (not 3E of 3F which are the fixed pages), and then util


Trap on Unimplemented ISR

Started by Andy Sifferman in 68HC1221 years ago 11 replies

Hello everyone - I am using the MC9S12DG128B with the P&E BDM-Multilink, controlled by the Metrowerks True-Time debugger. I...

Hello everyone - I am using the MC9S12DG128B with the P&E BDM-Multilink, controlled by the Metrowerks True-Time debugger. I have been developing code for a few months now. Most of the time everything works fine. But every now and then (between severa


Hi-wave/True-time debugger for HCS12X

Started by joshcurtz in 68HC1218 years ago 3 replies

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

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


ATD and WAIT

Started by amirkln in 68HC1218 years ago 2 replies

Hello all, I have some problems with the ATD. I'm programming on the Metrowerks IDE, and I'm trying to input an ATD input but something...

Hello all, I have some problems with the ATD. I'm programming on the Metrowerks IDE, and I'm trying to input an ATD input but something goes wrong... If someone can give me the typical configuration for the registers it would be great. Secondly, I would like to put the controller in a wait mode in order to consume less power, when it does nothing. H


Problem with comms beween board and PC

Started by pickleza in 68HC1219 years ago 2 replies

Hi 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


Code Warrior Nubie

Started by Sarah Skinner in 68HC1220 years ago 3 replies

I've always used Image Craft C compiler for writing to my 68HCS12DP256 but now I have to swicth to Metrowerks Code Warrior and I'm...

I've always used Image Craft C compiler for writing to my 68HCS12DP256 but now I have to swicth to Metrowerks Code Warrior and I'm not sure what type of project I should create... I choose HC12 Stationary and then I am given choices of what microcontroller I have. I just want to program the RAM.


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


Problems configuring PAD0..15 as input

Started by silvozemljic in 68HC1220 years ago 2 replies

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