struct alignment in 56800E

Started by wich...@op.pl in Freescale DSPs15 years ago

I use 56f8366(56800E core). According to a manual for CodeWarrior for 56800E (Targeting_56800E, p. 125 and 126) structures are word aligned (or...

I use 56f8366(56800E core). According to a manual for CodeWarrior for 56800E (Targeting_56800E, p. 125 and 126) structures are word aligned (or double word, if they contain any double word variables). Shouldn't that also mean that data inside the strucutres are word (dword) aligned? What I observed is (see comments): struct booStruct{ int dummyInt; char singleChar; char charArray...


Using flash program memory for non-volatile storage in 56/F800E family

Started by rodr...@yahoo.com.br in Freescale DSPs15 years ago 1 reply

Hi all, If possible, I would like to get some help with the following issue: I'm using the DEMO56F8014 EVM board, which is shipped with an...

Hi all, If possible, I would like to get some help with the following issue: I'm using the DEMO56F8014 EVM board, which is shipped with an 56F8014 DSC, CodeWarrior 5.6 and Processor Expert 2.96 for 56/F800E family. With this configuration, I need do use a given amount of the flash program memory as a non-volatile memory storage, to emulate EEPROM features. In my case, this non-volatile memo...


codewarrior 5 patches

Started by Santi Corera in Freescale DSPs20 years ago 1 reply

Is it necessary to install the 5.0.1 patch before the 5.0.2 ?. I don?t dind the first one in the metrowerks site. Thanks....

Is it necessary to install the 5.0.1 patch before the 5.0.2 ?. I don?t dind the first one in the metrowerks site. Thanks.


Codewarrior, C and data types

Started by mfilippa77 in Freescale DSPs17 years ago

Hello, I mostly use integers in my apps with a DSP56F801. Today I realized that all my "char" types are the same as all my "int" types....

Hello, I mostly use integers in my apps with a DSP56F801. Today I realized that all my "char" types are the same as all my "int" types. I checked the Targetting manual and it says that basically there are two possible sizes: 16bit: bool, char, short int, int (unsigned or signed) 32bit: long int (unsigned or signed)


Using FRAC16

Started by Oscar Jaramillo in Freescale DSPs19 years ago 1 reply

Greetings.   I need your help understanding the use of FRAC16 format in the C CodeWarrior programation.   When I...

Greetings.   I need your help understanding the use of FRAC16 format in the C CodeWarrior programation.   When I have a quantity, for example, 15 how I transform this number to FRAC16 format?   I make this this quest


The FFT on a Motorola DSP56824EVM Parallel port board

Started by josalfe2002 in Freescale DSPs21 years ago

Hi everyone. I found all the FFT code I need, but I have some question: I'm working with Codewarrior for Motorola DSP, and I...

Hi everyone. I found all the FFT code I need, but I have some question: I'm working with Codewarrior for Motorola DSP, and I found the FFT code on the Motorola SDK....is there any problem if I use this code on my DSP56824EVM board???....cause I try to run the code i found on


Freescale Technology Forum

Started by Louis Loving in Freescale DSPs18 years ago 1 reply

Freescale Technology Forum Ok, I am going the Freescale Technology Forum, June 20-23.  I have been working with Codewarrior and...

Freescale Technology Forum Ok, I am going the Freescale Technology Forum, June 20-23.  I have been working with Codewarrior and Freescale's DSP56858 for almost 2 years now.  The company that I work for developed a wireless sideline communication system


CodeWarrior for DSP56xxx: Accessing internal registers and port pins

Started by Thomas Jude in Freescale DSPs14 years ago

I am using MC56F8013. I am very familar C30 complier of Microchip MPLAB. In C30 we can access any register with simple keywords. When we include...

I am using MC56F8013. I am very familar C30 complier of Microchip MPLAB. In C30 we can access any register with simple keywords. When we include the appropriate header file we can access any registers. For example ADCON1 register can be accessed with: ADCON1 = 0x1234; value = ADCON1; And any port pin can be accessed like this: _LATC13 = 1; will make port bit 13 of port C. We c...


Flash External Devices over JTAG?

Started by Louis Loving in Freescale DSPs19 years ago

Flash External Devices over JTAG? Is it possible to Flash the Atmel Dataflash Device on the DSP56858 EVM over the JTAG...

Flash External Devices over JTAG? Is it possible to Flash the Atmel Dataflash Device on the DSP56858 EVM over the JTAG port without using CodeWarrior?  I see that Motorola


Motor Control

Started by Oscar Javier Tadeo Jaramillo G in Freescale DSPs19 years ago 1 reply

Greetings.   I am reading motorola's documentation about motor control and these documents make refence to "motor control...

Greetings.   I am reading motorola's documentation about motor control and these documents make refence to "motor control function library" (mcfcn.h) but but I cannot find this library in my CodeWarrior.   Somebody has this library or can say to me wher


Processor Expert.

Started by Jason Keddie in Freescale DSPs19 years ago 1 reply

Processor Expert. Hello, Does anyone have any example code using Processor Expert with Codewarrior v6.1 that is...

Processor Expert. Hello, Does anyone have any example code using Processor Expert with Codewarrior v6.1 that is capable of being seri


CCS: Cable disconneted, codewarrior and dsp56858evm

Started by craxy_m in Freescale DSPs16 years ago 1 reply

We have been trying to connect the dsp56858evm to the computer using codewarrioir via a parallel port cable. We are continuously receiving...

We have been trying to connect the dsp56858evm to the computer using codewarrioir via a parallel port cable. We are continuously receiving the following error: CCS: Cable disconneted. We tried configuring the CCS to 0x378 instead of lpt1 as advised by someone, but that resulted in another error: CCS: Uknown protocol CCS: Invalid parameter The parallel port of the computer i...


Codewarrior 5.0.5 bug ?

Started by Santi Corera in Freescale DSPs19 years ago 3 replies

// please, look this simple code, I have extracted and simplified it from a large proyect: short t; short...

// please, look this simple code, I have extracted and simplified it from a large proyect: short t; short *ptr1;   void Init(short t


External Memory

Started by Marb in Freescale DSPs19 years ago 3 replies

  Hello!!   Please i need help. I'm working with CodeWarrior and SDK for motorola 56F805

  Hello!!   Please i need help. I'm working with CodeWarrior and SDK for motorola 56F805