EmbeddedRelated.com
The 2024 Embedded Online Conference

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


using codewarrior without a BDM

Started by oulaxer11 in 68HC1220 years ago 4 replies

More Noob question - I have an Axiom Board with the HCS12 - DP256 I wrote a VERY simple C program in codewarrior and tested...

More Noob question - I have an Axiom Board with the HCS12 - DP256 I wrote a VERY simple C program in codewarrior and tested it... I want to download it to the flash of the HCS12 using the AxIDE but when i try to upload the S - record i get a ROM error, which ma


CodeWarrior bugs

Started by in 68HC1219 years ago 6 replies

Hi, I'm having some quite anoying problems with codewarrior bugs, related to the lack of code checking by the compiler mostly. ...

Hi, I'm having some quite anoying problems with codewarrior bugs, related to the lack of code checking by the compiler mostly. First I had a function that was declared in the header with a missing argument, but implemented and called with the *extra* argument ( implementation and call in different translation units, but both including the bogu


Inlining functions with CodeWarrior

Started by galenpatrickogrady in 68HC1219 years ago 1 reply

I'm trying to implement some functions as inline with CodeWarrior 2.0. I've tried the #pragma INLINE method with the -Oi compiler flag was ...

I'm trying to implement some functions as inline with CodeWarrior 2.0. I've tried the #pragma INLINE method with the -Oi compiler flag was well as the inlne keyword and compiled as C++. In all circumstances the code is not placed inline, there is still the original function call. I have verified this with the debugger. I'm quite sure that I have met


BootLoader in Codewarrior for HC12

Started by johnpititto1976 in 68HC1220 years ago 4 replies

Hi ladies and Gents, I am developing a MC68HCS12DP256B micro using codewarrior v1.2. I am attempting to develop code so the...

Hi ladies and Gents, I am developing a MC68HCS12DP256B micro using codewarrior v1.2. I am attempting to develop code so the firmware is field upgradable. Does anyone have any handy hints on where to find some good documentation or code example on how to go about this in cod


Programming HC12 with Codewarrior V1.2 using AN2153

Started by johnpititto1976 in 68HC1220 years ago 3 replies

Hi All, I am trying to build a serial bootloader into my exsisting application using codewarrior v1.2 on the HCS12DP256...

Hi All, I am trying to build a serial bootloader into my exsisting application using codewarrior v1.2 on the HCS12DP256 micro. I have imported the assembly files from the document AN2153 into my banked-project. I get the following error when i attempt to compile,


Using Serial Port with Codewarrior

Started by v_tumati in 68HC1220 years ago 1 reply

Hi, How do I read and write from the serial port with codewarrior C. Can I get some sample code. -Venkata ...

Hi, How do I read and write from the serial port with codewarrior C. Can I get some sample code. -Venkata


PC-LINT in Codewarrior

Started by Killingsworth, Steve in 68HC1221 years ago 1 reply

Does anyone have a configuration file available for use with PC-LINT and codewarrior for the HC12? Stephen Killingsworth ...

Does anyone have a configuration file available for use with PC-LINT and codewarrior for the HC12? Stephen Killingsworth President, Embedded XLence, Inc. Embedded Systems Engineering This e-mail and any files transmitted with it (? Message ?) are con


CodeWarrior Special Edition for S12X

Started by Michael Huslig in 68HC1219 years ago 2 replies

