Reply by Lionel Degoutte November 27, 20032003-11-27
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 > ------------------------

_____________________________________
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



Reply by Johnson, Jerry November 18, 20032003-11-18
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?cidU11
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/PNArlB/TM
> --------------------------
> -------~->
>
> _____________________________________
> 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:  m...@yahoogroups.com
>
> To Post:  m...@yahoogroups.com
>
> To Leave: m...@yahoogroups.com
>
> Archives: http://www.yahoogroups.com/group/motoroladsp
>
> More Groups: http://www.dsprelated.com/groups.php3

>
> " TARGET="_blank">http://docs.yahoo.com/info/terms/
>
>
>
> ______________________________________________________________
> __________
> 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
________________________________________________________________________

Reply by Bill Schintler November 18, 20032003-11-18
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