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

Discussion Groups | Freescale DSPs | DSP56F807 application write to FLASH

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

  

Post a new Thread

DSP56F807 application write to FLASH - Bill Schintler - Nov 18 4:48:00 2003

How does an application, which resides in FLASH, write non-volatile
data to data (or program) FLASH? Is this even possible?

I am developing under CW 5.1.

Thanks in advance - Bill Schintler



______________________________
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: DSP56F807 application write to FLASH - Johnson, Jerry - Nov 18 17:19:00 2003

RE: [motoroladsp] DSP56F807 application write to FLASH

With great care, and tenuous programming?  In general, interrupt routines cannot access the flash that is being programmed, so they are either written to only use Ram, or (Program) flash that is not being written, or they are disabled.  That leaves non-maskable interrupts as the remaining problem.  They better not use the flash being programmed.  In the case of the 807 part, there are 2 seperate flash areas for program flash, so with great care code can still run from flash, and program the other flash area.

Jerry.

> -----Original Message-----
> From: Bill Schintler [mailto:w...@mchsi.com]
> Sent: Monday, November 17, 2003 10:48 PM
> To: m...@yahoogroups.com
> Subject: [motoroladsp] DSP56F807 application write to FLASH
>
>
> How does an application, which resides in FLASH, write non-volatile
> data to data (or program) FLASH?  Is this even possible?
>
> I am developing under CW 5.1.
>
> Thanks in advance - Bill Schintler
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
> Printer at MyInks.com. Free s/h on orders $50 or more to the
> US & Canada.
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/PNArlB/TM
> --------------------------------------------------------------
> -------~->
>
> _____________________________________
> /groups.php3

>
>
>
>
>
> ______________________________________________________________
> __________
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information visit http://www.messagelabs.com
> ______________________________________________________________
> __________
>


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information visit http://www.messagelabs.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 )

RE: DSP56F807 application write to FLASH - Lionel Degoutte - Nov 27 17:04:00 2003

RE: [motoroladsp] DSP56F807 application write to FLASHHello,
What do you mean "with great care code" ? I am desperate. The only way to
write to data flash is to desactivate interrupts before writing.
If i don't make this, either the program counter jump anywhere, or it jump
at "assert (!(TmpWord & 0x0007)); /* Access to flash while programming */
" in

I don't acces to dataflash in my interrupts sub routines, i only access to
dataram. For my interrupts, i use static installation of the SDK. My code is
stored in program flash. I really don't understand why it doesn't work.

Is it necessary to modify the values of the following registers :
FLASH_DFIU_CKDIVISOR_VALUE 0x000F
FLASH_DFIU_TERASEL_VALUE 0x000F
FLASH_DFIU_TMEL_VALUE 0x000F
FLASH_DFIU_TNVSL_VALUE 0x00FF
FLASH_DFIU_TPGSL_VALUE 0x01FF
FLASH_DFIU_TPROGL_VALUE 0x03FF
FLASH_DFIU_TNVHL_VALUE 0x00FF
FLASH_DFIU_TNVH1L_VALUE 0x0FFF
FLASH_DFIU_TRCVL_VALUE 0x003F

I specify that I use SDK 3.0 and codewarrior 5.1.

Thank you for your answer

Lionel
-----Message d'origine-----
De : Johnson, Jerry [mailto:]
Envoyé : mardi 18 novembre 2003 18:19
À : 'Bill Schintler';
Objet : RE: [motoroladsp] DSP56F807 application write to FLASH With great care, and tenuous programming? In general, interrupt routines
cannot access the flash that is being programmed, so they are either written
to only use Ram, or (Program) flash that is not being written, or they are
disabled. That leaves non-maskable interrupts as the remaining problem.
They better not use the flash being programmed. In the case of the 807
part, there are 2 seperate flash areas for program flash, so with great care
code can still run from flash, and program the other flash area.

Jerry.

> -----Original Message-----
> From: Bill Schintler [mailto:]
> Sent: Monday, November 17, 2003 10:48 PM
> To:
> Subject: [motoroladsp] DSP56F807 application write to FLASH > How does an application, which resides in FLASH, write non-volatile
> data to data (or program) FLASH? Is this even possible?
>
> I am developing under CW 5.1.
>
> Thanks in advance - Bill Schintler > ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
> Printer at MyInks.com. Free s/h on orders $50 or more to the
> US & Canada.
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/PNArlB/TM
> --------------------------------------------------------------
> -------~->
>
> _____________________________________
> /groups.php3 >
> ______________________________________________________________
> __________
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information visit http://www.messagelabs.com
> ______________________________________________________________
> __________
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information visit http://www.messagelabs.com
________________________________________________________________________

Yahoo! Groups Sponsor
ADVERTISEMENT

_____________________________________
/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 )