BDM for Metrowerks Codewarrior 2.0

Started by ra in 68HC1215 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


CWHC12 2.0 and P&E BDM access w/o downloading code?

Started by William R. Elliot in 68HC1214 years ago 3 replies

Hello all. I am using CodeWarrior for HC(S)12 and the P&E MultiLink BDM Pod on a design with a 9S12A256C part. For all of my...

Hello all. I am using CodeWarrior for HC(S)12 and the P&E MultiLink BDM Pod on a design with a 9S12A256C part. For all of my development and use on this design, when I click on the debug button in the CodeWarrior IDE, the debugger starts and downloads fresh code into th


P&E HC12 Unsecure

Started by Bob Kohan in 68HC1216 years ago 2 replies

Has anyone else seen this problem? I installed and used the P&E HC12 Unsecure Utility. Now the CodeWarrior Debugger complains that it...

Has anyone else seen this problem? I installed and used the P&E HC12 Unsecure Utility. Now the CodeWarrior Debugger complains that it can not connect via ICD12 because some needed P&E DLLs are missing? Does the P&E install remove or replace some CodeWarrior DLLs? Thanks,


Codewarrior,C and large memory model

Started by Jordi Costa in 68HC1215 years ago 9 replies

I'm trying to generate some code in C for 12DG256 under Codewarrior. Memory model is large because software has to access a big amount...

I'm trying to generate some code in C for 12DG256 under Codewarrior. Memory model is large because software has to access a big amount of data in flash. Test is compiled with -CpPPAGE=0x30 -D_HCS12 -Ml options. At some point of the initialization process and inside PE_low_level_init(void) runni


Debuging with P&E USB MULTILINK & Codewarrior 3

Started by ra in 68HC1215 years ago 12 replies

Hello, While talking about P&E USB MULTILINK and debugging with ICD-12 in Codewarrior 3, would someone know a trick to...

Hello, While talking about P&E USB MULTILINK and debugging with ICD-12 in Codewarrior 3, would someone know a trick to facilitate stepping through "main" code without landing in interrupt driven background routines? (In C) For example, if there is a peri


undefined external references - Codewarrior/9S12E

Started by Tim Perry in 68HC1215 years ago 2 replies

Every thing was going along just fine until ??? Environment: CodeWarrior CW12_V3.0 Motorola 9S12E128 PE Beans I am...

Every thing was going along just fine until ??? Environment: CodeWarrior CW12_V3.0 Motorola 9S12E128 PE Beans I am getting the following undefined external references: _STORE_FAR_16 (ansibi.lib) _STORE_FAR_32 (ansibi.lib) _SET_PAGE (Start12.c.o)


Lightning Development with P&E, HCS12, codewarrior and friends

Started by John Pititto in 68HC1215 years ago 5 replies

Hi All, I am developing a MC68HCS12DP256 with Codewarrior v1.2 using the p&e micro BDM Multilink parallel port interface. I...

Hi All, I am developing a MC68HCS12DP256 with Codewarrior v1.2 using the p&e micro BDM Multilink parallel port interface. I want to set up a second parallel port to monitor one board while i am developing another. I have purchased three PCI-parallel cards and found that


Minidragon C code limit /Codewarrior serialmonitor

Started by jeff...@bendnet.com in 68HC128 years ago 6 replies

Hello, I am using a Minidragon plus2 with mixed C & assembly as shown in the book: "Learning C by example" & have seemingly run into the max C...

Hello, I am using a Minidragon plus2 with mixed C & assembly as shown in the book: "Learning C by example" & have seemingly run into the max C code limit. Using special edition version of Codewarrior with serial monitor My C code is growing & now now during flash programming at approx 14210 bytes size the Hiwave debugger indicates: Link Error : L1102: Out of allocation space in segment R...


Duplicating an application with CodeWarrior and Processor Expert

Started by Robert L. Harris in 68HC1215 years ago 7 replies

