EmbeddedRelated.com
Memfault Beyond the Launch

Re: BSL WITH MSP430F5437A

Started by "ant...@gmail.com" in MSP43010 years ago

--------------Boundary-00=_Q204WCW0000000000000 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding:...

--------------Boundary-00=_Q204WCW0000000000000 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 ;*********************** PROGRAM TRANSFER CODE ***************************= *** ;THE XFRCODE MUST BE MOVED FROM FLASH TO RAM AND THEN EXECUTED FROM RAM. = THIS ;CODE IS PART OF THE OBJECT CODE THAT WILL BE ERASED WHEN THE FLASH MEMORY= IS...


FET with c-spy debugger

Started by Raghavendra Bulusu in MSP43021 years ago 6 replies

Hi I am trying to test how a FET works along with the new IAR embedded c/c++ compiler and debugger.I wrote a sample code to...

Hi I am trying to test how a FET works along with the new IAR embedded c/c++ compiler and debugger.I wrote a sample code to flash the led.I have the flash emulation tool from SOFTBAUGH,I guess this FET is directly connected to the parrallel port with out any interfaces in between(also i need not give external voltage supply i guess),I am connecting this FET to the demo ki


Flash memory (info segments) corruption

Started by Dan Muzzey in MSP43017 years ago 17 replies

I've had several cases recently where the info segments of the flash memory has gotten corrupted. By corrupted I mean that the data I though I...

I've had several cases recently where the info segments of the flash memory has gotten corrupted. By corrupted I mean that the data I though I had stored in the info segments was no longer there. Has anyone else here seen this or does anyone have any suggestions on how to avoid it? I've double checked the set up registers and the clocks and everything appears to be good. We are using an MS...


Using Atmel AT45DB642D Data Flash with MSP430

Started by diosper2 in MSP43017 years ago 6 replies

Hello: Does anyone has any experience with using the Atmel AT45DB642D Data Flash with the MSP430? Are there any drivers available on the...

Hello: Does anyone has any experience with using the Atmel AT45DB642D Data Flash with the MSP430? Are there any drivers available on the net somewhere? We wouldn't like to re-invent the wheel:-) Our programmers have this idea: ---- I saw an interesting thing ... the clock supplied to the memory is not continuous. It's the SPI clock which is active only when sending smth from the ...


Flash boot strap loader

Started by Jeff in MSP43020 years ago 9 replies

Hello All I am a newcomer to the MSP430, I would like to implemented a flash bootloader on the MSPF1611 using existing on UART to talk to an...

Hello All I am a newcomer to the MSP430, I would like to implemented a flash bootloader on the MSPF1611 using existing on UART to talk to an existing PC VB application via the serial link, so this would probably involve copying code to RAM and running a small bootloader from RAM. Has any one done this? If so is there any VB and/or MSP code examples? I have already got a VB application t


Little help on non volatile variables / memory segments

Started by gleitaoeec in MSP43017 years ago 4 replies

Hi all. I'm trying to store 3 char variables on the flash memory of an MSP430F123. These 3 variables must remain unchanged on power failure,...

Hi all. I'm trying to store 3 char variables on the flash memory of an MSP430F123. These 3 variables must remain unchanged on power failure, so I can update a counter at power up. I'm using the C TI example fet120_flash_write.c changed for my needs, i.e., I don't clear the memory at startup, I point de Flash pointer to 0x1080 and write the char values on this address and the next 2....


Problem rewriting previous locations in FLASH?

Started by Adeel in MSP43020 years ago 2 replies

Hi guys, I'm trying to record user button pushes to INFO Flash with the saveProgram() routine below. The first time the routine is called...

Hi guys, I'm trying to record user button pushes to INFO Flash with the saveProgram() routine below. The first time the routine is called it works fine. The second time the routine is called it does not rewrite the locations. In fact, in some of the locations it writes in a zero. Stepping through the statements I can't find why it would do that, all the necessary registers seem to be ready w


MSP430 as pendrive

Started by davehcc in MSP43019 years ago 2 replies

For your information HCC-Embedded have released a development board for the MSP430 which comes with demo programs for creating reliable file...

For your information HCC-Embedded have released a development board for the MSP430 which comes with demo programs for creating reliable file systems in the internal flash, external serial flash and also PC compatible with MC/SD card system using minimal RAM. Also with the demo board is HCC's uCDrive software so you can connect your MSP to PC and it appears as a standard pendrive. Use y


c++ how to put a const variable into flash memory in a class

Started by htrada2 in MSP43016 years ago 1 reply

Hi, I=B4ve been using msp430 for several years and for some months i=B4ve been experimenting in the use of c++ objects to see how the compiler...

Hi, I=B4ve been using msp430 for several years and for some months i=B4ve been experimenting in the use of c++ objects to see how the compiler deals with them. My question is: I have a class with some const variables inside which are initialized by the constructor (for example the size of a buffer). Is it posible to force the compiler to locate this variable in flash memory instead of ram?....


digital audio store, digital audio out help

Started by del_stevens in MSP43017 years ago 3 replies

I am looking for help from anyone who has implemented digital audio stored in some type of flash and then "playe" out over DAC. I guess I have...

I am looking for help from anyone who has implemented digital audio stored in some type of flash and then "playe" out over DAC. I guess I have 2 questions: 1. how are people storing digital audio files (5-20 seconds 16 bit encoded)? 2. does anyone have experience (and examples) of taking that stored (in flash maybe?) audio and putting it out using the DAC? I appreciate anyone's help...


ADC & SPI Interrupts

Started by bigdog16_83 in MSP43019 years ago 3 replies

I am developing a system where I have to communicate through the SPI with a flash (ATMEL AT45DB081B) based on what value I obtain on one...

