EmbeddedRelated.com
The 2024 Embedded Online Conference

About Flash Erase and programming?

Started by Anonymous in MSP43020 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 MSP43019 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 MSP43014 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 ...


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

Started by waqa...@pera.com in MSP43014 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...


string in flash

Started by Martijn Broens in MSP43021 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 MSP43016 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...


MSP430 flash memory

Started by Technical Kripa in MSP43015 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 ...


Flash into RAM question

Started by Heather in MSP43021 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


interrupt-code execution during flash-erase.

Started by reym...@... in MSP43018 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 MSP43021 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 MSP43015 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...


Writing to FLASH

Started by Maris Kalbergs in MSP43018 years ago 16 replies

Hello! I am newbie in your group and i have one question. I need to write some registers into flash memory when power supply is half of max....

Hello! I am newbie in your group and i have one question. I need to write some registers into flash memory when power supply is half of max. At the moment i am using MSP430F123. Do you have some idea how to write for example R10 register content into Flash momery? Thanks a lot. Maris.


First Flash segment after INFO Blocks documented incorrectly?

Started by reallygene in MSP43017 years ago 3 replies

Greetings. I'm using a '149 with 60K flash. I needed to store more parameters than would fit in the INFO_A and INFO_B blocks. I chose to...

Greetings. I'm using a '149 with 60K flash. I needed to store more parameters than would fit in the INFO_A and INFO_B blocks. I chose to grab the next sector in flash (referred to in the docs as "Segment n". A careful examination of the flash map on page 16 of the SLAS272F datasheet for the '149 shows that Segment n is only 256 bytes in size, which contradicts the text: "Each segme...


First time trying flash

Started by Dan Bloomquist in MSP43015 years ago 7 replies

I want to use the flash in the f1013. So I found some sample code: case COMMAND_ERASE_FLASH: { volatile char* Flash_ptr; ...

I want to use the flash in the f1013. So I found some sample code: case COMMAND_ERASE_FLASH: { volatile char* Flash_ptr; // Flash pointer //unsigned int i; Flash_ptr = (char *) 0x1080; // Initialize Flash pointer FCTL1 = FWKEY + ERASE; // Set Erase bit FCTL3 = FWKEY; // Clear Lock ...


MSP430 Flash Initialization

Started by Louis Tran in MSP43014 years ago 5 replies

I am using the TI MSP430F5437A. And I would like to keep the segment 0x1800-> 0x1880 of the Flash uninitialized when I program the...

I am using the TI MSP430F5437A. And I would like to keep the segment 0x1800-> 0x1880 of the Flash uninitialized when I program the micro-controller via the SPY_BI_WIRED_JTAG. Please advise how this can be done. Right now the flash is initialized to 0xFF every time I program the uC. Please advise. ------------------------------------


Problem with MSP430 Flash memory

Started by david8522002 in MSP43022 years ago 2 replies

Hi Friends! I have a problem with the Flash of my MSP430 FET. I think I erased the Flash. I launched a test program from Texas Industries with...

Hi Friends! I have a problem with the Flash of my MSP430 FET. I think I erased the Flash. I launched a test program from Texas Industries with the name Flash_Write.c. Now it is damaged. If I will debug a new programm, there is an error in C-Spy. It's a target error: Erase check error at adress 0x1000. I think it is unable to erase the Flash memory. What did I do wrong? What can I do? With


Programming flash from ram code

Started by tagrace_99 in MSP43021 years ago 4 replies

I have a situation where I need to erase and program flash from code placed into ram. I can not use the pushed on stack code method shown in...

I have a situation where I need to erase and program flash from code placed into ram. I can not use the pushed on stack code method shown in various app notes. I have writen a routine that works perfectly if placed in flash but will not run out of ram. I am testing the busy just like in the app note. I can not even get the flash to erase reliably (It did erase for me a few times) Her


Question about FLASH timing generator

Started by lukasz_krysiewicz in MSP43017 years ago 11 replies

Hi everyone. I read a documentation "slau049e" and in the chapter about FLASH is note "Write and erase operations are controlled by the flash...

Hi everyone. I read a documentation "slau049e" and in the chapter about FLASH is note "Write and erase operations are controlled by the flash timing generator shown in Figure 5%u22123. The flash timing generator operating frequency, f(FTG), must be in the range from ~ 257 kHz to ~ 476 kHz (see device-specific datasheet)." I set this timing generator using register FCTL2 and combination o...


Data logger using external serial flash memory

Started by saravana_friend81 in MSP43019 years ago 7 replies

hi all, I am a learner in MSP 430. I am working in GPS application project.I want to write some data in External serial flash memory through...

hi all, I am a learner in MSP 430. I am working in GPS application project.I want to write some data in External serial flash memory through MSp430F149.I am using serial flash memory for data logging purpose from ST microelectronics part no M25P20.That serial flash connected in SPI mode control protocol thru MSP430F149.The serial flash data input line is connected to SIMO pin of MSP.T


Interfacing serial flash with MSP430F149 for data logging

Started by saravana_friend81 in MSP43019 years ago 3 replies

hi all, I am a learner in MSP 430. I am working in GPS application project.I want to write some data in External serial flash memory...

hi all, I am a learner in MSP 430. I am working in GPS application project.I want to write some data in External serial flash memory through MSp430F149.I am using serial flash memory for data logging purpose from ST microelectronics part no M25P20.That serial flash connected in SPI mode control protocol thru MSP430F149.The serial flash data input line is connected to SIMO pin of MSP.The ser



The 2024 Embedded Online Conference