Hi Brendon,
Thank you for your reply.
I'm using LPCXpresso V8.2_650.
My image size is 173KB and I'm using a LPC11U24 development board.
Please see a message when I tried to program a flash below:
Ni: LPCXpresso RedlinkMulti Driver v8.2 (Sep 5 2016 10:12:38 - crt_emu_cm_redlink.exe build 725)
Pc: ( 0) Reading remote configuration
Pc: ( 5) Remote configuration complete
Nc: Probe Firmware: LPC-Link Probe v1.3 (NXP - LPC-Link)
Nc: Serial Number: HID64HS12
Nc: VID:PID: 1FC9:0007
Nc: USB Path:
Pc: ( 30) Emulator Connected
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Connected&Reset. DpID: 0BB11477. CpuID: 410CC200. Info: <None>
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Nc: inspected v.2 On-chip Flash Memory C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\bin\Flash\LPC11_12_13_32K_4K.cfx
Nc: image 'LPC11_12_13 (32K Flash, min 4K RAM) Jun 21 2016 11:53:34'
Nc: NXP: LPC11U14/201 Part ID: 0x00000000
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=true. was_stopped=false
Cr:f LPCXpresso Free License - Download limit is 8K (UNREGISTERED)
Pc: ( 70) License Check Complete
Et:53: License does not permit flash operations from command line
Pc: (100) Target Connection Failed
I don't know why it says that 8K limited even though LPCXpresso IDE says as follows:
LPCXpresso IDE (Free Edition) is fully activated
Welcome to LPCXpresso IDE (Free Edition). The software is now fully activated, and can be used for production. LPCXpresso (Free Edition) can be used to generate and download applications containing up to 256KB of code to an LPC target.
Note that I have check cscript in the command line, and it seems to work fine.
Thanks for your help. Please let me know if you need to know anything else.
Regards,
David