Help with Demos

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

Help with Demos

1,390 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jmassey on Mon Mar 07 15:43:05 MST 2011
Hello,

When I try to build USBCDC, the resulting AXF .text does not fit into MFlash32. It overflows by 3548 bytes. Doesn't this demo run on a LPC1343?

What am I doing wrong?

Thanks
0 Kudos
Reply
6 Replies

1,380 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Tue Mar 15 11:14:28 MST 2011

Quote: jmassey
Thanks - just ignorant.



No.  Just learning curve.:)
0 Kudos
Reply

1,380 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jmassey on Tue Mar 15 10:15:06 MST 2011
Thanks - just ignorant.
0 Kudos
Reply

1,380 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Mon Mar 14 23:04:21 MST 2011
Have you read this?

http://ics.nxp.com/support/documents/microcontrollers/pdf/lpcxpresso.getting.started.pdf
0 Kudos
Reply

1,380 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Mar 14 22:42:46 MST 2011
Why don't you activate your version to free activated version with 128k limit :confused:
0 Kudos
Reply

1,380 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jmassey on Mon Mar 14 18:00:52 MST 2011
Sorry I took so long -

I now assume that this is the error I should get with the free version which has the 8K debug limit. Is this true? I can use the release version, which is smaller than 8K.

Thanks
0 Kudos
Reply

1,380 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Mar 08 02:19:58 MST 2011
The usbcdc example seems to build fine here with LPCXpresso 3.6.2....

 :
 :
Building target: usbcdc.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"F:\workspaces8\support_8mar11\CMSISv1p30_LPC13xx\Debug" -Xlinker -Map=usbcdc.map -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "usbcdc_Debug.ld" -o"usbcdc.axf"  ./src/cdcuser.o ./src/cr_startup_lpc13.o ./src/serial.o ./src/usbcore.o ./src/usbdesc.o ./src/usbhw.o ./src/usbuser.o ./src/vcomdemo.o   -lCMSISv1p30_LPC13xx
Finished building target: usbcdc.axf
 
make --no-print-directory post-build
Performing post-build steps
arm-none-eabi-size usbcdc.axf; # arm-none-eabi-objcopy -O ihex usbcdc.axf usbcdc.hex ;
   text       data        bss        dec        hex    filename
  11724         16        704      12444       309c    usbcdc.axf
Can you post the contents of the whole your build log, including the overflow message?
0 Kudos
Reply