AnsweredAssumed Answered

LPCScrypt fails on LPC43S57

Question asked by Thomas Külz on Aug 29, 2019
Latest reply on Sep 10, 2019 by Thomas Külz

Hello,

I want to program my LPC43S57 Processor with LPCScrypt.

When I want to erase the internal Memory the program confirm the erase but the blank check send me a not Blank message.

To flash a firmware was also canceld with a verify error.

 

C:\NXP\LPCScrypt_2.0.0_831\bin>lpcscrypt.exe queryPart
partID = 0xa001c860 0
decode = LPC43S57: BankA 512KB, BankB 512KB
Core Clock = 180000000

C:\NXP\LPCScrypt_2.0.0_831\bin>lpcscrypt.exe queryFlash
Number of Flash Devices = 3
Name = BankA
Base = 0x1a000000
Size = 0x80000
Page = 0x1000
Sector = 8-64KB
Blank = 0xff
Buffer = 0x8000
Name = BankB
Base = 0x1b000000
Size = 0x80000
Page = 0x1000
Sector = 8-64KB
Blank = 0xff
Buffer = 0x8000
Name = EEPROM
Base = 0x20040000
Size = 0x3f80
Page = 0x80
Sector = NA
Blank = 0x0
Buffer = 0x8000

C:\NXP\LPCScrypt_2.0.0_831\bin>lpcscrypt.exe erase all
Erasing BankA ... completed in 0.210s
Erasing BankB ... completed in 0.110s
Erasing EEPROM ... completed in 0.260s

C:\NXP\LPCScrypt_2.0.0_831\bin>lpcscrypt.exe blankCheck BankA
Not blank at 0x1a000000

C:\NXP\LPCScrypt_2.0.0_831\bin>lpcscrypt.exe erase BankA
Erasing BankA ... completed in 0.210s

C:\NXP\LPCScrypt_2.0.0_831\bin>lpcscrypt.exe blankCheck BankA
Not blank at 0x1a000000

C:\NXP\LPCScrypt_2.0.0_831\bin>lpcscrypt.exe program BootloaderA9Start.bin BankA

LPC_Error Verify Error 0xb 0x1a000040
Error: <Command line>:1: Verify Error 0xb 0x1a000040
   Script cmd:      program BootloaderA9Start.bin BankA
   Last target cmd: =programPage 1a000000 2
Terminated with errors

 

When I use a LPC4357 (without S) Processor the erase and flash process work well.

It is possible to flash LPC devices with secure element on LPCScrypt?

 

Best regards,

Thomas

Outcomes