2011-06-06 02:56 AM
(
erasing
)
byte
(word, block)in the
eeprom
memory
,
DMA
transaction
occurs
on the
periphery
of
RAM
(
tested
only
this
type of
transfer) of
the microcontroller
hangs
(not
working)
.
The documentation
no found
indication
that it is impossible
to use the
DMA
controller
when working
with
EEPROM
memory
.
Tell me
anything
on this
issue.
P/SSorry
for
my
english
#stm8l151k6 #eeprom #dma2011-06-10 06:30 AM
I have exactly the same problem:
Writing to the EEprom won't work if the DMA is active. This only happens sometimes, so I suppose this only happens when DMA transfer occurs. (I'm using the STM8L151G6.) At the moment my only solution for this is turning off the DMA before writing to the EEPROM. Then everything works fine. Is this a STM8L-bug or only not mentioned in the documentation?2011-06-11 09:34 PM
I
can not
stop the
DMA
during
the recording
,
it seems
I will
put the
external memory
.
I wrote
to
customer support
, they
replied
that
passes the request
to the developers.
It has been almost
a week,
but
the answer
or not
:
(
Looks like
a hardware
bug
.
2011-07-11 09:30 AM
Dear Mr. Zheleznjakov,
the microcontroller division has confirmed that using DMA during EEPROM update causes a hang-up of the interface to the core - the state ''STALL'' remains active. There is currently no workaround except disabling DMA during EEPROM update.
2011-07-12 01:20 AM
Dear Mr. Zheleznjakov,
even we have confirmed this limitation recently, investigation is not closed yet. We continue to investigate constraints required to see this limitation and impact on the product and application. We are looking for possible workarounds as well, even there is none know today. Full information will be released in a week or two as a part of our documentation. Thanks for understanding On behalf of MCD Technical Support2011-07-22 12:46 AM
same problem on my side, I was struggling :(
2011-08-03 04:58 AM
Today I've seen, that STM has just published a new errata-sheet for the STM8L
(http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/ERRATA_SHEET/CD00237242.pdf
) There the problems with DMA and EEPROM are described. According to this errata sheet, there is no fix planned, but they are describing 3 workarounds....2011-08-04 07:28 AM
fine :(