cancel
Showing results for 
Search instead for 
Did you mean: 

programming the STR730

hg-chen
Associate II
Posted on March 01, 2006 at 02:40

programming the STR730

5 REPLIES 5
hg-chen
Associate II
Posted on January 23, 2006 at 03:23

1. Is any FLASH write protection set after REALVIEW JTAG DOWNLOAD the program?

2. If reprogramming the FALSH memory sector after REALVIEW JTAG DOWNLOAD the program,

Is it neccessary to disconnect the JTAG?

The following sequence is my testing of the erasing the sector

1. Read the byte

2. Erase the sector

3 Read the byte

The question I have while the testing is the Registers

FLASHPR-->NVWPAR and FALSHPR-->NVAPR1

Both are zero before the erasing

kaouther
Associate II
Posted on January 25, 2006 at 05:24

Hi Kuni,

1-The Write Flash protection is not set after REALVIEW JTAG downloading the program.

2. There is no need to disconnect the JTAG after REALVIEW JTAG downloading the program.

3- It is not possible to read the NVWPAR and NVAPR1 register. In fact, all the STR730 Flash protection registers (FLASH_NVWPAR, FLASH_NVAPR0 and FLASH_NVAPR1) are write only.

Please refer to the STR7 Family Flash Programming Reference Manual available on the web site.

http://mcu.st.com/mcu/modules.php?name=mcu&file=familiesdocs&FAM=86#Programming%20Manual

With Regards.

hg-chen
Associate II
Posted on January 26, 2006 at 22:56

How or where can I get a sample program of erasing a sector

running on STR730 evalaution board?

anis2
Associate II
Posted on January 27, 2006 at 06:17

Hi,

Find attached an STR730 Flash example.

Hope this helps you.

Best regards.

________________

Attachments :

STR730_flash_example.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtP2&d=%2Fa%2F0X0000000aPW%2FBYNHGeJS.zCgarPLqjv8jzUT0itqnCnwDatY38mWhxM&asPdf=false
hg-chen
Associate II
Posted on March 01, 2006 at 02:40

What if after erase done (without error reported), but the result

does not change? content is not erased!