Thanks for the info, I have a few question about the method#2. I only want to put the value 0xAAAA5555 at the memory address 0x1000 (in the information memory of msp430F169). What I must write in the .a43 file??? After, can I only used: >msp430-jtag --eraseinfo -rR2048 serialNumber.a43 Fred
--- Chris Liechti <[email protected]> wrote: > Frederic Beaulieu wrote: > > Hi all, > > what is the fastest/elegant way to downlaod only a > > serial number directly into the information > memory. I > > want to be able to put the serial number before of > > after a program download into the main flash > memory > > wihtout corrupted it. Is there a fast way with > > msp430-jtag? > > there are several ways. > > - download an intel hex file (.a43). this format > is > easy to patch before downloading. > > - make a single line intel hex file with your > serial number > and write it with msp430-jtag. you must be sure > that the > memory you write to is erased. > > - otherwise you'd need to upload an entire flash > segment, patch > the values and download it again. that could be > done with > "msp430-jtag --ihex --upload 0x1000 --size 256" > (output to a > file or use pipes to connect the programs output > to each other) > > - you could also use the python modules, which > allow to call > memory read/write/erase commands manually. that > way you don't > need to create intermediate files. that's > probably what i'd do. > > chris > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > ===== ------------------------------- Frederic Beaulieu, M.Sc. Research and Development NewTrax Technologies Inc. 3674 Saint-Hubert Montreal, Qc, CANADA H2L 4A2 Tel: (514) 288-6398 Fax: (514) 221-3417 http://www.newtraxtech.com/ __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
