EmbeddedRelated.com
Memfault Beyond the Launch

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


Flash Block Write doesn't work?

Started by Ralph Preston in MSP43017 years ago 1 reply

Hello all, I'm working on an msp430f1611, so far can write bytes, and erase segments in the flash, but I can't block write. I've implemented...

Hello all, I'm working on an msp430f1611, so far can write bytes, and erase segments in the flash, but I can't block write. I've implemented the algorithm on page 5-12 of the msp430UserGuide.pdf, but it ain't workin; only the first byte is ever written. Are there any known problems, or deviations from the documentation? I've checked the archives but didn't find anything. "Initiating a...


IAR: MSP430F21x1 flash erase

Started by reym...@... in MSP43018 years ago 2 replies

Dear all, Once more a problem with IAR's latest environment Setup: MSP430F21x1 / MSP-FET430UIF / IAR EW 3.40A...

Dear all, Once more a problem with IAR's latest environment Setup: MSP430F21x1 / MSP-FET430UIF / IAR EW 3.40A professional Intention: I want to initialize the information flash like this: *.c -> const char xyz[] @ 0x1000 = 1,2,3,4 ; *.txt -> @1000 01 02 03 04 This is just to check, if the compiler and linker did everything as intended, of course I'm not using this file for


Writing to flash. Erase first???

Started by mrobins99 in MSP43016 years ago 2 replies

Is it necessary to erase the flash before writing to it, or can I just overwrite the old data without any worries?

Is it necessary to erase the flash before writing to it, or can I just overwrite the old data without any worries?


writing data to compact flash

Started by sunnylh_chu in MSP43019 years ago 8 replies

Dear all, have you ever tried to writing data to compact flash using MSP430? I would like to write in FAT16/32 format so that I can read...

Dear all, have you ever tried to writing data to compact flash using MSP430? I would like to write in FAT16/32 format so that I can read from IBM-compactable pc. thnx for any suggestion and help Sunny


Writing an int to Flash

Started by dasGnu in MSP43016 years ago 3 replies

Hello, I'm trying to store an int in Flash.... and reading it back after switching the device (a MSP430F2274) on. "int command_time;" - is...

Hello, I'm trying to store an int in Flash.... and reading it back after switching the device (a MSP430F2274) on. "int command_time;" - is a global declared integer "Flash_Settings" is specified in lnk_msp430f2274.cmd as "Flash_Settings = 0x10C0;" and within the module as "extern volatile char Flash_Settings[2];" The function to write is: void settings_to_flash(){ _disabl...


High temperature opperation of the MSP430

Started by chrismholt123 in MSP43016 years ago 14 replies

I am curious as to the highest temperature that the MSP 430 can be successfully operated at. Does anyone have any experience testing the micro...

I am curious as to the highest temperature that the MSP 430 can be successfully operated at. Does anyone have any experience testing the micro in extreme environments? I searched your forum and found a test that was done by a forum member of the flash memory at temperatures up to 100C. Has anyone tested temperatures higher than this? I do not need to write to flash but just need the...


Boot Loader (not BSL)

Started by philipman2001 in MSP43011 years ago 1 reply

I have a design that has a large Flash (4Mbit), and wish to download a firmware into the Flash, and then have the MCU update the program memory...

I have a design that has a large Flash (4Mbit), and wish to download a firmware into the Flash, and then have the MCU update the program memory with the new firmware. I found messages/articles about a custom boot loader using the F5XXX. I am using the MSP430F4783, which I don't think has this option. Would the above be possible for the MSP430F4783? ------------------------------------ ...


unexpected flash erasing

Started by goshakoshkin in MSP43017 years ago 1 reply

Hi to all. i'm using the flash programming in my project: from time to time device adds some data to info memory. The algorithm of read/write...

Hi to all. i'm using the flash programming in my project: from time to time device adds some data to info memory. The algorithm of read/write operation with segments is according to datasheet slau056e.pdf. All devices were verifying out and there were no troubles with them. But after a time some devices(for about 30) had fallen out. Examination had shown that instead of the data there is...


MSP430F149: FLASH programming at lower voltages

Started by mjruley in MSP43020 years ago 11 replies

We would like to program the FLASH with Vcc at 2.5 volts. It's spec'd at 2.7 volts although a TI presenter at a February seminar mentioned...

We would like to program the FLASH with Vcc at 2.5 volts. It's spec'd at 2.7 volts although a TI presenter at a February seminar mentioned that lowering the spec was being considered. The 249 which is due early next year was projected to be programmable down to 2.2 volts. I have done some preliminary tests down to 2.0 volts that appear to work. I plan on more extensive testing. Has any


Flash Erase Problems When Lose Power -- SOLUTION

Started by one00100100 in MSP43011 years ago 2 replies

Hey Guys, Thanks to all who tried to help me as I have struggled with this problem. I have placed a file in the files section detailing the...

