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

Discussion Groups

Discussion Groups | Freescale DSPs | Mass Erasing P-Flash

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

  

Post a new Thread

Mass Erasing P-Flash - embeddedflorida - Oct 21 1:37:00 2003



We have a software download requirement and we have modified the
standard boot loader for this purpose.

We are given 2 seconds to erase our flash and prepare for
downloading.

The downloading process is continuous after that with no delays, the
full rate of the UART, 38K in this case.

So we have no chance to erase during the download process, only
during the 2 seconds prior.

I have seen in previous messages that the "mass erase" is dangerous
because it erases the boot vectors. I have also seen messages that
indicate that the boot vectors are not actually in P flash.

Since page erases take 40 ms, * 128 pages (DSP56F826) = 5.12
seconds, far outside my 2 second requirement.

May I safely use mass erase?
Does anyone have an example for coding the "mass erase"?

Thanks in advance for any assistance.





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

RE: Mass Erasing P-Flash - Hutchings William-p23437 - Oct 24 16:32:00 2003

You can use the mass erase on the 80x and 826. The mass erase is done on a flash block basis. The program flash and the boot flash are two different blocks. The reset and COP timeout vectors are actually in the boot flash block and are mapped by the parts into the prgram flash area. The 827 is some what different in that does not have a boot flash, but instead has two separate blocks of program flash. With the 827 you can perform the same operation if you run the boot loader from program RAM. Thanks.
 
- Bill
-----Original Message-----
From: embeddedflorida [mailto:R...@remec.com]
Sent: Monday, October 20, 2003 6:37 PM
To: m...@yahoogroups.com
Subject: [motoroladsp] Mass Erasing P-Flash

We have a software download requirement and we have modified the
standard boot loader for this purpose.

We are given 2 seconds to erase our flash and prepare for
downloading.

The downloading process is continuous after that with no delays, the
full rate of the UART, 38K in this case.

So we have no chance to erase during the download process, only
during the 2 seconds prior.

I have seen in previous messages that the "mass erase" is dangerous
because it erases the boot vectors. I have also seen messages that
indicate that the boot vectors are not actually in P flash.

Since page erases take 40 ms, * 128 pages (DSP56F826) = 5.12
seconds, far outside my 2 second requirement.

May I safely use mass erase?
Does anyone have an example for coding the "mass erase"?

Thanks in advance for any assistance.



_____________________________________
/groups.php3


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




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