cancel
Showing results for 
Search instead for 
Did you mean: 

Flash Write Not working at Odd Address

abhijit2
Associate
Posted on August 18, 2010 at 06:48

Flash Write Not working at Odd Address

2 REPLIES 2
mrost9
Associate II
Posted on May 17, 2011 at 14:03

As you are trying to write 16bit (2bytes) of data, it does not make sense trying to write it to odd adresses. This is called mis-alignment, and is not supported in most systems.

IIRC, the flash only supports 16bit write access (with offsets correctly aligned to even addresses).

abhijit2
Associate
Posted on May 17, 2011 at 14:03

Hi there,

Many thanks for your valuable input and solving confusion.

Actually I got confused because document Reading/programming the STM32F10xxx embedded Flash memory says Perform the data write (half-word) at the desired address.

Now with your reply its clear that its only possible with .ExternalClass9EACFF23DFBE4DEF96076DBBE1F4FF3C p.MsoNormal, .ExternalClass9EACFF23DFBE4DEF96076DBBE1F4FF3C li.MsoNormal, .ExternalClass9EACFF23DFBE4DEF96076DBBE1F4FF3C div.MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';} .ExternalClass9EACFF23DFBE4DEF96076DBBE1F4FF3C .MsoChpDefault {font-size:10.0pt;} @page Section1 {size:8.5in 11.0in;margin:1.0in 1.0in 1.0in 1.0in;} .ExternalClass9EACFF23DFBE4DEF96076DBBE1F4FF3C div.Section1 {page:Section1;}

offsets correctly aligned to even addresses

Thanks.