Hi,
The CMX Stack Size is not a simple answer.
The DEMOJM MSD Host.mcd application attached prior generates
mass-storage.abs.S19 uses 34k (34408) ROM and 3k (3158)RAM
This application also has serial terminal and heaps of diagnostics stuff, so it can be trimmed down.
Biggest problem with CMX are
- No source, compiled .lib file
- complex linker lcf file configuration
- blocking calls
- compatability/reliability with the cmx demo stack
I suggest you look at the new version 3.1.1 of Freescale USB Stack released.
The stack includes the full source
Fs Usb Stack v3.1.1
2 What is New?
This section describes the major changes and new features implemented in this maintenance release.
• Asynchronous feedback support in the Kinetis audio devices, as defined in USB 2.0 section 5.12.4.2
• HC(S)08 applications optimizations:
o Optimized the standard request functions
o Decreased ram usage o Interrupt processing time was reduced by shifting processing outside the interrupt context.
• Bugfixes
o USB Command verifier tests fixes
o MSD class demo applications fixes
o MSD & HID classes OTG application fixes
David
david@designfeats.com