Regarding file management

Started by swaroop in Freescale DSPs20 years ago 2 replies

hi I want to print all my outputs in a file, by opening a file in my C application. But this codewarrior is compiling...

hi I want to print all my outputs in a file, by opening a file in my C application. But this codewarrior is compiling successfully but unable to link . Iam getting linking errors like Link Error : Undefined : "Ffopen" Referenced from "Fmain" in


Floating sine link error

Started by Ko Ihara in Freescale DSPs17 years ago

I am programming my 56F805 using Metrowerks CodeWarrior. Apparently I have a problem linking with the floating point sine method in the math ...

I am programming my 56F805 using Metrowerks CodeWarrior. Apparently I have a problem linking with the floating point sine method in the math library. I have included the following libraries in the user module: #include #include #include #include #include


How do I allocate EX memmory in the flash target model.

Started by embeddeddes in Freescale DSPs19 years ago

I am presently developing a program for the DSP56F805EVM using Codewarrior 5.1 with the Motorola embedded SDK. The final project ...

I am presently developing a program for the DSP56F805EVM using Codewarrior 5.1 with the Motorola embedded SDK. The final project requires that the program be stored in internal flash memory. I am therefore using the FLASH target when sending my code to the EVM. My major concern right


RE: Re: RE: Help!About location of global variable using CodeWarrior[motoroladsp5

Started by Art Johnson in Freescale DSPs20 years ago

Here's how we do that sort of thing here (an example from one of our products, in the "linker.cmd" file): In the "MEMORY"...

Here's how we do that sort of thing here (an example from one of our products, in the "linker.cmd" file): In the "MEMORY" section: .xExtUartA (RW) : ORIGIN = 0x4000, LENGTH = 0x0008 .xExtReservedA (RW) : ORIGIN = 0x4008, LENGTH = 0x0FF8 .xExtUa


Coldfire MCF 5249 Memory stalls

Started by Anonymous in Freescale DSPs18 years ago

Hi I use Metroweks Codewarrior for 5249. I used the default memory configuration generated by the compiler. In that my code...

Hi I use Metroweks Codewarrior for 5249. I used the default memory configuration generated by the compiler. In that my code was positioned in SDRAM, which causes memory stalls for instructions. For eg: a MAC takes 8 cycles to execute. I tried positioning my code in SRAM, but


PWMA/SCI0 Conflict?

Started by eriley08 in Freescale DSPs17 years ago

Hello, I ran into an odd conflict with SCI0 and PWMA on the 56F805 and was wondering if anyone knew anything about why it happens or...

Hello, I ran into an odd conflict with SCI0 and PWMA on the 56F805 and was wondering if anyone knew anything about why it happens or what mistake I'm making? I'm using C (no assembler) in CodeWarrior, internal memory, 56F805 on a NewMicros IsoPod board. I set up SCI0 to be RS-232 9600 8N1 (there's a Maxim driver chip on the IsoPod


uCOS for dsp56807

Started by wicherba in Freescale DSPs15 years ago 2 replies

Hello, I am trying to make the uCOS-II (v. 2.76) work on the dsp56807 with use of CodeWarrior 7.0. PE does not provide any example of using...

Hello, I am trying to make the uCOS-II (v. 2.76) work on the dsp56807 with use of CodeWarrior 7.0. PE does not provide any example of using uCOS with this CPU so I have: - created a new project for dsp56807 - added the uCOS beam - added the uCOS files to the 'code' directory and to the project as 'user beams'. I also made some minor changes in them (changing to "" in #includes, oth...


The write command on Codewarrior

Started by josalfe2002 in Freescale DSPs20 years ago

Hi everyone... I need some help....I need to send the results of some operations via the serial port. This results is a vector of...

Hi everyone... I need some help....I need to send the results of some operations via the serial port. This results is a vector of 2048 elements, each one of them is a UWord16 type of data. Suppose a save the vector as V. When I use the "write" command: write(Ua


Data flash

Started by dibosco in Freescale DSPs20 years ago 1 reply

I have a few questions on data flash: 1. Is the "XMEMORY" dialogue box that comes up in Codewarrior when you select "Data |...

I have a few questions on data flash: 1. Is the "XMEMORY" dialogue box that comes up in Codewarrior when you select "Data | View Memory" showing what's in Data Flash from 0x2000 (for the 807)? I've got an 807EVM and Codearrior, btw. 2. Can anyone see


how to bootstrap my target board with a 56F83XX DSP

Started by lesl...@agilent.com in Freescale DSPs17 years ago 2 replies

I am trying to find a way of bootstrapping my target board. It has a Freescale DSP 56F8357 with no external memory. I am using Metrowerks...

I am trying to find a way of bootstrapping my target board. It has a Freescale DSP 56F8357 with no external memory. I am using Metrowerks Codewarrior development system for DSP 56F8300/E ver. 7.2. I need a way to program the flash on a DSP that has nothing programmed into its internal flash memory. Any help would be very much appreciated.


DSP56827 Codec

Started by James Ball in Freescale DSPs20 years ago 3 replies

I?m working on a project for school and have been giving a DSP56827. I?ve installed the Motorola SDK 2.41 and have tried to run the...

I?m working on a project for school and have been giving a DSP56827. I?ve installed the Motorola SDK 2.41 and have tried to run the Codec sample project that came with the SDK through CodeWarrior, but it will not work. I have probed all the data lines around the codec (clock, sync and data


JTAG Hardware Failure

Started by cmafatcontroller in Freescale DSPs19 years ago 2 replies

Has anybody had experience with apparent hardware failure localised to JTAG functions on 5680x's ? We had 3 NewMicros boards fail ...

Has anybody had experience with apparent hardware failure localised to JTAG functions on 5680x's ? We had 3 NewMicros boards fail yesterday, where symptom of failure is no connection to board from CodeWarrior, however at least 1 of the boards during the attempted connection/ download


Problems with DSP56F800DEMO

Started by mhier48 in Freescale DSPs19 years ago 1 reply

Hello!I am a new user to the DSP56F800DEMO board (and to DSP programming), and I have several "beginner problems":- Frequently when...

Hello!I am a new user to the DSP56F800DEMO board (and to DSP programming), and I have several "beginner problems":- Frequently when I try to run a program (with debugger enabled) from CodeWarrior, only the folloing message appears: Program "Flash.elf" is executing. Choo


Flash config v.s. ExtMem config (A little help please)

Started by glennkessler in Freescale DSPs21 years ago

Motorola DSP Help I am having some problems using the stationary (Codewarrior) for the 56826 Flash/ExtRam. I run my software and...

Motorola DSP Help I am having some problems using the stationary (Codewarrior) for the 56826 Flash/ExtRam. I run my software and it works great in ExtRam but will not run under Flash. I traced a big problem back to sprintf calls. Any time I try to call that it blows up. So if you can


DSP56F807 - DSPCOMMPARALLEL

Started by Lionel Degoutte in Freescale DSPs19 years ago 2 replies

Hello, We have The evaluation board DSP56F807 EVM-1 with codewarrior 5.2. We have bought the command converter DSPCOMMPARALLEL....

Hello, We have The evaluation board DSP56F807 EVM-1 with codewarrior 5.2. We have bought the command converter DSPCOMMPARALLEL. When I try to use it with the evaluation board, I have a message : "FLASH PROGRAMMING FAILED". On the evaluation board, I put a jumpe


CodeWarrior 4.2.6.867 reinstallation problem

Started by Venkataraman.S in Freescale DSPs20 years ago 2 replies

Hai all, I have just reinstalled Code Warrior above mentioned version in C drive after removal of partition of C drive.Earlier...

Hai all, I have just reinstalled Code Warrior above mentioned version in C drive after removal of partition of C drive.Earlier the tool was installed in the same hard disk but in D drive(Another partition.) I have copied the license key from the earlier license.dat file (Previ


Strange 56F807 SPI Control Register (SPSCR) Behavior

Started by Litinas, Terry in Freescale DSPs19 years ago

Hi All, I am working with the 56F807, CodeWarrior 5.1.1, and SDK 3.0 and have noticed that when writing to the COPCTL register...

Hi All, I am working with the 56F807, CodeWarrior 5.1.1, and SDK 3.0 and have noticed that when writing to the COPCTL register (address $1330), the data in the SPSCR (address $1320) changes. I am monitoring the registers in a memory window (Swap Endian option set) as I step th


Strange boundary (?) problem with code size...

Started by Rikard Ljungkvist in Freescale DSPs17 years ago

Hi! I am working with the 56F8356 CPU and Metrowerks Codewarrior, including the PE. I have updated to the latest version recently. To my...

Hi! I am working with the 56F8356 CPU and Metrowerks Codewarrior, including the PE. I have updated to the latest version recently. To my problem:=20 When I get a program to load into the internal program FLASH that is bigger than 32k the program stops working! I still have plenty of FLASH memory left since this is a 128k device. Sigh. I have narrowed the problem down to this by lookin...


calculation errors ?

Started by Christian in Freescale DSPs17 years ago 1 reply

Hello everyone I am working with CodeWarrior 5.0.5 for DSP56800 and I experience strange calculation errors : 1. I can't use the...

Hello everyone I am working with CodeWarrior 5.0.5 for DSP56800 and I experience strange calculation errors : 1. I can't use the float library. Most of the time it works perfectly, but once in a while I get strange calculation errors. 2. I tried to use integers only, but I get a very similar behaviour. Works most of the time, but once in a


Disabling Console window

Started by Hardeep in Freescale DSPs17 years ago

Hi, I am using Codewarrior 56800E (hybrid controllers) v7.2. I would like to output data from a printf to the serial port instead of the...

Hi, I am using Codewarrior 56800E (hybrid controllers) v7.2. I would like to output data from a printf to the serial port instead of the default setting of a console window. How do I disable printing to the console and enable printing to the serial port? Thank you. Hardeep