Hey Guys, Thanks to all who tried to help me as I have struggled with this problem. I have placed a file in the files section detailing the algorithm. This was a tough nut for me. The breakthroughs came after I realized that the PMMIFG interrupt could interrupt a flash erase operation. This by itself would not be bad, but it delayed the erase until we lost power, and for those who don't ...


SLAA334: MSP430 Flash Memory Characteristics app note

Started by KF Leong in MSP43018 years ago 1 reply

Check out this new app note from...

Check out this new app note from TI: http://focus.ti.com/mcu/docs/mcusupporttechdocsc.tsp?sectionId=96&tabId=1502 &abstractName=slaa334 Especially the section regarding Cumulative Programming Time effect on the flash memory. HTH. KF


Run Time Flash Programming through the serial port

Started by Jose Ivan Quinones in MSP43017 years ago 2 replies

Hi All, I am wondering if you know how to do the following using the IAR compiler: 1. Segregate the code space so that a module resides in...

Hi All, I am wondering if you know how to do the following using the IAR compiler: 1. Segregate the code space so that a module resides in a FLASH segment which I can later erase. 2. Compile a module and as a result obtain a hex file I can later download. I am planning on having said Hex file downloaded as necessary and update the firmware according to prerequired parameters, usi...


SPI Problems

Started by bigdog16_83 in MSP43019 years ago 10 replies

I am working to communicate with an ATMEL AT45DB081B dataflash in SPI Mode with a MSP430-149. The opcode sent to the flash should make it do...

I am working to communicate with an ATMEL AT45DB081B dataflash in SPI Mode with a MSP430-149. The opcode sent to the flash should make it do a continuous read so I should continuously be receiving data but instead I receive a few bytes and then it stops. The flash needs SPI Mode 0 or 3 and needs a high to low transition on pin 3.0 before a opcode is sent. I believe I have the initializ


Flash memory cumulative times

Started by David McMinn in MSP43014 years ago 6 replies

Hi, I am working on some routines to work with the information segments of flash memory on an MSP430F249 and have a query. I searched...

Hi, I am working on some routines to work with the information segments of flash memory on an MSP430F249 and have a query. I searched around before writing this and found some threads asking about cumulative programming times (which I am happy with), have read application notes SLAA294A and SLAA334A and the MSP430 programming best practices but none address my question. Is there a...


SOS: Data corruption of MSP 430 Flash

Started by maple_1982 in MSP43016 years ago 13 replies

Our MCU is MSP430F169. FAE reported that one of our products doesn't work. I have checked it and found it's running strangely. I uploaded its...

Our MCU is MSP430F169. FAE reported that one of our products doesn't work. I have checked it and found it's running strangely. I uploaded its code data and info flash data via JTAG port and programmer. I found some of the data has been changed: The original data is 01 D2 C0 12 80 13 41 D3 00 11 C1 D1 81 D0 40 10 but it's changed to 01 40 40 02 00 00 00 00 00 00 00 01 81 D0 40 10 Some d...


Flash memory access violation

Started by arunkumarvkm in MSP43018 years ago 1 reply

Friends When I am using MSP 430f1611,with two UART interrupts in program(UART0 in 19200 kbps & UART1 in 9600kbps) simultaneously, I got the...

Friends When I am using MSP 430f1611,with two UART interrupts in program(UART0 in 19200 kbps & UART1 in 9600kbps) simultaneously, I got the flash memory access violation flag(ACCVIFG)set ,after some time(8sec) of operation.Anybody got any idea,pls help. Regards Arun


Upper Flash Access, MSP430F5437A

Started by louistran30 in MSP43013 years ago 2 replies

Hi All, IDE: CrossStudio Part: MSP430F5437A I am trying to write to a flash segment above 64K. I placed the variables to 0x10600 in...

Hi All, IDE: CrossStudio Part: MSP430F5437A I am trying to write to a flash segment above 64K. I placed the variables to 0x10600 in the section placement file. However, when this address get passed into the "write_flash()" method below, the *dest pointer gets truncated to 0x0600 even though it is 0x10600 when passed in. I compiled to 430X and set memory size to 1M (from 64K). But the ...


Accesing Data on Flash

Started by gab0ar in MSP43016 years ago 25 replies

Hello, I had a problem when upgrading from IAR 3.20 to 3.42. Some time ago I needed to declare an initialized variable on a fixed location on...

Hello, I had a problem when upgrading from IAR 3.20 to 3.42. Some time ago I needed to declare an initialized variable on a fixed location on flash. This variable would change on execution time, and the value would be reffered from other parts of the code. I found the following to work: Declare on a .h #define DEFAULT_VALUE 8 #define MY_LOCATION 0xF000 extern volatile con...


Request for flash memory module

Started by MohanDada in MSP43021 years ago 5 replies

Hi, Does any one have smaple module source to erase and write block of data into flash memory of MSP430 Segment A (0x1000)and Segment...

Hi, Does any one have smaple module source to erase and write block of data into flash memory of MSP430 Segment A (0x1000)and Segment B(0x1080). Regards, Mohan D. mohan@moha...



Memfault Beyond the Launch