Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: Roger on February 04, 2005, 09:56:29 am

Title: LPC security bits- please clarify
Post by: Roger on February 04, 2005, 09:56:29 am
These tssop's (LPC932...936) are soldered in, so they will probably will be destroyed if removed, besides I
Title: Re: LPC security bits- please clarify
Post by: Andy Ayre on February 04, 2005, 10:01:53 am
You can erase only selected blocks if you wish, simply by selecting them. Any other blocks and their security bits will be ignored.

Don't know about parallel programming, sorry.

If you mean programming CRCs into the device, then no that is not automatic. The LPC9xx family can generate the CRCs and display them when requested (ISP menu -> Cycle Redundancy Check). If you want a checksum that your application can read to verify itself, then you can use the Checksums feature provided in Flash Magic. See the manual for details.

Title: Re: LPC security bits- please clarify
Post by: erikm on February 04, 2005, 10:41:11 am
when secured can a parallel programmer be used to read the contents? (not good)

No it cant  Why the "not good?, who cares, the value of retrieved object is infinitessemally small.

Erik
Title: Re: LPC security bits- please clarify
Post by: kasd on September 05, 2005, 01:31:32 am
Andy,

Now trying to generate the checksum for my LPC931 device using the Flash magic.

However, I have different CRC for my hex file and the LPC931 target after programming.

I choose

1. "Generate checsum" -> checked
2. "Fill unused Flash" -> unchecked
3. "Erase all Flash"-> checked
4. "Protect ISP code"-> checked

There is difference for the memory block 0, 1, 2, and 3 that my code used. The total checksum will be different as expected since my code does not include the ISP code. However, the difference CRC for the first four blocks make me very puzzled.

kasd
Title: Re: LPC security bits- please clarify
Post by: Andy Ayre on September 05, 2005, 02:43:17 pm
If you use the generate checksums option then Flash Magic programs a checksum into the last byte of each block. This will cause the memory contents to be different from the hex file.