DSPRelated.com
Forums

DSP56807: Info->P-Flash ->Erasing Page 0 from 0x0000-0x0100 in P-Flash

Started by Christian Brauchli October 8, 2002
just for your information about flashprogramming:

while programming a new bootloader-software to program the p-flash and
x-flash using a dedicated Dual-Ported-Interface we figured out that, if you
want to erase the first page in P-Flash you have to program it like
descriped in the users-manual chapter 5.11.3 but if you write a value at an
address between 0x0000...0x0003 to initiate the erase process it will not
start the erase process. You have to write a value above the address 0x0003
and then it will start the erase process. rgds Chris Brauchli
www.brauchli-netsolution.ch



Yes, this is because the addresses 0x0000-0x0003 inclusive are NOT located in
P-Flash, they are "mirrored" or "shadowed" from the first 4 locations in Boot
Flash (0xF800-0xF803 for the 807 chip in Mode 0A). This is shown in Table 3-2
"Program Memory Map for DSP56F801/803/805/807" in the latest DSP56F80x User's
Manual. It is also shown in the "linker.cmd" file for the Flash target, the
example below is from a Flash target for the 807 chip: FORCE_ACTIVE {FhardwareAndWatchdogResetVector}
FORCE_ACTIVE {FconfigInterruptVector}

SECTIONS {

#*******************************************************************************
.HardwareAndWatchdogResetVector :
{
# Vectors for Reset and One must be mapped to Boot Flash to be
programmed
# correctly since this area is shadowed between 0x0000-0x0003 and
# 0xF800-0xF803 in the 807 chip
vectorreset.c (.text)

} > .pBootFlash

.ApplicationInterruptVector :
{
vector.c (.text)

} > .pInterruptVector
#******************************************************************************* Regards,

Art Johnson
Senior Systems Analyst
PMC Prime Mover Controls Inc.
3600 Gilmore Way
Burnaby, B.C., Canada
V5G 4R8
Phone: 604 433-4644
FAX: 604 433-5570
Email:
http://www.pmc-controls.com

-----Original Message-----
From: Christian Brauchli [mailto:]
Sent: Tuesday, October 08, 2002 2:36 AM
To:
Subject: [motoroladsp] DSP56807: Info->P-Flash ->Erasing Page 0 from
0x0000-0x0100 in P-Flash just for your information about flashprogramming:

while programming a new bootloader-software to program the p-flash and
x-flash using a dedicated Dual-Ported-Interface we figured out that, if you
want to erase the first page in P-Flash you have to program it like
descriped in the users-manual chapter 5.11.3 but if you write a value at an
address between 0x0000...0x0003 to initiate the erase process it will not
start the erase process. You have to write a value above the address 0x0003
and then it will start the erase process. rgds Chris Brauchli
www.brauchli-netsolution.ch

_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this
message will receive your answer. You need to do a "reply all" if you want your
answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/