Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Ads

Discussion Groups

Discussion Groups | MSP430 | Reading flash in a DMA int. routine.

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

Reading flash in a DMA int. routine. - Steve Sabram - Aug 16 21:38:34 2008

I have a piece of code that is reading the ADC12 and writing it into
flash via a DMA on the F168. I have an interrupt generated (DACDMA)
after every page is written to check its values. The routine increments
the DMA0DA to a new flash page and then reenables the DMA. When I don't
read the flash memory contents, it goes along fine filling up the flash
from the ADC12, however, whenever I read the latest page of flash
memory, the DMA interrupt is no longer generated. I have done the usual
putting FWKEY into FCTL1 and FCTL3 to erase the memory but so far I
can't get any more interrupts generated. Any ideas?

Steve
------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )