pragma directives on Codewarrior

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


Migrating to CodeWarrior Rel 3.1

Started by Robert L. Harris in 68HC1213 years ago 1 reply

Way back when CodeWarrior Rel 3 was released, there was information here on a release note or documentation that contained...

Way back when CodeWarrior Rel 3 was released, there was information here on a release note or documentation that contained instructions on changes necessary to move existing projects and source code to the new release. Now that I have taken the plunge, I can't find that information


Any one down for some fancy S12 flash dancing?

Started by johnpititto1976 in 68HC1214 years ago 2 replies

Hi Ladies and Gents, I am working on the MC68HCS12DP256 micro developing in Codewarrior. I getting the message n codewarrior,...

Hi Ladies and Gents, I am working on the MC68HCS12DP256 micro developing in Codewarrior. I getting the message n codewarrior, "L1102: Out of allocation space in segment FLASH_PAGEC000 at address 0xFE75". I am guessing that i have ran out of flash is there any way


CodeWarrior - _Checksum_CheckAreaCRC32 - What Checksum method is

Started by codewarr2000 in 68HC1213 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 68HC1214 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,


timer interrupt - abs_address ; abs_address

Started by koby_bens in 68HC1214 years ago

hi everyone! i am trying to make timer interrupt i found example which include abs_address interrupt_handler but but the compiler...

hi everyone! i am trying to make timer interrupt i found example which include abs_address interrupt_handler but but the compiler canwt handle them (c4201 pragmaabs_address was not handled,i am using metrowerks codewarrior), i need to see an example that work on codewarrior


Codewarrior Flash Problems

Started by mattlind7 in 68HC1210 years ago

Hello. I'm very very new to codewarrior and the HCS12X uProcessor. I have two object files (.abs's) that I'm trying to flash on my chip. ...

Hello. I'm very very new to codewarrior and the HCS12X uProcessor. I have two object files (.abs's) that I'm trying to flash on my chip. The 2 distinct programs each occupy diffrent places in memory, so conflicts shouldn't arise. I'm able to erase flash either program 1 or program 2...no problem there. But when I go to flash the controller with the 2nd program, after I open up the l...


EEPROM write simulation with Codewarrior

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


any one working on metrowerks codewarrior(please help me)

Started by shailu kallappa in 68HC1212 years ago 1 reply

hi this is shailaja, i hv some problem in codewarrior compiler if any one working on this please solve if any one working plz inform me...

hi this is shailaja, i hv some problem in codewarrior compiler if any one working on this please solve if any one working plz inform me so that i can contact u or give ur contact no so that i can contact u please,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, shailaja --------------------------------- Yahoo! India Matrimony: Find your par


CodeWarrior Code Placement Help

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


CodeWarrior type cast objptr->funcptr

Started by Karsten Obenaus in 68HC1215 years ago 2 replies

We're using the Metrowerks Codewarrior for HC12 IDE and have encountered a problem with the compiler and type casting from an object...

We're using the Metrowerks Codewarrior for HC12 IDE and have encountered a problem with the compiler and type casting from an object pointer to a function pointer. Any help would be greatly appreciated. We'd like to use the HCS12 SGF NVM Standard Software Driver in our current


CodeWarrior Assembler (structures)

Started by Michael Huslig in 68HC1213 years ago 2 replies

Hi all, The special edition version of the CodeWarrior assembler has STRUCT/ENDSTRUCT directives. One can define a...

Hi all, The special edition version of the CodeWarrior assembler has STRUCT/ENDSTRUCT directives. One can define a structure: dataStruct: STRUCT var1: ds.b 1 var2: ds.w 1 ENDSTRUCT To create an instance of a structure:


Start12.c - Init procedure not functioning - Codewarrior v1.2

Started by johnpititto1976 in 68HC1214 years ago 1 reply

Hi All, I have been working on a bootloader for MCs12DP256 in the codewarrior IDE v1.2. I had the whole thing working then for...

Hi All, I have been working on a bootloader for MCs12DP256 in the codewarrior IDE v1.2. I had the whole thing working then for some reason the function Init() in Start12.c has stopped operating. This has made the sartup routines go into a continuous loop preventing the func


Codewarrior - Link Error L1119: Vector allocated at absolute adress...

Started by johnpititto1976 in 68HC1214 years ago 3 replies

Hi All, I developing some field upgradable software using codewarrior v1.2. I have defined the vectors in the prm file as; ...

Hi All, I developing some field upgradable software using codewarrior v1.2. I have defined the vectors in the prm file as; INIT BootStart //First routine that is called VECTOR 2 _Startup VECTOR 7 RTI_Service VECTOR 6 IRQ_Service VECTOR 20 SCI0_Serv


Codewarrior & flash data problem

Started by Jordi Costa in 68HC1215 years ago 2 replies

I sent this question days ago and I don't receive any answer. Now I will try to explain the problem better. I'm new in HCS12...

I sent this question days ago and I don't receive any answer. Now I will try to explain the problem better. I'm new in HCS12 programming and after successful tests with Codewarrior Processor Expert using SPI, SCI, timers, etc., now I'm trying to store some data in flash. I thought that C


Dual Core Athlon CodeWarrior Debug problems

Started by David Simpson in 68HC1212 years ago 2 replies

Hi, I have updated to a new dual core AMD64X2 system, XP-Pro SP2, and am having great trouble with the hiwave debugger with CodeWarrior...

Hi, I have updated to a new dual core AMD64X2 system, XP-Pro SP2, and am having great trouble with the hiwave debugger with CodeWarrior 3.1 debugging a 68HCS12E128. I have applied all the updates (including the 2.0 USB update), but the debugger stops randomly, times out, and complains it can program sections of the flash. The errors are not cons


Codewarrior 3 and C++

Started by Daniel Lundin in 68HC1214 years ago 7 replies

Two questions: First: Will Codewarrior 3 for HCS12 support full ANSI C++ ? I'm using 1.2, and it didn't support the full...

Two questions: First: Will Codewarrior 3 for HCS12 support full ANSI C++ ? I'm using 1.2, and it didn't support the full standard, even though Metrowerks said it had "Full ANSI C++ draft". After testing the compiler and reading some help files, it appears th


how to avoid erasing eeprom with Codewarrior 3

Started by ra in 68HC1214 years ago 2 replies

Hello Has anyone figured out how to avoid having Codewarrior 3 erase the eeprom every time one flashes the code with the ICD-12...

Hello Has anyone figured out how to avoid having Codewarrior 3 erase the eeprom every time one flashes the code with the ICD-12 target module? With version 2, one could achieve this by editing "P&E_ICD_erase_unsecure_hcs12.cmd", but with version 3 there is a new mech


Sample code in C using codewarrior for I2C Driver MC9S12DP256

Started by dafnapeld in 68HC1213 years ago 2 replies

Hi Please anyone can show me a sample code in C using Codewarrior for reading and writing using I2C interface for MC9S12DP256...

Hi Please anyone can show me a sample code in C using Codewarrior for reading and writing using I2C interface for MC9S12DP256 Micro Thank you Uri


Error in c program / Dragon 12 plus /68hcs12

Started by narendra pipaliya in 68HC128 years ago 1 reply

Hello, I am doing my graduate project using Dragon 12 Plus kit. I have written C Progrm in codewarrior for my project. I got error like...

Hello, I am doing my graduate project using Dragon 12 Plus kit. I have written C Progrm in codewarrior for my project. I got error like TMSK1 is not declared. should I need to use any header file for staus register? It would most if anybody explain how to load program into 68hcs12 microcontroller with codewarrior? Thanking you, Narendra ------------------------------------ ...