EmbeddedRelated.com
The 2024 Embedded Online Conference

Re: Watchdog during flash operations

Started by "Robert J. Wilson" in MSP43017 years ago 1 reply

--- In m...@yahoogroups.com, "yuriz" wrote: > > All examples of flash operations in the msp430 user guide disable > watchdog for the...

--- In m...@yahoogroups.com, "yuriz" wrote: > > All examples of flash operations in the msp430 user guide disable > watchdog for the period of working with flash. Presumably, one can > avoid watchdog timer expiry by resetting the wd timer right before > each operation (assuming the wd expiry is reasonably long). Wouldn't > that have exactly the same effect ? Did you ever get


Switch between main app and flash monitor

Started by jeff31759 in MSP43016 years ago 1 reply

Note: This is a re-post, the original post turned to garbage when HTML consumed extra spaces. I am working on writing two programs that will...

Note: This is a re-post, the original post turned to garbage when HTML consumed extra spaces. I am working on writing two programs that will both reside in and run from MSP430 flash memory: - Main Application - Flash Monitor (can be used to download a new app) Both of these will be C language programs. I have started detailing what I need to do, including the text/instruction...


Erasing main flash segments

Started by Robert in MSP43012 years ago 1 reply

Maybe this is obvious, but I want to make sure I understand. We're using an MSP430F5438A, and are writing a custom bootloader to update the...

Maybe this is obvious, but I want to make sure I understand. We're using an MSP430F5438A, and are writing a custom bootloader to update the application. I thought I could erase the main flash by segment, but the documentation only refers to bank erases for main memory. It doesn't say you cannot erase by segment. Must I erase the main flash by bank only? If so, this really complicates things bec...


please help--msp430-jtag: Could not erase the Flash : Invalid parameter(s).

Started by sunyaohua1984 in MSP43015 years ago 2 replies

Hi there, I am new to MSP programming, currently working with MSP430F2418 core, and the jtag to flash code into my memory. I used the JTAG...

Hi there, I am new to MSP programming, currently working with MSP430F2418 core, and the jtag to flash code into my memory. I used the JTAG programmer and the TI code composer to compile the binary for MSP core in the mplatform, the compilation is OK, but when the msp430-jtag tries to write the binary into the flash memory, it has an error: Could not erase the Flash : Invalid parameter(s)....


Downloading a large log file to a PC

Started by diosper2 in MSP43016 years ago 6 replies

Hello: We have a logger using MSP430F1612, which is connected via an RS-232 line to the PC controlling it. The logger periodically wakes...

Hello: We have a logger using MSP430F1612, which is connected via an RS-232 line to the PC controlling it. The logger periodically wakes up, makes a measurements and writes the data to the external flash of the PC. After a while, it is time to transfer the data accumulated in the flash to the PC, in order to generate a local log file. Now, the external flash is pretty large, 64MB...


Reading a Flash byte

Started by mrobins99 in MSP43016 years ago 16 replies

I want to use a pointer to read the flash. I have x = * (unsigned long*)0xFFFE; txout(x); which works okay! How can I use a pointer...

I want to use a pointer to read the flash. I have x = * (unsigned long*)0xFFFE; txout(x); which works okay! How can I use a pointer and increment it?


writing parameters into flash

Started by in MSP43015 years ago 5 replies

Hello all, My design needs configuration parameters. These configuration parameters can be changed during the life of the product and should...

