Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

Flash memory - karine michalet - Jul 11 14:25:00 2002

I send you my project (memoire test). I want to write in P.Flash memory my
interrupt table (in test.asm) by creating my own section "section erwan". I want
to use the DSP56800 Stationary project with Flash 56807 set up.
The problem is none of my interrupt table is written in the memory as it
specified in a linker :

.irq (RWX) : ORIGIN = 0x0010, LENGTH = 0x0070

.irq_application :
{
* (erwan.text)

} > .irq

The question is why my code is not written in my memory ??

******** F'SATIE disclaimer ********
This message may contain privileged and confidential information intended only
for the use of the addressee named above.
If you are not the intended recipient of this message, you are hereby notified
that you must not disseminate, copy or take any action in reliance on it.
If you have received this message in error, please notify F'SATIE at
.

Any views expressed in this message are those of the individual sender, except
when the sender specifically states them to be the view of F'SATIE.


Attachment (not stored)
memoire test.zip
Type: application/x-zip-compressed


______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

Re: Flash memory - MW Ron - Jul 12 15:37:00 2002

Karine

> The question is why my code is not written in my memory ??

We believe the problem is the fact that your linker command file references
the MEMORY segment as (RWX) instead of (RX).....since flash is read only.

Therefore, alter your linker command file to look as follows:
==============================================================
MEMORY {

.irq (RX) : ORIGIN = 0x0010, LENGTH = 0x0070 # (RX instead of RWX)
.text (RX) : ORIGIN = 0x0080, LENGTH = 0x00000000 # (RX instead of RWX)
.Ramdata (RW) : ORIGIN = 0x0000, LENGTH = 0x00000FFF
.FLASHdata (RW) : ORIGIN = 0x2000, LENGTH = 0x00001FFF
}

SECTIONS {

.irq_application :
{
* (erwan.text)

} > .irq Metrowerks Support via Ron Liechty

--
Free Programming Courses at CodeWarrior U
<http://www.codewarrioru.com>
Now Including Palm OS Programming & PowerPlant Courses

Metrowerks, maker of CodeWarrior - "Software Starts Here"
Ron Liechty - - http://www.metrowerks.com


______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )