Forums Search for: CodeWarrior
Compilers on the MPC56xx? Recommendations, warnings?
inHi group, we are in the process of switching over to a Freescale MPC56xx in one of our products. Question is, which compiler is recommended by...
Hi group, we are in the process of switching over to a Freescale MPC56xx in one of our products. Question is, which compiler is recommended by those in the know of this platform? From a preference point of view, I would like to get away from the Freescale Codewarrior suite, mostly because I didn't like it in the 16-Bit world. If it is more professional (not so centered on casual programmer...
mobile processors
inHiya ... I'm looking for information on processor cores used in mobile/wireless devices ... a number of friends i have floated the idea...
Hiya ... I'm looking for information on processor cores used in mobile/wireless devices ... a number of friends i have floated the idea setting up shop and developing on them. Information such a players in market? IDE's? etc ... so far ARM and Codewarrior seem to have come up most, but i'm seeking more input ... Sorry for the huge scope of the question ... but thats kind of the point ...
Codewarrior for DSP56F8300 Demo Board
inAnyone else have trouble trying to get this to install properly? I install then reboot and instead of the desktop drawing, I get a blank desktop...
Anyone else have trouble trying to get this to install properly? I install then reboot and instead of the desktop drawing, I get a blank desktop and a dialog saying "Program Error. not enough space for environment". When I click on the Close button, nothing happens, so I reboot to safe mode and uninstall. Anyone else had this problem?
HCS12 microcontroller question
inHello, I just got a MC9S12NE64 microcontoller and a development board, and I've been trying to access my microcontroller through...
Hello, I just got a MC9S12NE64 microcontoller and a development board, and I've been trying to access my microcontroller through the hyperterminal on my computer but have been having a really hard time. I couldn't find any serial port driver files for this MCU, but had some for a MC9S12C32 which i tried to modify to use with my MCU... my code compiles on codewarrior and loads into my MCU but....
CodeWarrior & TBCLF:Incorrect Configuration Command
Hi, please,can i have your help? I'm trying to load some debuggable program in a M5213 Badge ev. board,mounting the MCF5213 processor.I 'm...
Hi, please,can i have your help? I'm trying to load some debuggable program in a M5213 Badge ev. board,mounting the MCF5213 processor.I 'm using an Univelop BDM board that looks correctly FW programmed and installed under XP. I tried to configure the CW settings correctly following indications in TBDML ColdFire Interface manual_v14. What happens is that i have an error when i press the "...
Getting started w/ Coldfire
inSo I'm considering moving over from writing assembly on the Freescale 68332 to writing C on the 5275 v2 Coldfire. I've got their M5272 dev kit in...
So I'm considering moving over from writing assembly on the Freescale 68332 to writing C on the 5275 v2 Coldfire. I've got their M5272 dev kit in hand, and have started poking around at it in a fairly non-specific way, and have run into a few questions that I figured I'd solicit some help on. A) So they gave me the limited trial version of CodeWarrior. Last time I did any development under Co...
Motorola DSP memory troubles
inHello In my code I have the following statement memcpy( dest, src, size ); dest and src are UWord16*. When I run the program with...
Hello In my code I have the following statement memcpy( dest, src, size ); dest and src are UWord16*. When I run the program with the codewarrior debugger, everything goes fine. When I run without debugger, the memcopy does not succeed. (I've seen it because I have some leds to debug) any experiences?? Regards Steven Cool
MISRA-C 2004 code checker
inHi, I need a tool to check C code MISRA-C 2004 compliance: as I need it for various embedded compiler (GNU-ARM, Freescale CodeWarrior and...
Hi, I need a tool to check C code MISRA-C 2004 compliance: as I need it for various embedded compiler (GNU-ARM, Freescale CodeWarrior and AVRStudio), I thought about an external code checker (like PC-Lint for example). What can I use? Thank you
How to measure code execution time...?
inI have a pretty elementary question (I'm an intern - it happens!). My boss asked me to run a timer to measure how long it takes to execute some...
I have a pretty elementary question (I'm an intern - it happens!). My boss asked me to run a timer to measure how long it takes to execute some code on a Motorola 32-bit Microcontroller. Is there a built in tool in Metrowerks Codewarrior that can accomplish this? Or is there a coding technique or tool that I must/can use? Any help would be greatly appreciated! Simp
Green Hills vs. Freescale CodeWarrior for ColdFire development
inHi folks. I'm planning on developing an application for the ColdFire that uses pretty cutting-edge C++ features (at least for the embedded...
Hi folks. I'm planning on developing an application for the ColdFire that uses pretty cutting-edge C++ features (at least for the embedded world), such as partial template specialization, Koenig lookup, heavy reliance on automatic template parameter deduction, etc., but nothing that's not contained in the C++03 spec, and certainly nothing that a contemporary desktop compiler (MS VC++ 2005 f...
MC9S12GC pwm problem
inHi to all. I'm new to this processor so I may be doing something dumb here , but I cant get the PWM output to go over 50Khz. I am working in...
Hi to all. I'm new to this processor so I may be doing something dumb here , but I cant get the PWM output to go over 50Khz. I am working in Codewarrior v5.5.1272. I have tried setting up the pwm using the "processor Bean" functions and doing the settings manually with the same results.The bean shows that I should be getting 5Mhz output , but I'm getting 50 KHz. I seem to be 100 times off...
Vary size of char from 1 to 2
inHi, I am using ARM Developer Suite by Codewarrior on Hynix processor with an ARM7 core. I want to configure size of few datatypes. e.g.: I...
Hi, I am using ARM Developer Suite by Codewarrior on Hynix processor with an ARM7 core. I want to configure size of few datatypes. e.g.: I want to configure the size of char as 2 or 4 accordingly. Is it possible using the complier features? I was unable to find anything in the complier menu. Kindly guide me through this. Regards RahulS
XP problem..only during debug! on CW10.5 and LPCXpresso??
inHi I ask your help for a problem relative to my PC and its OS,but inherent to embedded electronics,because the problem affects just the debug...
Hi I ask your help for a problem relative to my PC and its OS,but inherent to embedded electronics,because the problem affects just the debug operations After a registry clean ,maybe done too deeply,my XP pro works fine except during debug: i have the same strange behaviour with two different IDE's, CodeWarrior for MCU 10.5 and LPCXpresso,r. 5.xx,6.xx Despite the USB emulator Debugger ...
Reset Occurs After Keyboard Interrupt on Motorola HC08
inHi, I'm kind of new to programming MCUs but this must be something I missed when I was reading about them. I am programming a MC68HC098QY4...
Hi, I'm kind of new to programming MCUs but this must be something I missed when I was reading about them. I am programming a MC68HC098QY4 motorola processor with CodeWarrior and in C Language. Everything was going fine until I discovered that after my software sets off a keyboard interrupt, the chip resets itself. WHYYY??? Here's what I'm doing. from the start of the main function: -co...
KBSCR_MODEK triggering keyboard interrupt! (HC908QY4)
inHi, I'm writing my first ever MCU program using CodeWarrior and MC68HC908QY4 processor. When I go to set the KBSCR_MODEK = 1 so that...
Hi, I'm writing my first ever MCU program using CodeWarrior and MC68HC908QY4 processor. When I go to set the KBSCR_MODEK = 1 so that my keyboard interrupt is low-level and falling edge sensitive, it falsly triggers a keyboard interrupt. I've tried everything they said in the datasheets but still no luck. Anyone know what to do? Below is my code: #include /* for EnableInterru
RCHW for powerpc MPC5566
inHello Community, I am new to PowerPC and I have the Freescale MPC5566EVB with me for experimenting with MPC5566. I am using CodeWarrior with...
Hello Community, I am new to PowerPC and I have the Freescale MPC5566EVB with me for experimenting with MPC5566. I am using CodeWarrior with PENexus Micro debugger. My aim is to develop a code for FMPLL and store it in MPC internal SRAM. Then I want to boot the device from the internal SRAM. I have two questions regarding this. 1. What is the configuration of BOOTCFG for booting from 'interna...
MPC5566 boot code
inI am using Freescale MPC5566 Evaluation board with CodeWarrior 5.9.0. I am quite new to this board and I am trying to execute a code from the...
I am using Freescale MPC5566 Evaluation board with CodeWarrior 5.9.0. I am quite new to this board and I am trying to execute a code from the MPC internal Flash. I use P&E Micro for debugging purposes. I opened a new 5566 project from CW. It automatically generated all the configuration files. I did not change any of those. I only modified the main.c file by initializing a GPIO. I use the GPIO to...
filling remaining array elements with fixed value
inHi to all here Using Codewarrior,GNU i want to declare an array in program memory like this: const unsigned char...
Hi to all here Using Codewarrior,GNU i want to declare an array in program memory like this: const unsigned char my_array[8]={0xA,0xB,0xC,0xFF,0xFF,0xFF,0xFF,0xFF}; Is there any convenient way to do it if the array is 1024 elements wide? Many thanks Diego
gcc-toolchain for freescale's MC9S12X (68HCS12) ??
inHiya folks, as you might guess from the subject: I'm trying to find a toolchain for freescale's hcs12 or S12X family of microcontrollers....
Hiya folks, as you might guess from the subject: I'm trying to find a toolchain for freescale's hcs12 or S12X family of microcontrollers. Currently i'm using Codewarrior on the Windows machine at work, but as i'm a tad dissatisfied by it's lack of decent syntax-checking and have no windows at home, i'd rather use some free compiler available for my rather unusual platform (Linux on PowerPC...
Reading ADR register in Motorola HC08 processor
inHi, I am new to programming MCUs and am trying to program my MC68HC098QY4 using CodeWarrior. In my program I am incorporating the...
Hi, I am new to programming MCUs and am trying to program my MC68HC098QY4 using CodeWarrior. In my program I am incorporating the analog-digital convertor and I have a question regarding the nature of its output in the ADR register. Currently what I am doing is assigning the value of the ADR to an integer as such: int adrval; adrval = ADR; from the datasheets, I see that if the ...