Hallo, ich mhte flash aus dem RAM heraus programmieren. Ich habe folgendes vor: In main-routine habe ich mein Flash-Programm. Das Flashen soll er RS232 geschehen. Wenn man Flashen mhte, so wird erst das Flash- Routine in RAM kopiert. Diese Routine programmiert das Flash mit den Daten, die er RS232 kommen. Fragen: 1. Wie kann ich die Flash-Routine ins RAM kopieren. Es we super, Beispielprogramm in C. 2. Und wie kann ich vom RAM heraus Flash-Programmieren. Danke.
Flash Programmieren aus dem RAM heraus
Started by ●December 2, 2005
Reply by ●December 2, 20052005-12-02
Hallo,
das findet man bei TI in SLAA103.pdf. Das ist ein guter Start.
Dieter Teuchert
sifiland wrote:
>Hallo,
>
>ich mhte flash aus dem RAM heraus programmieren.
>
>Ich habe folgendes vor:
> In main-routine habe ich mein Flash-Programm. Das Flashen soll er
>RS232 geschehen. Wenn man Flashen mhte, so wird erst das Flash-
>Routine in RAM kopiert. Diese Routine programmiert das Flash mit den
>Daten, die er RS232 kommen.
>
>Fragen:
>1. Wie kann ich die Flash-Routine ins RAM kopieren. Es we super,
>Beispielprogramm in C.
>2. Und wie kann ich vom RAM heraus Flash-Programmieren.
>
>Danke.
>
>
>
>
>
>
>
>
>.
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
Reply by ●December 2, 20052005-12-02
Have you considered buying on off the shelf solution for updating the Flash from:- http://www.hcc-embedded.com/site.php?mid0 rather than writing your own proprietary solution from scratch. Trust me, this software can save many months of development time. Giving a professional solution you could even use to role out enhanced service functionality to your end customers. I've been helping customers for years, wrestling with the creation of custom firmware update mechanisms, for many millions of devices now in the field. And it's ALWAYS painful, without any exceptions! It always sounds simple enough, yet proves time and time again to be actually very much more time consuming than most people think and really quite tricky to iron out all the little after-thought problems. Some engineers spend their life worrying about managing Flash accumulative programming time and the effects of Flash cell disturbance. This takes care of all these subtle complications. as well as basic communications reliability. This mechanism is not only completely power fail safe, security conscious and idiot proof both in terms of use and abuse. There's nothing new to learn and you don't even have any PC or embedded software to write. Retrofit able to Any existing MSP430 designs in under 1 hour. You can immediately start copy and paste of firmware updates and embedded data files directly to a blank 1Kbyte MSP430 as though it were a tiny USB memory stick, using nothing more than the built-in Boot Mode and RS232 handshake lines. You do need to install the (otherwise invisible) Windows driver. Calibration, data logging, and internet access have never been easier on any microcontroller. It even acts as a shareable drive across any TCP/IP network. And completely hot-swappable between wired and wireless modules or between TWO or more MSP430's sharing files, without changing any embedded code. From under 30bytes of code, the very worst case firmware overhead may be as high as 3Kb of Flash and 64 bytes of RAM, expanding virtual ROM & RAM to 8Mb (at $0.50 per Mbyte), whilst still retaining MSP430's unique Low power focus. No need for MCU with 128Kb or 256Kb of Flash. As An Application Engineer for MSP430 I have absolutely nothing to gain from singing this praise. It's just really cool technology and can only be done on an MSP430, because of its unique Flash. Too many customer buy Flash and abuse it as a mere MaskROM substitute programmed only once at time of manufacture. What an amazing waste, of cost and on-chip capabilities. Hope this helps. Colin, -----Original Message----- From: msp430@msp4... [mailto:msp430@msp4...] On Behalf Of sifiland Sent: 02 December 2005 13:43 To: msp430@msp4... Subject: [msp430] Flash Programmieren aus dem RAM heraus Hallo, ich mhte flash aus dem RAM heraus programmieren. Ich habe folgendes vor: In main-routine habe ich mein Flash-Programm. Das Flashen soll er RS232 geschehen. Wenn man Flashen mhte, so wird erst das Flash- Routine in RAM kopiert. Diese Routine programmiert das Flash mit den Daten, die er RS232 kommen. Fragen: 1. Wie kann ich die Flash-Routine ins RAM kopieren. Es we super, Beispielprogramm in C. 2. Und wie kann ich vom RAM heraus Flash-Programmieren. Danke. ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/CFFolB/TM --------------------------------~-> . Yahoo! Groups Links