Hello all, My design needs configuration parameters. These configuration parameters can be changed during the life of the product and should not be lost when powering off the product A way to do that is to store these parameters into msp430 flash (I don't have external flash available). However, I just don't know how to do it with the msp430 I suppose that I have to: - Dedicate a...


Flash write on F5438

Started by Stefan Hauenstein in MSP43013 years ago 5 replies

Hi guys, I want to write 512 bytes into a one flash segment in one step. I have tested the following code and it works. But the data sheet says...

Hi guys, I want to write 512 bytes into a one flash segment in one step. I have tested the following code and it works. But the data sheet says that the programming voltage is applied to the complete 128-byte block. Does this mean that memcpy should work only at the first 128 bytes? Code is executed from flash, not Ram. Originally, I did write 128 * 4 bytes into the segment, but it's not as f...


Max flash timing generator frequency?

Started by Frederic Beaulieu in MSP43019 years ago 2 replies

Al, have you already test the reliability of the flash reprogrammation in function of the flash timing generator frequency? Can it be...

Al, have you already test the reliability of the flash reprogrammation in function of the flash timing generator frequency? Can it be reliably push faster than the 476kHz. Paul, Have you test this when you have developed your USB fet? Regards, Fred -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/200


MSP430 standalone flash programmer

Started by ti2tt in MSP43015 years ago 3 replies

Hello Forum Members, I am using CrossStudio for MSP430F1611. Using this IDE alongwith TI JTAG adapter, I can download the compiled output...

Hello Forum Members, I am using CrossStudio for MSP430F1611. Using this IDE alongwith TI JTAG adapter, I can download the compiled output file (*.hzx) to the uC flash. I want to download this file (*.hzx) to uC flash without using CrossStudio IDE. I will use TI JTAG adapter (MSP-FET430PIF) as it is. Is there any utility to perform this task? Has anyone tried this? Your earliest help i...


Tiny Flash File System

Started by Martijn Broens in MSP43021 years ago 11 replies

Hi All, I'm looking for a good and small flash file system, i.e. I'm looking for a way to store data in flash without having to store all the...

Hi All, I'm looking for a good and small flash file system, i.e. I'm looking for a way to store data in flash without having to store all the data at specific locations. So suppose you receive a data stream and need to store this for a while, and than a next stream get in, the old stream needs to be preserved until it is old, and the new one needs to be stored as well. I've read about Tin


Re: Flash Memory Verify with IAR Embedded Workbench

Started by Anders Lindgren in MSP43020 years ago 3 replies

Hi! > I'm using the IAR Embedded Workbench 3.2 which I downloaded from the > TI web site. Is there a way to compare the Program stored in...

Hi! > I'm using the IAR Embedded Workbench 3.2 which I downloaded from the > TI web site. Is there a way to compare the Program stored in the > MSP430F133 to the current build? In other words is there a way to > perform a Verify without overwriting Flash Memory. Well, I *think* that this should work if you go to the "Options", "C-SPY", "Flash Emulati


ADC noise when writing FLASH

Started by ccampbell_daed in MSP43014 years ago 2 replies

Hi Everyone I'm having a problem with an MSP430F5528: I use the ADC12 to sample an input at 8KHz, do a little processing of it, and write it...

Hi Everyone I'm having a problem with an MSP430F5528: I use the ADC12 to sample an input at 8KHz, do a little processing of it, and write it to FLASH, one 32 bit word for every 8 samples (simple ADPCM audio). The problem is that the ADC sample after the FLASH write shows a big noise spike. This spike is not present on the external analog signal, Vcc/AVcc, nor on the external buffered Vref ou...


Utility for flashing only?

Started by merapcb in MSP43013 years ago 11 replies

For field firmware upgrades, it seems cumbersome and unnecessary to send a technician with a version of IAR in order to flash a board. Is there no...

For field firmware upgrades, it seems cumbersome and unnecessary to send a technician with a version of IAR in order to flash a board. Is there no simple (stand alone) utility that can be used so all they have to do is select the right HEX and flash it? ------------------------------------


How to automatically find the start adress of the first unused flash segment ?

Started by distantship101 in MSP43014 years ago 5 replies

Hi, In my application, I use the built-in flash memory of the F249 to log some information. For now, I look at the link map to find out where...

Hi, In my application, I use the built-in flash memory of the F249 to log some information. For now, I look at the link map to find out where to start writing my log (beginning of the first unused flash segment, after the end of the CODE segment). Is there a way to determine this adress automatically ? I'm using IAR EWB. Thanks, Patrick ------------------------------------


What happens when MSP reads illegal instruction?

Started by ateichtmann in MSP43018 years ago 4 replies

Hi, i found nothing in the manuals and datasheets: What happens with the msp430 when it reads an illegal instruction (e.g. 0x0000) from the...

Hi, i found nothing in the manuals and datasheets: What happens with the msp430 when it reads an illegal instruction (e.g. 0x0000) from the memory? Reset? Nothing? The background of the question are safety matters: Usually, unused flash memory is filled with 0xFFFF after a flash erase. Is it better to fill unused flash memory with 0x0000 or 0xFFFF or a defined instruction? I think, 0xFFF


Re: saving structure to flash memory

Started by Preston Gurd in MSP43018 years ago

Hello John, Once flash memory has been initialized, it essentially becomes "write-once" memory until it is initialized again. So, once you...

Hello John, Once flash memory has been initialized, it essentially becomes "write-once" memory until it is initialized again. So, once you have initialized a segment (128 bytes if info memory or 512 bytes otherwise) you can use a similar structure assignment to place your data in flash. For instance, you might write something like void StoreConfigData(ConfigData *configData)


can anyone explain about #pragma dataseg

Started by Bobby in MSP43012 years ago 1 reply

I want to save my default constant in flash. can #pragma dataseg will help and how? can share a code for saving 01, 02, 03 ,04 in flash 0x1080...

I want to save my default constant in flash. can #pragma dataseg will help and how? can share a code for saving 01, 02, 03 ,04 in flash 0x1080 (info A). ------------------------------------


Flash program/erase cycles

Started by gripen_fighters in MSP43013 years ago 2 replies

I have a question regarding the flash erase/program cycles. In the user manual of msp430F4xx states that the number of cycles is min 10^4 and...

I have a question regarding the flash erase/program cycles. In the user manual of msp430F4xx states that the number of cycles is min 10^4 and typical 10^5. I do not know if a cycle is considered an erase + program, or erase is a cycle and program is another cycle, so when i do an erase + program 2 cycles are decremented from flash memory life. ------------------------------------


Guru needed

Started by marcostucchi2000 in MSP43020 years ago 24 replies

Hi all !! Having used all the flash available in my MSP430F149, I would like to know if any of you has succeded in placing code at address...

Hi all !! Having used all the flash available in my MSP430F149, I would like to know if any of you has succeded in placing code at address 0x0c00, where the bootstrap loader is usually stored. TI says it's ROM bu I have doubts ( why use ROM ? it's likely it's flash memory, and if some trick exists.. ) Thank you all ! Marco



The 2024 Embedded Online Conference