I am developing a system where I have to communicate through the SPI with a flash (ATMEL AT45DB081B) based on what value I obtain on one of my ADC12 ports. I am using the MSP430-149. Right now the system is set up such that the ADC has its own interrupt and if a certain value is hit - it sends an opcode out the SPI (SIMO) to the flash. This ends the ADC interrupt. The opcode though tells


SMCLK output on P1.4

Started by Mariano Hourquebie in MSP43020 years ago 1 reply

I'm working with a MSP430F1121A chip and I have some problem with the data in the Information Memory Flash. I think that the flash...

I'm working with a MSP430F1121A chip and I have some problem with the data in the Information Memory Flash. I think that the flash timing generator frecuency is not correct. I can't measure the frecuency of SMCLK in the output pin 17 (P1.4) . In my code: P1DIR |= 0x10; P1SEL |= 0x10; P2DIR |= 0x01; P2SEL |= 0x01; On the pin 8 (P2.0/ACLK) I can see a square signal of 32 Kh


Writing to flash

Started by Jardar Johannes Maatje in MSP43021 years ago 5 replies

I an integer that I want to be located in flash memory on the MSP430F1121 chip. But I have a problem making this work: #define...

I an integer that I want to be located in flash memory on the MSP430F1121 chip. But I have a problem making this work: #define ONBOARD_FLASH_ADDRESS 0x1080 ... uint *ptrToCounter = (uint *) ONBOARD_FLASH_ADDRESS; *ptrToCounter = FCTL2 = FWKEY + FSSEL0 + FN0; while ( FCTL3 & BUSY); FCTL3 = FWKEY; FCTL1 = FWKEY + WRT; *ptrToCounter = absoluteFlashPointer;


SPI Interface Line Length question on MSP430F148

Started by greg.linder in MSP43018 years ago 1 reply

I've got a successful project operating using an MSP430F148 talking SPI to a flash card. The problem, however, is as follows: The prototype of...

I've got a successful project operating using an MSP430F148 talking SPI to a flash card. The problem, however, is as follows: The prototype of the project has the flash card mounted very, very near the MSP430 (i.e. the MSP430 is sitting directly underneath the hollow part of the SD card socket), and it works great. On the device this gets installed in, however, the card needs to be accessi


Must calibration data reside in flash segment INFO A ?

Started by distantship101 in MSP43015 years ago 1 reply

Hi, I have a question about the calibration data in flash segment INFO A (MSP430F2xx devices). Are these values used "internally" (i.e....

Hi, I have a question about the calibration data in flash segment INFO A (MSP430F2xx devices). Are these values used "internally" (i.e. directly used by some modules) or only when explicitly accessed by my code ? That is, can I decide to store them somewhere else and store other data in INFO A instead, or is it mandatory to keep them in INFO A ? Thanks, -----------------------------------...


Help overcome IAR linker error restoring DCO calibration values in INFOA Flash

Started by colin_garlick in MSP43017 years ago 2 replies

Having accidentally erased the calibration values from INFOA Flash. It sounds simple enough, that for simple convenience I'd ideally like to be...

Having accidentally erased the calibration values from INFOA Flash. It sounds simple enough, that for simple convenience I'd ideally like to be able to restore the values I was careful enough to write down (for the ONLY board I'll be using), as a conditional build option. However, there appears to be a linker segment clash, I can't figure out how to avoid. It works links with predicta...


Using the serial cable for programming the flash?

Started by khamba_msp430 in MSP43013 years ago 3 replies

Hello, I have just started working with the MSP430 line and I have recently got my hands on a proto board for the MSP430F1611 by olimex...my...

Hello, I have just started working with the MSP430 line and I have recently got my hands on a proto board for the MSP430F1611 by olimex...my question is simple: Can I use a USB to serial(RS232-DB9 connector) cable to program the flash of my device? I am using compilers like the CCE3.1 and CCE4.0...help will be greatly appreciated... PC---> (USB to SERIAL DB9)---> PROTO FOR MSP430F1611 will it


DIY flash programmer

Started by couldabin2706 in MSP43016 years ago 10 replies

I'm trying out a crude DIY flash programming tool, without much success, and I'm wondering if anyone else has tried this. I have the USB...

I'm trying out a crude DIY flash programming tool, without much success, and I'm wondering if anyone else has tried this. I have the USB stick development tool (ez430-F2013), which of course comes with a target board. The target board connects to the USB stick via four pins, which are connected to pins 1,10,11 and 14 on the MCU. What I thought I could do is make a cable that plugs into...


Flash segment erase how to find the start of the section?

Started by Martijn Broens in MSP43020 years ago 2 replies

Hi all, I need to create a function that copies a complete flash segment to RAM but I should be able to call the function with any address...

Hi all, I need to create a function that copies a complete flash segment to RAM but I should be able to call the function with any address within that segment, and the function should be able to find the start of the section it self. Example: /*********************************************************************** ************************** Function : flash_Push Parameter :


LaunchPad shipping with MSP430G2553

Started by Jim in MSP43012 years ago 6 replies

I ordered another LaunchPad from TI on Nov 29 and was pleasantly suprised when it arrived on Dec 2, populated with a 20-pin PDIP MSP430G2553, and...

I ordered another LaunchPad from TI on Nov 29 and was pleasantly suprised when it arrived on Dec 2, populated with a 20-pin PDIP MSP430G2553, and a spare MSP430G2452. The G2553 has 16K FLASH, 512 Bytes SRAM, 2 16-bit timers, USCI_A (UART/IrDA/SPI), USCI_B(SPI/I2C), 8 Comparators, Temp Sensor, and 8-chan 10-bit SAR ADC. In other words, enough FLASH, RAM & peripherals to get into some fairly complex...



Memfault Beyond the Launch