direct flash reprogramming: DINT required?

Started by Matthias Weingart in MSP43010 years ago 1 reply

In slaa103 TI is recommending that we hat to disable all interrupts before any flash write. However they write: "3.2 Direct Flash...

In slaa103 TI is recommending that we hat to disable all interrupts before any flash write. However they write: "3.2 Direct Flash Reprogramming ... When the CPU fetches instructions from flash memory during flash reprogramming, flash returns 3FFFh (JMP $) to the CPU. This sends the CPU into an endless loop until flash reprogramming has been completed. ... One disadvantage, however, i...


About Flash Erase and programming?

Started by Anonymous in MSP43014 years ago 2 replies

Hi, > I want to ask that how many times an MSP430 Flash can be programmed > and erased? 100.000 times. This is the usual limit for Flash....

Hi, > I want to ask that how many times an MSP430 Flash can be programmed > and erased? 100.000 times. This is the usual limit for Flash. > For how long the data in the flash remain there? Minimum 30 years. Another question: How much time does Flash reading and writing need? I could find the answer neither in the users's guide nor an application note. Regards Rolf F.


Storing parameters in Flash

Started by jkw_ee in MSP43013 years ago 7 replies

I have about 4KB of operational parameters to be stored in non- volitile memory but they will be updated occasionally. I have experience...

I have about 4KB of operational parameters to be stored in non- volitile memory but they will be updated occasionally. I have experience doing this in EEPROM but this is my first encounter with flash. I found the flash routines in the download area but would appreciate a chance to talk to anyone who has experience with updating and erasing segments in flash. I could use the flash or tag


Flash read write of MSP430F149

Started by "Ghorpade, Vijaya" in MSP4307 years ago 1 reply

Hi all, I have some doubts about the flash programming, 1. Before writing to the flash, Is there any need to write flash routine in to...

Hi all, I have some doubts about the flash programming, 1. Before writing to the flash, Is there any need to write flash routine in to the RAM? 2. I want to write different types of the data types to the flash such as float, char and integer. When I am writing it bby using pointer, there is data type error occurs. 3. If want to write to the flash from the array then ...


Re: Interface between Flash (AMIC A29L160A Series, Boot Sector Flash) and MCU (MSP430F5438IPZ)

Started by ravi...@yahoo.co.in in MSP4307 years ago

In my project I want to save an image on an external Flash. > There will be a parallel connections between Data and address busees of Flash...

In my project I want to save an image on an external Flash. > There will be a parallel connections between Data and address busees of Flash and GPIO's of MCU. > > Initially I looked into available driver slaa281b for external flash interface, but this is limited to serial communication (SPI). > > I wounder if any kind of drivers/guidelines are avaible for interfacing MCU with flash of above


Interface between Flash (AMIC A29L160A Series, Boot Sector Flash) and MCU (MSP430F5438IPZ)

Started by waqa...@pera.com in MSP4307 years ago 27 replies

In my project I want to save an image on an external Flash. There will be a parallel connections between Data and address busees of Flash and...

In my project I want to save an image on an external Flash. There will be a parallel connections between Data and address busees of Flash and GPIO's of MCU. Initially I looked into available driver slaa281b for external flash interface, but this is limited to serial communication (SPI). I wounder if any kind of drivers/guidelines are avaible for interfacing MCU with flash of above specif...


Re: Seeking Information about Flash Information Memory

Started by One Stone in MSP43010 years ago

Since most of what you need is very well covered by application notes readily available from Ti, you should perhaps be very specific about...

Since most of what you need is very well covered by application notes readily available from Ti, you should perhaps be very specific about what the right kind of help is. If all you want to do is know how to read flash and write flash then Ti has eveything you need. Al Roger wrote: > Hi ! > > We are trying to use the internal Flash of the MSP430 for our battery > powered applicatio


MSP430 F2416 flash write program

Started by nlri12002 in MSP4308 years ago 2 replies

I write a flash monitor program to receive new firmware from RS232. I have erase flash before program data to flash. The monitor program data to...

I write a flash monitor program to receive new firmware from RS232. I have erase flash before program data to flash. The monitor program data to flash almost correct. But sometime it curiously. If the contents of text file likes this,the problem happens. @2100 31 40 00 21 3C 40 FC 12 3D 40 C8 01 B0 13 EC BB 3C 40 00 11 3D 40 84 3F 3E 40 FB 01 B0 13 08 BD B0 13 C8 72 B0 13 0C BD 00 13 3F 14 82...


Information Flash on F2012

Started by take_itisi in MSP43011 years ago

Hello together. After a while of using CCE and EZ430 for developing software for the MSP430F2012 now, I got some quest's regarding the...

Hello together. After a while of using CCE and EZ430 for developing software for the MSP430F2012 now, I got some quest's regarding the information flash memory. Maybe anybody is able to answer. 1. Is it possible and legal, to store and execute code in the memory area of information-flash? I've found a sentence in the device describtion, that there is no difference between main flash and ...


Reading flash in a DMA int. routine.

Started by Steve Sabram in MSP4309 years ago

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)...

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 ...


F2121 Info Flash Problems

Started by Robert Ritchey in MSP43010 years ago

