53: License does not permit flash operations from command line

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

53: License does not permit flash operations from command line

917 Views
davidyun
Contributor II

Hello,

 

While I am trying to programme the flash I've got the above error message.

I have checked my license which has been activated.

 

Please find attached files which are generated from a diagnostic mode.

I have also included a log file from .metadata folder from my workspace.

 

Please could you help me with this issue.

 

Regards,

David

Original Attachment has been moved to: NXPLPCXpresso.zip

Labels (1)
0 Kudos
7 Replies

629 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Check read permissions in the LPCXpresso license directory in  \User\Public. Also, some virus checkers do not allow the script engine to run. This is required.

Thanks and regards,

LPCXpresso Support

0 Kudos

629 Views
davidyun
Contributor II

I have a full permission on \User\Public. Regarding virus checker, my colleague has same virus checker as me and it works fine in his PC. It is managed by my company, so virus checker configuration should be exactly same.

Is there anything else I can try to solve this issue?

Could you also please explain the above Flash error message about  Download limit is 8K (UNREGISTERED)?

Thanks,

David

0 Kudos

629 Views
brendonslade
NXP TechSupport
NXP TechSupport

Hi David,

Did you register your LPCXpresso IDE installation? The 8K limit is the default in this tool if the tool isn't registered. Go to help > activate from the menu of the IDE to do this.

Again, MCUXpresso IDE doesn't need this ... I recommend trying this!!

regards,

Brendon

0 Kudos

629 Views
davidyun
Contributor II

I did go to help > activate (Free edition).. and all went ok and I got a welcome page in the IDE saying LPCXpresso IDE (Free Edition) is fully activated and can be used to generate and download applications containing up to 256KB of code to an LPC target.

My target code is just above 100KB.

0 Kudos

628 Views
davidyun
Contributor II

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
0 Kudos

628 Views
davidyun
Contributor II

One more thing to mention. I registered a license on NXP website as well.

0 Kudos

629 Views
brendonslade
NXP TechSupport
NXP TechSupport

Hi David,

you didn't specify the tool used, but I am guessing LPCXpresso IDE? If so it could be that you are trying to flash an image of >256KB, which would require a Pro license. I would recommend moving to MCUXpresso IDE which provides the same functionality (assuming you are using a Cortex-M device) and does not impose any code size limits in the free version.

regards,

Brendon

0 Kudos