Serial Number
2005-09-07 by amastella@via-rs.net
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
2005-09-07 by amastella@via-rs.net
Does anybody know a way to save a serial number during LPC flash programming? Is there a flash loader utility that makes it? Thanks André [Non-text portions of this message have been removed]
2005-09-07 by Mark Butcher
Hi André Two possible methods: 1. Write a new flash programmer - it takes a day or two - details are in the data sheets. I did it for the following reasons: - when we load code in the factory our loader software first checks the boot loader version in the LPC and updates it if necessary (we had some problems with versions pre V1.52 and we still get chips with older versions). - We can then automatically add a serial number during software loading by simply changing a code location. In fact it reads the serial number from a scanner from a bar code on the housing and sets this automatically when loading. - The Philips utility is a bit risky since it loads the code starting at address 0 upwards. This means that it sets the validity vector almost immediately and if for some reason the programming is disturbed the boot loader will try to start the partially loaded code, which crashes. Since the LPC is enclosed in our equipment it is a pain to open it all up and hold the ISP line low to try again - we don't allow ISP access normally so the line is protected. Our loader loads the code in a different order, leaving the programming of the validity vector until the very very last possible moment. This means that it is almost impossible that a disturbed download leads to problems... 2. After loading you can get the application to program a serial number using IAP, which you maybe type in over a serial port, etc. Hope this helps. Regards Mark Butcher www.mjbc.ch PS. If any one is interested in our Windows program to automatically update boot loader and load code in a factory environment (for example) we may be able to do a deal - just contact me... --- In lpc2000@yahoogroups.com, amastella@v... wrote: > Does anybody know a way to save a serial number during LPC flash programming?
> Is there a flash loader utility that makes it? > > Thanks > André > > [Non-text portions of this message have been removed]