Hi, I have been using the TI MSP430s since 2002. I feel I am pretty good with them but this new problem has me stumped. I have used the...

Hi, I have been using the TI MSP430s since 2002. I feel I am pretty good with them but this new problem has me stumped. I have used the same info flash routine from the start on the F1xxx series without any issues. I am now having a problem with the F2121 that I cannot track down. In my application I flash 32 bytes at a time. I have found I can flash from x1000 to x10DF with out a prob...


msp430F1612

Started by Matthias Weingart in MSP43014 years ago 1 reply

Hi, it seems that a MSP430F1612 is also planned by TI, but it does not appear at the ti-pages. Arrow lists them as a 55kBytes Flash Type with...

Hi, it seems that a MSP430F1612 is also planned by TI, but it does not appear at the ti-pages. Arrow lists them as a 55kBytes Flash Type with 5k RAM. MSP430F.... 1610 32k Flash 5k RAM 1611 48k Flash 10k RAM 1612 55k Flash 5k RAM M.


string in flash

Started by Martijn Broens in MSP43015 years ago 2 replies

Hi all, Does anyone know how to create a string that will reside in flash. What I'd like to do is have a string RevCode[10] but this needs...

Hi all, Does anyone know how to create a string that will reside in flash. What I'd like to do is have a string RevCode[10] but this needs to stay in flash. So after I get a value I will store it in flash, I know how to do that, but don't know how to create this array. I'd like it to be for instance at $01200 Can anyone help me her Best regards, Martijn


Disabling interrupts while writing to flash?

Started by merapcb in MSP43010 years ago 7 replies

According to TI guidelines, it is important to disable interrupts while writing to flash. I am working with a third party library...

According to TI guidelines, it is important to disable interrupts while writing to flash. I am working with a third party library that provides a read/write API to the flash, and they have confirmed to me that they do NOT disable the interrupts while writing to flash (because, stupidly, they assume that doing so will only happen once during initialization). My question is, how critical is i...


Flash into RAM question

Started by Heather in MSP43014 years ago 5 replies

Good Morning! I've got a question: I'm using the Quadravox C Compiler for the MSP430(f449) microchip, and currently need to overwrite the...

Good Morning! I've got a question: I'm using the Quadravox C Compiler for the MSP430(f449) microchip, and currently need to overwrite the Flash memory. I've reviewed and used the app note on Flash Self- Programming, but the C program shown reprograms the Flash directly, without moving the function to RAM first. I know the concept is fairly simple: 1. copy program to RAM 2. change P


Flash Block Writing

Started by cmdamour in MSP43011 years ago

I am having some trouble performing a block write to flash, and was wondering if anyone could give me a hand. I've searched the...

I am having some trouble performing a block write to flash, and was wondering if anyone could give me a hand. I've searched the group's postings but have not found much that helped. In short, I copy the flash block write function from the MSP430x1xxx users guide (slau049f) into RAM, by using one listed in the Flash_ww function in the TI "Flash Self Programming Technique" application note. ...


MSP430 flash memory

Started by Technical Kripa in MSP4309 years ago 18 replies

Should the flash memory in MSP430 be used only for downloading of data or i= s it advisable to use flash memory for data logging considering...

Should the flash memory in MSP430 be used only for downloading of data or i= s it advisable to use flash memory for data logging considering 100000 time= s writing capability of flash. In my current project I require to keep log of event at MSP ports. I would = have to write say approx 500=C2=A0bytes a day and the application is suppos= ed to work for around 10 years. Or should I use EEPROM ...


interrupt-code execution during flash-erase.

Started by reym...@... in MSP43012 years ago 10 replies

Dear all! Has anyone ever encountered something like this: (or even has a workaround...) Erasing a flash segment (0x1000...0x103F) taks...

Dear all! Has anyone ever encountered something like this: (or even has a workaround...) Erasing a flash segment (0x1000...0x103F) taks approx. 15 ms. During this time the code execution is halted or rather goes into an infinite loop as the flash hardware returns 0x3FFF on any fetch from the core. It is possible to interrup the erasure and execute interrupt code from flash. (FCTL1.EEI) I


F1121 with AT45DB011B flash from ATMEL

Started by Jardar Johannes Maatje in MSP43015 years ago 3 replies

This might be a bit off topic since its probably a more atmel chip problem, but I try here anyways. Im using a flash memory chip together with...

This might be a bit off topic since its probably a more atmel chip problem, but I try here anyways. Im using a flash memory chip together with the MSP430F1121A chip. Im wondering if somebody out there has done the same, cause I seem to have a problem reading from the flash memory or programming the flash. I can read and write to and from its rambuffer. But when it comes to either the flashin


Flash Memory Write/Erase cycles

Started by xerafian in MSP4309 years ago 5 replies

Hi, this is my first post in the gruop, i'm working whit a 430F2272 and i have a doubt about the flash memory My program will be datalogging...

Hi, this is my first post in the gruop, i'm working whit a 430F2272 and i have a doubt about the flash memory My program will be datalogging temperature values one time per second and i use 2 bytes for one value which i like to store in the flash. The problem is if a flash segment has 64 bytes if i write only 2 bytes, i will be writting about 32 times after complete that segment. i already try...