OSX: Flash image too large for this license.

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

OSX: Flash image too large for this license.

1,561 Views
eljeffo
Contributor III

Whether I'm in the GUI or the CLI, I get "Flash image too large for this license." for something as simple as the FreeRTOS blinky example.

From here:

/Applications/lpcxpresso_8.2.2_650/lpcxpresso/bin

I get:

$ ./crt_emu_cm3_nxp -info-license

Ni: LPCXpresso Debug Driver v8.2 (Aug 31 2016 11:01:11 - crt_emu_cm3_nxp build 360)

Cr:f LPCXpresso Free License - Download limit is 8K (UNREGISTERED)

I've activated my license and I'm looking good in the GUI:

License type: FULL
Debug limit: 256k
Activation code: FULT-***

A FULL copy of LPCXpresso (Free Edition) may be used for production.

I'm assuming the cscript/cmd are mostly windows things.  What other dependency should I be aware of in OS X?

Labels (1)
0 Kudos
9 Replies

808 Views
lpcxpresso_supp
NXP Employee
NXP Employee

We can't spot anything to explain the behaviour that you are seeing. As previously stated, almost all the problems of this type we have seen historically have been Windows configuration issues with cscript etc, which obviously don't apply for you on the Mac.

I think the best way forward here might be for you to check out the new MCUXpresso IDE - the Free Edition of which no longer uses the activation process that LPCXpresso IDE Free Edition uses. For more details, visit...

Regards,

LPCXpresso Support

0 Kudos

808 Views
eljeffo
Contributor III

lpcxpresso_support‌ - Not sure if you have time to look into the license files I've linked into above.  I'm still having the same issue and it doesn't look file system permission related.

The good news is I have your new Dev boards! :smileyhappy:

The bad news is... my license still doesn't work so I can't yet run the examples.

Looking forward to getting things going!

Thanks!

0 Kudos

808 Views
lpcxpresso_supp
NXP Employee
NXP Employee

I don't know if this has anything to do with your problem, but my question is are you using the latest LPCXpresso build available on Mac OS? The LPCXpresso_8.2.2_650 build date is September 5, 2016.

Macs-MacBook-Air:bin$ ./crt_emu_cm_redlink --info-license

Ni: LPCXpresso RedlinkMulti Driver v8.2 (Sep  5 2016 10:14:50 - crt_emu_cm_redlink build 725)

Cf:v LPCXpressoPro Full License - Unlimited

Do you get different results if you start LPCXpresso as super user? Presuming you have read permissions in /Users/Shared, the next step would be to provide your LPCXpresso.acc and LPCXpresso.lic files.

Thanks and regards,

LPCXpresso Support

0 Kudos

808 Views
eljeffo
Contributor III

Here are my license files:

LPCXpresso OSX Debug Files 

Seem to be using the most recent LPCXpresso:

/Applications/lpcxpresso_8.2.2_650/lpcxpresso/bin

Normal vs super user doesn't seem to matter:

As a normal user:

$ ./crt_emu_cm_redlink --info-license

Ni: LPCXpresso RedlinkMulti Driver v8.2 (Sep  5 2016 10:14:50 - crt_emu_cm_redlink build 725)

Cr:f LPCXpresso Free License - Download limit is 8K (UNREGISTERED)

 

And I can read the files as a normal user:

$ pwd

/Users/Shared/NXPLPCXpresso

$ md5sum *

da2472cf221eff68db3bd38752b1f903  LPCXpresso.acc

865dd8e1ede8537fe7bed2ef58bae0fa  LPCXpresso.sib

As Superuser:

$ sudo ./crt_emu_cm_redlink --info-license

Ni: LPCXpresso RedlinkMulti Driver v8.2 (Sep  5 2016 10:14:50 - crt_emu_cm_redlink build 725)

Cr:f LPCXpresso Free License - Download limit is 8K (UNREGISTERED)

 

0 Kudos

808 Views
lpcxpresso_supp
NXP Employee
NXP Employee

I don't recall ever seeing this issue on Mac OS X before. Can you confirm the exact OS X version you are running?

Beyond that, I would suggest

  1. Close down LPCXpresso IDE
  2. Rename your current LPCXpresso IDE license directory so that the IDE doesn't see it:
  3. Restart the IDE and try activating again.

Do you still see the issue after reactivating?

Regards,

LPCXpresso Support

0 Kudos

808 Views
eljeffo
Contributor III

OSX 10.11.6 (15G1217) El Capitan

Per your suggestion:

Closed LPCXpresso IDE

Renamed License

Reactivated

Compiles in IDE fine, but "LinkServer not found" <- different issue? LPCXpresso: Exception 

CLI license verification failed:

./crt_emu_cm3_nxp -info-license

Ni: LPCXpresso Debug Driver v8.2 (Aug 31 2016 11:01:11 - crt_emu_cm3_nxp build 360)

Cr:f LPCXpresso Free License - Download limit is 8K (UNREGISTERED)

0 Kudos

808 Views
thefallguy
Contributor IV
0 Kudos

808 Views
eljeffo
Contributor III

In case it helps, here are the debug files:

https://www.evernote.com/l/AE8jIq2psSFLDY17W3WNhOOGgzzbk2eDCMk 

0 Kudos

808 Views
eljeffo
Contributor III

Ah, I did look at the FAQ but most of the solution was geared for Windows and windows path issues.  I couldn't find anything in relation to a Mac OSX Setup/debug procedure other than just "zip up some debug dump and post it".  

Perhaps there's something we can add to the FAQ in regards to OSX?

0 Kudos