EmbeddedRelated.com
The 2024 Embedded Online Conference

Help on Codewarrior debugger cmd files

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


Codewarrior & Debugger problem (HCS12X) please help

Started by Nobs in 68HC1218 years ago 1 reply

Hi All, I am using HCS12XDP512 controller and I have 2 problems with codewarrior Hiwave debugger environment. I am using P&E USB Multilink...

Hi All, I am using HCS12XDP512 controller and I have 2 problems with codewarrior Hiwave debugger environment. I am using P&E USB Multilink debugger. 1. We have 2 .ABS files (bootloader.abs and application.abs). When loading bootloader.abs I want to erase the memory. How can I load both .abs files at a time? Is there any configuration options for this? 2. I am building in one ma


9S12DP256 codewarrior uCOS-II banked flash

Started by donpichol in 68HC1220 years ago 1 reply

Hi, At the moment, i got a uCOS-II-based-application running in "Flash Application" target (Codewarrior). I want to run it in...

Hi, At the moment, i got a uCOS-II-based-application running in "Flash Application" target (Codewarrior). I want to run it in "Banked Flash" mode. As you can think, some problems occur with assembly routines. After a while reading datasheets i reso


Codewarrior - IEEE32, float, double and sprintf()

Started by codewarr2000 in 68HC1219 years ago 2 replies

I require a floating point number with at least 12 decimal places. Using Codewarrior HCS12, I turn on -Cf for IEEE32 doubles. I am using...

I require a floating point number with at least 12 decimal places. Using Codewarrior HCS12, I turn on -Cf for IEEE32 doubles. I am using Banked memory model. sprintf(&buffer[0],"blahblah",blah) does not display correctly any floats, ints, doubles when used through TERM_WriteString(buffer); Is it just sprintf() and the internal data is ok, or is the data bad? Is there some


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


9S12 project to 9S12X

Started by toto261 in 68HC1216 years ago 8 replies

Hi, I would like to migrate a project written for 9S12A to a 9S12XA using Freescale Codewarrior 4.6. Is there any possibility to make it...

Hi, I would like to migrate a project written for 9S12A to a 9S12XA using Freescale Codewarrior 4.6. Is there any possibility to make it easily ? (excepting some parameters due to clock....) Thanks. -- ------------------------------------


A little help

Started by the_oog6789 in 68HC1219 years ago 4 replies

I have just been given a Adapt9S12E128 for a project and I'm having trouble getting started. It came in a box with CodeWarrior...

I have just been given a Adapt9S12E128 for a project and I'm having trouble getting started. It came in a box with CodeWarrior CW12 V3.0 and a cd with software(ubug12, demo apps) and datasheets. Following the steps provided on the CD I have not been able to load any of the


how to make delay with C

Started by eng_ahmed_m_abdelgayed in 68HC1219 years ago 2 replies

I use codewarrior 3.1 and i want to know how to make delay on controller with C. and another question please how to use trigonometric...

I use codewarrior 3.1 and i want to know how to make delay on controller with C. and another question please how to use trigonometric functions including the required header files. thanks in advance!


MC9S08GB60 I2C and PCF8583 Real time clock

Started by JNB in 68HC1217 years ago 3 replies

Hello I try to use C+ that is new for me, and Codewarrior. Running in circle since a couple of weeks with this simple clock,...

Hello I try to use C+ that is new for me, and Codewarrior. Running in circle since a couple of weeks with this simple clock, did somebody got experiences and softwares that can manage IIC?. (with or with out IT managment (I try both), I just need simple as possible, as RCT seems to be) Many thanks in advance.


Arrays permitted in CodeWarrior for HC12?

Started by Andres Rosado in 68HC1221 years ago 12 replies

Hello, I'm trying to compile some code with uses an array as the output of a function. It's constantly saying that it expects...

Hello, I'm trying to compile some code with uses an array as the output of a function. It's constantly saying that it expects a modifiable lvalue. What can be the problem? I'm running out of ideas (and time). Thank you very much for your help! Andres Rosa


CWX-HXX-SE

Started by Peter Freyer in 68HC1218 years ago 3 replies

Hi, please tell me, where I can download the free CodeWarrior Development Studio for HCS12(X) v4.5, Special Edition Part #...

Hi, please tell me, where I can download the free CodeWarrior Development Studio for HCS12(X) v4.5, Special Edition Part # CWX-HXX-SE Peter Freyer


How to detect Stack Overflow

Started by apedroso11 in 68HC1218 years ago 6 replies

Hi all, Is there any way to detect a Stack Overflow while debuggin with codewarrior 3.1 on a HCS12 DP256? (other than expending a lot of...

Hi all, Is there any way to detect a Stack Overflow while debuggin with codewarrior 3.1 on a HCS12 DP256? (other than expending a lot of time searching where some of your RAM variables have been overwritten) thanks


looking for example in C for MC9S12DG256B for RS232

Started by uripeled2000 in 68HC1221 years ago 2 replies

Hi I am looking for an example in C language under codewarrior for using the RS232 for the MC9S12DG256B Thank you Uri Peled...

Hi I am looking for an example in C language under codewarrior for using the RS232 for the MC9S12DG256B Thank you Uri Peled My Email


Securing HCS12 with Codewarrior

Started by johnpititto1976 in 68HC1220 years ago 3 replies

Hi All, I am attempting to secure the microcontroller and thus prevent it from being accessed via the BDM. I have two...

Hi All, I am attempting to secure the microcontroller and thus prevent it from being accessed via the BDM. I have two reference documents that were recommended by motorolla, being AN2400.pdf and S12FTS256KV2.pdf. I have figured out that I have to change the security


Codewarrior size limit

Started by Darren in 68HC1220 years ago 9 replies

Hi All, Is there a way to know how large the C code file size is, that the licence limit works from ? Darren Moore ...

Hi All, Is there a way to know how large the C code file size is, that the licence limit works from ? Darren Moore


Flash programming MC9S08

Started by kris73kris in 68HC1219 years ago

Hi, I using MC9S08GT60. Where is error? Kris. linker.prm ///////////////////////////////////////////////////////////////////...

Hi, I using MC9S08GT60. Where is error? Kris. linker.prm /////////////////////////////////////////////////////////////////// /* This is a linker parameter file for the GT60 */ NAMES END /* CodeWarrior will pass all the needed files to the linker by command line. But here you may add your own files too. */ SEGMEN


CodeWarrior Startup Initialization with BDM

Started by eric_cina in 68HC1219 years ago 10 replies

Hi, I'm trying to figure out how to initialize a register (MODE located at 0x0B) when I load my code through the debugger. In other...

Hi, I'm trying to figure out how to initialize a register (MODE located at 0x0B) when I load my code through the debugger. In other words I need to set this register but I do not want to change my code to do it. How can I do this? Do I need to use startup.cmd? If so, what are the commands to do it? Thanks in advance. Eric


Setting up interrupts

Started by Leighton Rowe in 68HC1219 years ago 1 reply

Hey All, I basically just started learning to program the mc9s12 family (with Codewarrior). Luckily, I have an idea how to config...

Hey All, I basically just started learning to program the mc9s12 family (with Codewarrior). Luckily, I have an idea how to config the peripherals because I previously worked extensively with ARM7 mcus (like lpc2000). However I need a little help with setting up interrupts, as I'm not yet used to the 9s12 interrupt vector mapping system...it's ne



The 2024 Embedded Online Conference