Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - jmlopes

#1
LPC9xx/LPC9xxx / Can't erase Security bits
December 10, 2007, 03:43:43 PM
Hi friends! ;D

  I was happy with my project. It was running fine. But, I set the security bits (bit 0, bit 1 and bit 2) in many blocks and I can't erase ou programmer it again.
  I'm using lpc915.  I am using self made Hardware (like MCB900) in ICP mode. The bridge code is version 1.7 ,in a LPC921.

  The bridge works fine (I think). I read device signature, Blank check, etc. But, I can't to erase (global erase) in LPC915.
  In LPC936, I erase all memory (Global erase). It's work fine. But in LPC915, the FM show: Operation Failed.(erasing device).
  In command line, the problem is the same:

F:\>fm @lpc915teste.txt
Flash Magic Version 4.02.260
8051/XA Driver Version 2.41.258
ARM Driver Version 1.32.260
(C) Embedded Systems Academy 2000-2007 All rights reserved
NON PRODUCTION USE ONLY
Connected
Device selected
Manufacturer ID: 0x15
Device ID 1: 0xDD
Device ID 2: 0x17
Erase failed: invalid command - Operation Failed. (erasing device) (DEVICE)

The file is:

DEVICE(89LPC915,7.372)
READSIGNATURE
COM(2,19200) HARDWARE(KEILMCB900, 250, 300) ERASE(DEVICE, PROTECTISP)
ERASE(1, PROTECTISP)
ERASEUSED(Pul.hex, PROTECTISP)
HEXFILE(Pul.hex, NOCHECKSUMS, NOFILL, PROTECTISP)

  So, how can I erase the Security bits in LPC915?  :'(

   thank for help !
       Jorge

 
#2
Hi people !

I'm working with the LPC915 and a strange problem happened. When I set the lock bits (bit 0) block 0 and 1, the P0.1 and P1.0 don't work.
I have a LED in P0.1 and a simple output in P1.0.
I need these pins for the signal output.

What's happening ?

Does someone have the same problem ?

Thanks in advanced.
        Jorge