EmbeddedRelated.com
The 2024 Embedded Online Conference

Writing Float value on Flash Memory

Started by jeff...@gmail.com in MSP43015 years ago 4 replies

Hello Everyone, First,Merry Christmas to everyone. Lets hope the next year things get better and wars over. =) I know how to work with Flash w/r...

Hello Everyone, First,Merry Christmas to everyone. Lets hope the next year things get better and wars over. =) I know how to work with Flash w/r on MSP430, but, i want to know if there is a wise way to put float data on memory without the usage of blocks? hugs ------------------------------------


flash write

Started by "paddu.koti" in MSP43015 years ago 5 replies

Hi, I need to write some data into the MSP430 flash using In System Programming(ISP) but,when writing to the flash is it necessary to erase...

Hi, I need to write some data into the MSP430 flash using In System Programming(ISP) but,when writing to the flash is it necessary to erase entire memory segment before writing,I dont want to use a entire memory segment,I just want to write/rewrite data into the free memory and also access it frequently. Does anybody has sample code for ISP,in all the sample codes provided by TI ,t...


Problem writing flash memory.

Started by baxtercodeworks in MSP43017 years ago 3 replies

Background: I'm using a MSP430F1121a with a 3.6864MHz crystal. Program using IAR Kickstart. note: I've tried several things with similar...

Background: I'm using a MSP430F1121a with a 3.6864MHz crystal. Program using IAR Kickstart. note: I've tried several things with similar results, this is the simplified version --- I want to write a string to flash memory that can be changed. I created the following function: //----------------------------------------------------------------------------- const unsigned char * I...


how to write in flash a vector during programing

Started by mm bb in MSP43011 years ago 3 replies

Hi, I want to save a vector in the flash during programing the micro, must I have to declare the vector as static?, is this correct or there is...

Hi, I want to save a vector in the flash during programing the micro, must I have to declare the vector as static?, is this correct or there is another way to do that? Thanks for your help. [Non-text portions of this message have been removed] ------------------------------------


Saving Values to non-volatile memory

Started by Amer in MSP43014 years ago 3 replies

Hello all, I am using ADC12 to measure a voltage about 5 times a second. However, I would like to remember the last conversion even if power...

Hello all, I am using ADC12 to measure a voltage about 5 times a second. However, I would like to remember the last conversion even if power is disconnected (ie, someone deliberately disconnecting the battery). I was thinking about saving to flash every time a conversion is completed. I am not so familiar with flash technology but does this seem like a feasible idea? Thank you. A ...


at45db read write not working

Started by Onur Yildirim in MSP43018 years ago 5 replies

Hi, I have an AT45DB161 flash memory chip connected to our msp430F1611 running at 8Mhz. Here is the connection scheme. P5.1 -> SI P5.2 <- ...

Hi, I have an AT45DB161 flash memory chip connected to our msp430F1611 running at 8Mhz. Here is the connection scheme. P5.1 -> SI P5.2 <- SO P5.3 -> SCLK P5.4 -> /CS P5.5 -> /RST P1.0 -> RDY-/BUSY After power up, initialize clocks and etc, AT45 is initialized with the fFlash_InitHW_Active(). The AT45 is reset with fFlash_Reset(). Then to check if the flash


Flash marginal modes

Started by "mfm...@gmail.com [msp430]" in MSP4308 years ago 1 reply

Hi, Has anyone implemented the marginal modes to check the flash memory? The user manual has very limited information and no code example. ...

Hi, Has anyone implemented the marginal modes to check the flash memory? The user manual has very limited information and no code example. Any suggestion or code sample will be welcome. Regards, Fahmi


MSP430 with extern Nand Flash

Started by in MSP43017 years ago 6 replies

Hallo I want to connect an extern Nand Flash like this NAND128-A from StMicroelectroniks. Is it possibile to use ist with the MSP430? Has...

Hallo I want to connect an extern Nand Flash like this NAND128-A from StMicroelectroniks. Is it possibile to use ist with the MSP430? Has anybody done this before? Have anybody C-code for this application? Thanks Andr?


copy code from flash to RAM and then execute it from RAM

Started by karabliley in MSP43018 years ago 2 replies

I'm currently programming in C and using IAR Workbench. My goal is to copy a function from flash into RAM and then execute the function from...

I'm currently programming in C and using IAR Workbench. My goal is to copy a function from flash into RAM and then execute the function from RAM; the function has a few variables that need to be passed in. I'm able to copy the code from flash to RAM, but I'm having trouble with the execution, especially because I have variables that need to be passed. Below I've included an excerpt of


Writing in flash in run time

Started by Ananth kumar in MSP43018 years ago 3 replies

Hello All, How to write in flash memory when code is in running mode? (not using the JTAG) Can anyone send me the application notes for...

Hello All, How to write in flash memory when code is in running mode? (not using the JTAG) Can anyone send me the application notes for "In-application programming with MSP430"? Thanks in advance, Ananth Kumar


Setting absolute addresses on flash (ICC)

Started by Gabriel in MSP43019 years ago 5 replies

Hello everyone, I'm using ICC430 and trying to compile a small program where I want main() to stay on the first page of my MSP430F149, and...

Hello everyone, I'm using ICC430 and trying to compile a small program where I want main() to stay on the first page of my MSP430F149, and all other rotines and constants to start from the second page, so I can erase the entire flash (page 2 to the end) and reprogram it (using a serial link). That would allow in-system reprogramming without using MSP jtag/bootloader and also would never ma


How to define empty const in self defined flash segment?

Started by jean_randhah in MSP43019 years ago 12 replies

Hello everyone! Somewhere in the back of my head I remember a similar discussion here on yahoo, but I could find relevant posts neither in...

Hello everyone! Somewhere in the back of my head I remember a similar discussion here on yahoo, but I could find relevant posts neither in my inbox nor in the yahoo archieve. Also Paul seems to be overworked as he has not yet found time to answer to this problem. I am using Crossworks (after having used IAR for 3 years) and am trying to declare constants in flash memory. For this I de


MSP430 Flash endurance

Started by microbit in MSP43021 years ago 9 replies

Hi all, Since requests were made for MSP430 talks, here we go. A question on my mind for some time has been what its Flash endurance is like...

Hi all, Since requests were made for MSP430 talks, here we go. A question on my mind for some time has been what its Flash endurance is like at highest commercial temperatures (say 70 degr C) These things seem to be a bit avoided. I know it's way less than 100K EW cycles. Anyone ever done any experiments ? Al ? You seem to be the guru on pushing the envelope on MSP430 - have you done test


Flash overwrite , no serial communication

Started by duemchen in MSP43015 years ago 3 replies

ez430-rf I have overwrite my Flash (I think start from 0x10FF...) Now the serial communication of my program do not run. How can I reset to the...

ez430-rf I have overwrite my Flash (I think start from 0x10FF...) Now the serial communication of my program do not run. How can I reset to the original ? ------------------------------------


flash memory

Started by Salam in MSP43017 years ago 4 replies

hi can u store data to the flash memory of MSP430f149 during run time? i need to do that to store data in case of power failure or reset. thanks

hi can u store data to the flash memory of MSP430f149 during run time? i need to do that to store data in case of power failure or reset. thanks


Could a 1Watt RF Field Cause Flash Corruption?

Started by Samuel Waters in MSP43020 years ago 6 replies

Many thanks to "bill knight", Chris (kris?) and Al, and others for their kind responses to my inqury about Flash Corruption. I am currently...

Many thanks to "bill knight", Chris (kris?) and Al, and others for their kind responses to my inqury about Flash Corruption. I am currently juicing my Vcc from 3.3V to 3.6V, so as to stay within spec, having an 8MHz crystal, even though I do not believe this is a root cause of my problem. However, if I am experiencing Power supply noise, say something additive(or subtractive)


Save some data to flash

Started by ljbdeshler in MSP43019 years ago 1 reply

On the MSP430F413, does anyone have some sample C code to save data to flash memory. We will have a on/off button on our device so I will...

On the MSP430F413, does anyone have some sample C code to save data to flash memory. We will have a on/off button on our device so I will need to save some user settings and recall them on power up. I searched the archive a little but I kept getting a huge number of hits. Thanks.


programming INFO FLASH

Started by jean_randhah in MSP43022 years ago 4 replies

Hi all! I am using MSP430F1121 with IAR at the moment and am wondering how one can programm the info flash of the device without having to...

Hi all! I am using MSP430F1121 with IAR at the moment and am wondering how one can programm the info flash of the device without having to write a programm that eats up valuable programm space. What I want to do is give the MSP some start values (wich can be changed during runtime). I have tried to initialize them in C, but it won't work. Another possibility I can think of is to create an


interruptWhileErasingFlashQuestions

Started by one00100100 in MSP43011 years ago 5 replies

Three questions... We have done some scope testing using DIO markers and it seems to indicate that the pMM SVMHIFG interrupt will interrupt...

Three questions... We have done some scope testing using DIO markers and it seems to indicate that the pMM SVMHIFG interrupt will interrupt an ongoing flash erase operation. 1. Is this the expected behavior? 2. if I make the ISR very quick as in the example below where I check a flag and if the flag is set, I return immediately, would the flash erase complete normally, or will...


Detecting corrupted or unreadable Flash memory

Started by one00100100 in MSP43013 years ago 6 replies

Hey Guys and Girls, I would like to see what you guys are doing in your projects to detect flash emory errors, say, due to corruption or...

Hey Guys and Girls, I would like to see what you guys are doing in your projects to detect flash emory errors, say, due to corruption or wear. Not that I'm having a problem, it's just that we are seeking a European certification, "MID", that refers to a WELMEC 7.2 document (www.welmec.org). Their official has said, "there must be also some protection of software itself against some change...



The 2024 Embedded Online Conference