We just completed a project using CodeWarrior and Processor Expert. Now we are starting a project for a sister product (95% the...

We just completed a project using CodeWarrior and Processor Expert. Now we are starting a project for a sister product (95% the same). I have tried several ways to make a copy of the original project but none of them "copy" or retain the PE stationary. Is there a way


AN2153 Serial Bootloader for Codewarrior

Started by galenpatrickogrady in 68HC1213 years ago

I am trying to assemble the code for the Serial bootloader in AN2153 with CodeWarrior 3.1. The code in the App Note doesn't match the...

I am trying to assemble the code for the Serial bootloader in AN2153 with CodeWarrior 3.1. The code in the App Note doesn't match the code in the download files and there is no information on assembler switches, etc. When I try to assemble it with the default settings I get a number of error messages ranging from undefined instructions to duplicate label d


CodeWarrior and BDM Problem

Started by eric_cina in 68HC1213 years ago 1 reply

Recently, when I try to load code onto my flash using the USB BDM and CodeWarrior, I get the following: "Error while loading diagnostics...

Recently, when I try to load code onto my flash using the USB BDM and CodeWarrior, I get the following: "Error while loading diagnostics algorithm to target system. The chip may be secured, or the derivative selected may be wrong." The chip is not secured and the derivative is ok. In order to no longer receive this message, I have to click ICD12->Debug Memory Map and then &q


s19 file and 3rd party programmers

Started by eric_cina in 68HC1213 years ago 3 replies

Hi all, I am using CodeWarrior and HC9S12A128 processor. I use s19 files created with from CodeWarrior with 3 byte addresses to download our...

Hi all, I am using CodeWarrior and HC9S12A128 processor. I use s19 files created with from CodeWarrior with 3 byte addresses to download our FW thru the serial port. This works fine. But now we are trying to get our 3rd party manufacture to program the A128 chips using these s19 files and they are failing. They use a BP Microsystems programmer and the chips come out blank as far as I c


Codewarrior - processor expert - Generate PRM file

Started by in 68HC1215 years ago

Hello, I am working on a project with a MC9S12A128B processor with Metrowerks Codewarrior and processor expert V2.00 ...

Hello, I am working on a project with a MC9S12A128B processor with Metrowerks Codewarrior and processor expert V2.00 (special edition). In order to declare variables and structures in EEPROM area I have added a new segment for the EEPROM in the .prm file


processor expert of codewarrior

Started by koby_bens in 68HC1214 years ago 1 reply

hi ! i am using processor expert of codewarrior i manage timer interrupt some spi drivers and adc but i need to write 16 bit...

hi ! i am using processor expert of codewarrior i manage timer interrupt some spi drivers and adc but i need to write 16 bit data ,21 bit adrress to fpga and i can't write out (except for address 0x0000 (port ab)). i need to see the address data on the logic analyzer and


CodeWarrior USB BDM Timing

Started by eric_cina in 68HC1213 years ago 2 replies

Hi, Is it possible with CodeWarrior to change the RESET and BKGD timing on the P&E Multilink BDM? I want to keep the RESET at 5ms held...

Hi, Is it possible with CodeWarrior to change the RESET and BKGD timing on the P&E Multilink BDM? I want to keep the RESET at 5ms held low but increase the time the BKGD is held low. Does anybody know how to do this? Thanks, Eric


CodeWarrior warning :A12004 Value is truncated ...

Started by andr...@yahoo.co.uk in 68HC127 years ago 1 reply

I'm wondering why I'm getting lots of these warnings - (A12004) Value is truncated to two bytes. ?? They are all indicated with a JSR...

I'm wondering why I'm getting lots of these warnings - (A12004) Value is truncated to two bytes. ?? They are all indicated with a JSR instruction. The code compiles and runs - but since I moved some of the routines into paged memory, rather then the non paged area - I get these warnings. Do I need to change a setting in CodeWarrior ? I know you have to be careful with JSR and paged memory...


Target hc12 Mathworks vs metrowerks codewarrior

Started by s12compact in 68HC1214 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


Help on Codewarrior debugger cmd files

Started by apedroso11 in 68HC1213 years ago 5 replies

Hi all, I want the codewarrior (CW) debugger to erase only a part of the flash when it starts. I can see in the...

Hi all, I want the codewarrior (CW) debugger to erase only a part of the flash when it starts. I can see in the "P&E_ICD_Erase_unsecure_hcs12.cmd" file that the debugger will make a MASS ERASE before programming the flash. I want to keep my bootloader programmed into the flash although any of my colleges use the debugger on our targets. I can't find documentation regardi


CodeWarrior para HCS12 v3.1

Started by gonzalo Merida in 68HC129 years ago 2 replies

Estimados:Apelo a su atenci=F3n para que=A0me ayuden a =A0conseguir el comp= ilador "CodeWarrior para HCS12 v3.1" sin limitaciones de tama=F1o de...

Estimados:Apelo a su atenci=F3n para que=A0me ayuden a =A0conseguir el comp= ilador "CodeWarrior para HCS12 v3.1" sin limitaciones de tama=F1o de c=F3di= go ni cantidad de archivos=A0(con archivo *.lic full) para fines did=E1ctic= os=A0, dado que necesito probar un micro de la linea HCS12 , entiendo que e= st=E1n disponibles las versiones superiores (v4.6 y v5.0) en freescale y ad= em=E1s se ...


L1119: Vector overlap with segment ..... Codewarrior HC12

Started by johnpititto1976 in 68HC1215 years ago 2 replies

Hi Guys and Gals, I am having difficulty making my "friend" codewarrior link my newly created code. Someone had the brilliant...

Hi Guys and Gals, I am having difficulty making my "friend" codewarrior link my newly created code. Someone had the brilliant idea of field upgradability?? I receive the message, "Link Error: L1119: Vector Allocated at absolute address 0xFFFE ove