general question about lpc1343

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

general question about lpc1343

170 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mayotte1 on Tue Jan 26 09:36:51 MST 2010
In the literature it states that the chip contains "On-Chip USB Bootloader Implements a Mass Storage Device". I thought this seemed like a great way to save some code. I looked at the example program  "usbmsd" and the map for the compiled program seems to reference code in flash but not any actual "rom" section. I am trying to figure out after I compile this example program how much of the 32k of flash is left over for my application. I haven't quite figured that out yet but when I look at the mentioned map, I just see flash memory used up.  I would appreciate a comment from someone who knows how this works. Thanks in advance.
0 Kudos
Reply
1 Reply

164 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_USA on Tue Jan 26 11:02:42 MST 2010

Quote: mayotte1
In the literature it states that the chip contains "On-Chip USB Bootloader Implements a Mass Storage Device". I thought this seemed like a great way to save some code. I looked at the example program  "usbmsd" and the map for the compiled program seems to reference code in flash but not any actual "rom" section. I am trying to figure out after I compile this example program how much of the 32k of flash is left over for my application. I haven't quite figured that out yet but when I look at the mentioned map, I just see flash memory used up.  I would appreciate a comment from someone who knows how this works. Thanks in advance.



Hi Mayotte1,

Just to clarify, the usbmsd example does not use the rom driver but the usdmsd_rom example does.

When an application is built in LPCXpresso, the linker outputs a short report in the build console view that looks like this:

   text   data    bss    dec    hexfilename
   1283      4      8   2024    7e8test.axf


The number under "text" is the amount of flash memory used by the program.

-NXP
0 Kudos
Reply