Does CodeWarrior Special Edition for the S12X have any limitations besides the amount of C code it will allow? (SE for the S12 had a limit...

Does CodeWarrior Special Edition for the S12X have any limitations besides the amount of C code it will allow? (SE for the S12 had a limit on the number of files in a project). Mike


Writing a Fuzzy controller with Codewarrior

Started by mortisgr in 68HC1218 years ago 4 replies

Hello all, I am trying to write a fuzzy controller in the 68HC912B32 EVB using codewarrior v3.1 .I would like to know if there is a C library...

Hello all, I am trying to write a fuzzy controller in the 68HC912B32 EVB using codewarrior v3.1 .I would like to know if there is a C library for that purpose. Of course a tutorial, personal experience,links to examples or anything that you think I could use would be greatly apppreciated. Thank you in Advance, Anastasios


Re: Link Error : L1401 Codewarrior HC12

Started by johnpititto1976 in 68HC1220 years ago 2 replies

Hi All, I have been attempting allow banked memory on my MCS12DP256 micro with codewarrior 1.2. I found the example Fibo - Flash...

Hi All, I have been attempting allow banked memory on my MCS12DP256 micro with codewarrior 1.2. I found the example Fibo - Flash Banked and followed the convention in the prm file and settings on the target with the compiler command line argument (-Mb). That all seems ok,


Newbie - Codewarrior and first LED-blink program

Started by sirtiffguy in 68HC1217 years ago

Hello everyone, I am just about at the end with my board. I'm just starting out with this chip, and I can't seem to get a simple...

Hello everyone, I am just about at the end with my board. I'm just starting out with this chip, and I can't seem to get a simple port-toggler to work using codewarrior. I have the bootloader, and DBug12 V3.0 installed (I got the bootloader on, then loaded DBug12 myself. All seems to work ok. My main.c code*************************************** #include /* common d


Programming 68hc12 in c Codewarrior IDE

Started by mortisgr in 68HC1218 years ago 1 reply

Hello everybody and thanks in advance for the help, I am now walking the C paths on 68hc12, i use Codewarrior version 4.2.5.766 in...

Hello everybody and thanks in advance for the help, I am now walking the C paths on 68hc12, i use Codewarrior version 4.2.5.766 in windows XP pro. I try to compile a simple program and produce a .s19 file out of it(I am giving the code at the end) but... I do, new project->HC12 stationery->(target) simulation c generic. I load my code press ma


Advice me:C source code examples for HCS12

Started by in 68HC1221 years ago 1 reply

Hi, I'm using an EVB912DP256 with codewarrior and ICD12 target interface (P&E MULTILINK) with codewarrior for HC and HCS12. ...

Hi, I'm using an EVB912DP256 with codewarrior and ICD12 target interface (P&E MULTILINK) with codewarrior for HC and HCS12. Being new to this I was hoping that there would be more C source codeexamples in the package. I would like examples of useful things like


Codewarrior HC12 V1.2 and USB Multilink ML-12 Rev C.

Started by "Guillermo F. Molina" in 68HC1217 years ago 2 replies

Hi all, Did anyone know if it is any chance to use the Hiwave debugger of the (old!) Codewarrior V1.2 with the new USB Multilink (ML-12 Rev....

Hi all, Did anyone know if it is any chance to use the Hiwave debugger of the (old!) Codewarrior V1.2 with the new USB Multilink (ML-12 Rev. C )? Thanks in advance. Best regards, G.Molina


pragma directives on Codewarrior

Started by cmth2004 in 68HC1220 years ago 12 replies

Hi Basically, I am exploring the possibility of using pragma directives to regulate compile-time warning messages. The...

Hi Basically, I am exploring the possibility of using pragma directives to regulate compile-time warning messages. The Codewarrior C-compiler reference manual clearly lists several pragma directives which would allow me to do this. However, most of these prag


CodeWarrior - _Checksum_CheckAreaCRC32 - What Checksum method is

Started by codewarr2000 in 68HC1219 years ago 1 reply

CodeWarrior - _Checksum_CheckAreaCRC32 - What Checksum method is this? What types of errors does it uncover/check for? ...

CodeWarrior - _Checksum_CheckAreaCRC32 - What Checksum method is this? What types of errors does it uncover/check for? Thanks in advance.


Allowing Banked Memory HCS12DP256 in Codewarrior

Started by johnpititto1976 in 68HC1221 years ago 1 reply

Hi All, I have been attempting allow banked memory on my MCS12DP256 micro with codewarrior 1.2. I found the example Fibo -...

Hi All, I have been attempting allow banked memory on my MCS12DP256 micro with codewarrior 1.2. I found the example Fibo - Flash Banked and followed the convention in the prm file and settings on the target with the compiler command line argument (-Mb). That all seems ok,


EEPROM write simulation with Codewarrior

Started by in 68HC1221 years ago 2 replies

Hello, Is it possible to simulate EEPROM writing with the simulator in Metrowerks Codewarrior V2.0 (special edition)? ...

Hello, Is it possible to simulate EEPROM writing with the simulator in Metrowerks Codewarrior V2.0 (special edition)? I use code generated by processor expert to write the EEPROM and when the function WriteSector() checks the CBEIF flag in ESTAT the memo


CodeWarrior Code Placement Help

Started by Tim Raabe in 68HC1220 years ago 3 replies

It looks like I'm not quite understanding how the .prm files work exactly with CodeWarrior. I get the following error now(when I...

It looks like I'm not quite understanding how the .prm files work exactly with CodeWarrior. I get the following error now(when I add in more code) Link Error : L1121: Out of allocation space at address 0xEF20 for .copy section My .prm file is at the end, I have change



The 2024 Embedded Online Conference