Code protection
2004-04-16 by Gus
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
2004-04-16 by Gus
Hello, Does anyone know if FLASH read protect( 0x1FC with value 0x87654321 ) really works? Is there a work arround it to get to memory? Thanks, Gus
2004-04-17 by Dave Hylands
Hi Gus, This is a very interesting article on reverse engineering: http://www.cl.cam.ac.uk/~mgk25/sc99-tamper-slides.pdf -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/
> -----Original Message----- > From: Gus [mailto:gus_is_working@...] > Sent: Friday, April 16, 2004 10:51 AM > To: lpc2000@yahoogroups.com > Subject: [lpc2000] Code protection > > > Hello, > > Does anyone know if FLASH read protect( 0x1FC with value > 0x87654321 ) really works? > > Is there a work arround it to get to memory? > > Thanks, > > Gus
2004-04-19 by Hugh O'Keeffe
Hi Gus, Yes, it does work, however, note the following: It's only supported on 64-pin/144-pin LPC2000 devices with a Boot Loader ID >= 1.6 (you can check your device's ID using Ashlings FlashLPC utility or the Philips FlashISP utility). Code read protection is enabled by programming the flash address location 0x1FC (User flash sector 0) with value 0x87654321 (2271560481 Decimal). If Read Protection is enabled then the device has to be fully erased (thus disabling Read Protection) before it can be re-programmed. In addition, you will not be able to "connect" to the device via JTAG, hence, erasing must be done using FlashLPC/FlashISP. Hugh @ http://www.ashling.com/support/lpc2000/
-----Original Message----- From: Gus [mailto:gus_is_working@...] Sent: 16 April 2004 18:51 To: lpc2000@yahoogroups.com Subject: [***SPAM*** Score/Req: 07.53/05.00] [lpc2000] Code protection Hello, Does anyone know if FLASH read protect( 0x1FC with value 0x87654321 ) really works? Is there a work arround it to get to memory? Thanks, Gus _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/lpc2000/ * To unsubscribe from this group, send an email to: lpc2000-unsubscribe@yahoogroups.com <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
2004-05-05 by bobtransformer
Hi folks... I'm coming from AVR land, (because of defective Atmel silicon and looking at these LPC parts), and see that writing 0x1fc with 0x87654321 (sector 0 ?) protects the flash from being read. I am curious if this is actually documented by Philips or somewhere else. I cannot seem to find any references to it except on forums etc... Thanks, bob
2004-05-05 by douglasbolton
--- In lpc2000@yahoogroups.com, "bobtransformer" <bgudgel@e...> wrote: > > Hi folks... I'm coming from AVR land, (because of defective Atmel > silicon and looking at these LPC parts), and see that writing 0x1fc > with 0x87654321 (sector 0 ?) protects the flash from being read. > > I am curious if this is actually documented by Philips or somewhere > else. > > I cannot seem to find any references to it except on forums etc... > > Thanks, > bob We are also moving to the LPC parts because of problems with the avr. For my interest, was your problems with the avr corruption of flash code at boot up ??
2004-05-05 by Hugh O'Keeffe
Hi Bob, Rest assured that flash protection works and is endorsed by Philips; they are working on the docs AFAIK. . See the FAQ on our site for some important information: <http://www.ashling.com/support/lpc2000/knowledge_base.html> http://www.ashling.com/support/lpc2000/knowledge_base.html. In particular, the section " <http://www.ashling.com/support/lpc2000/knowledge_base.html#> How do I enable LPC2000 Flash Read protection? " Hugh @ <http://www.ashling.com/support/lpc2000/> http://www.ashling.com/support/lpc2000/
-----Original Message----- From: bobtransformer [mailto:bgudgel@eskimo.com] Sent: 05 May 2004 03:34 To: lpc2000@yahoogroups.com Subject: [lpc2000] Re: Code protection Hi folks... I'm coming from AVR land, (because of defective Atmel silicon and looking at these LPC parts), and see that writing 0x1fc with 0x87654321 (sector 0 ?) protects the flash from being read. I am curious if this is actually documented by Philips or somewhere else. I cannot seem to find any references to it except on forums etc... Thanks, bob Yahoo! Groups Sponsor ADVERTISEMENT <http://rd.yahoo.com/SIG=129k0qee0/M=295196.4901138.6052515.3001176/D=groups /S=1706554205:HM/EXP=1083810837/A=2128215/R=0/SIG=10se96mf6/*http://companio n.yahoo.com> click here <http://us.adserver.yahoo.com/l?M=295196.4901138.6052515.3001176/D=groups/S= :HM/A=2128215/rand=935783158> _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/lpc2000/ * To unsubscribe from this group, send an email to: lpc2000-unsubscribe@yahoogroups.com <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
2004-05-05 by bobtransformer
The reason I am interested in looking at other parts are because of Atmels bad silicon on the ATmega32,64, and 128 parts and Atmels poor response to customers problems. The parts don't work at 16 MHz and sometimes down to even 10 or 12 MHz when warm. http://www.avrfreaks.net/phpBB2/viewtopic.php?t=14647 Thanks, bob --- In lpc2000@yahoogroups.com, "douglasbolton" <doug@c...> wrote: > --- In lpc2000@yahoogroups.com, "bobtransformer" <bgudgel@e...> wrote: > > > > Hi folks... I'm coming from AVR land, (because of defective Atmel > > silicon and looking at these LPC parts), and see that writing > 0x1fc > > with 0x87654321 (sector 0 ?) protects the flash from being read. > > > > I am curious if this is actually documented by Philips or somewhere > > else. > > > > I cannot seem to find any references to it except on forums etc... > > > > Thanks, > > bob > > We are also moving to the LPC parts because of problems with the avr. > For my interest, was your problems with the avr corruption of flash > code at boot up ??
2004-05-05 by bobtransformer
Yes, thank you... I found that link easily on Google, but I wondered why Philips would now have that very important information in their documentation or even on their web site. I believe I had seen a message from Philips regarding the issue though on some other web forum. thanks, bob --- In lpc2000@yahoogroups.com, "Hugh O'Keeffe" <hugh.okeeffe@a...> wrote: > Hi Bob, > > Rest assured that flash protection works and is endorsed by Philips; they > are working on the docs AFAIK. . See the FAQ on our site for some important > information: > <http://www.ashling.com/support/lpc2000/knowledge_base.html> > http://www.ashling.com/support/lpc2000/knowledge_base.html. In particular, > the section " <http://www.ashling.com/support/lpc2000/knowledge_base.html#> > How do I enable LPC2000 Flash Read protection? " > > > > > Hugh @ <http://www.ashling.com/support/lpc2000/> > http://www.ashling.com/support/lpc2000/ > > > -----Original Message----- > From: bobtransformer [mailto:bgudgel@e...] > Sent: 05 May 2004 03:34 > To: lpc2000@yahoogroups.com > Subject: [lpc2000] Re: Code protection > > > > Hi folks... I'm coming from AVR land, (because of defective Atmel > silicon and looking at these LPC parts), and see that writing 0x1fc > with 0x87654321 (sector 0 ?) protects the flash from being read. > > I am curious if this is actually documented by Philips or somewhere > else. > > I cannot seem to find any references to it except on forums etc... > > Thanks, > bob > > > > > > > Yahoo! Groups Sponsor > > ADVERTISEMENT > > <http://rd.yahoo.com/SIG=129k0qee0/M=295196.4901138.6052515.3001176/D= groups > /S=1706554205:HM/EXP=1083810837/A=2128215/R=0/SIG=10se96mf6/*http:// companio > n.yahoo.com> click here > > <http://us.adserver.yahoo.com/l? M=295196.4901138.6052515.3001176/D=groups/S= > :HM/A=2128215/rand=935783158> > > > _____ > > Yahoo! Groups Links > > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/lpc2000/ > > > * To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service > <http://docs.yahoo.com/info/terms/> .
2004-07-12 by microbit
Hi all, Out of curiousity, I've put in an ORG directive to place 0x87654321 at address 0x1FC in Flash to see if the code protection works. Reading the code back and comparing with Bootloader is succesful - thus the part isn't protected. I'm using an LPC2119 Bootloader ID = 1.6. Anyone know what I'm doing wrong ? I thought these parts had protection in there ? -- Kris
2004-07-12 by haack0815
--- In lpc2000@yahoogroups.com, "microbit" <microbit@c...> wrote: > Hi all, > > Out of curiousity, I've put in an ORG directive to > place 0x87654321 at address 0x1FC in Flash to see if > the code protection works. > Reading the code back and comparing with Bootloader > is succesful - thus the part isn't protected. > I'm using an LPC2119 Bootloader ID = 1.6. > > Anyone know what I'm doing wrong ? > I thought these parts had protection in there ? > > -- Kris Hi Kris, take a look at the usermanual(2004-05-03) at page 269. Sorry your bootloader version must be 1.61 or higher. Andreas
2004-07-13 by microbit
Thanks Andreas ! Too many things to look at all at the same time :-) B rgds Kris ----- Original Message ----- From: "haack0815" <lpc_arm@...> To: <lpc2000@yahoogroups.com> Sent: Monday, July 12, 2004 8:31 PM Subject: [lpc2000] Re: Code protection > --- In lpc2000@yahoogroups.com, "microbit" <microbit@c...> wrote: > > Hi all, > > > > Out of curiousity, I've put in an ORG directive to > > place 0x87654321 at address 0x1FC in Flash to see if > > the code protection works. > > Reading the code back and comparing with Bootloader > > is succesful - thus the part isn't protected. > > I'm using an LPC2119 Bootloader ID = 1.6. > > > > Anyone know what I'm doing wrong ? > > I thought these parts had protection in there ? > > > > -- Kris > > Hi Kris, > > take a look at the usermanual(2004-05-03) at page 269. > Sorry your bootloader version must be 1.61 or higher. > > Andreas > > > Yahoo! Groups Sponsor > ADVERTISEMENT > > > > > > -------------------------------------------------------------------------- ------
> Yahoo! Groups Links > > a.. To visit your group on the web, go to: > http://groups.yahoo.com/group/lpc2000/ > > b.. To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > >
2004-07-13 by Lasse Madsen
Hi All While waiting for my LPC2106 board to arrive (Thanks for all the help on my former topic around the LPC2106 processor!!!) I'm now very interessted in the LPC2214 (because of the ext. mem interface, more IO and pheripals) How ever some questions came to me last night while drawing the LPC2214 into protel 1. The BSLx pins, all memory IC's i've used had a software bank select are these pins used to hardware select banks on large memory devices, if yes could you recommend any compatible ? 2. I would like to use all 8 pins of the ADC but these are mapped to BSL pins 2 / 3 This means (if im correct) that any memory i connect cant use more than BANK 0 and 1 because i want BANK2+3 used for the ADC 3. I had this in mind: I saw that BOOT could be set so that CS0 would select a bootable flash insted of the internal (very smart) On default the device boots from the external flash, (CS0) it is then possible to "invoke" a special bootload where the BOOT pins are shifted so that the LPC boots from internal flash where a "bootloader" programs the external flash, maybe from GPRS,UART or some other source and then when finished it sets the BOOT pins for external flash and resets it self (all this should be done with an external chip im thinking ATmega8515 or something similar) 4. From past experience with ARM that I was able to specify the bandwidth of the databus/address bus I am probertly not going to use any external devices with more than 16 data and 20 address pins. (unless you guys know some fancy part which is a must have :) so is it possible to specify (for instance) 5. I have a device on CS0, it has 16 data and 20 address pins, this is the largest part in my design can I then allocate the rest of the data pins as GPIO and the rest of the address pins as general purpose outputs ? 6. Can I use all the TRACExxx, PIPExxxx pins as general purpose pins (ofcause respecting their fixed I/O setting) ? 7. Wanting to add a regular JTAG (not the fancy one with a million pins) for programming the internal flash can I use Leon Heller's schematic as a reference (Files->Hardware->JTAG->Jtag.pdf) ?? 8. Why in god's name did philips select the DCD pin which is an input on the modem interface for sampling the bootloader I think this is the worst pin possible to select, it renders this pin on the modem interface useless unless i want to add a bunch of extra components, Shame on you philips, there are other pins, use them insted ! 9. Can any one suggest some compatible flash or ram devices for the LPC2214 ??? Thanks for reading ! Best regards Lasse Madsen
2004-07-13 by Pauric Doherty
I've recently started programming with the arm devices and specifically the Philips LPC2194 device. I'm running the sample programs supplied in the Ashling Development system. I'm trying to store some of the programs in flash instead of ram. I've tried to use the LPC2000 Flash Utility and the Flash LPC program from Ashling but both programs require hex file types. How do I convert elf/dwarf files to hex format. Is there a conversion program? I can't find any options within the Ashling Development Environment (AsIDE) to output hex files instead of elf files. Thanks in advance Pauric
2004-07-13 by Hugh O'Keeffe
Hi Pauric, Details are on our FAQ page. http://www.ashling.com/support/lpc2000/knowledge_base.html Look for the question: <http://www.ashling.com/support/lpc2000/knowledge_base.html#> How do I generate an Intel-Hex-format output file ? By default, AsIDE will tell the GNU Linker to produce an ELF format output file. If you.....
-----Original Message----- From: Pauric Doherty [mailto:pauric_doherty@...] Sent: 13 July 2004 09:02 To: lpc2000@yahoogroups.com Subject: [lpc2000] Converting elf/dwarf files to hex files? I've recently started programming with the arm devices and specifically the Philips LPC2194 device. I'm running the sample programs supplied in the Ashling Development system. I'm trying to store some of the programs in flash instead of ram. I've tried to use the LPC2000 Flash Utility and the Flash LPC program from Ashling but both programs require hex file types. How do I convert elf/dwarf files to hex format. Is there a conversion program? I can't find any options within the Ashling Development Environment (AsIDE) to output hex files instead of elf files. Thanks in advance Pauric Yahoo! Groups Sponsor ADVERTISEMENT <http://us.ard.yahoo.com/SIG=129ql53ba/M=295196.4901138.6071305.3001176/D=gr oups/S=1706554205:HM/EXP=1089792009/A=2128215/R=0/SIG=10se96mf6/*http://comp anion.yahoo.com> click here <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S= :HM/A=2128215/rand=562008522> _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/lpc2000/ * To unsubscribe from this group, send an email to: lpc2000-unsubscribe@yahoogroups.com <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed]