AnsweredAssumed Answered

k66 and USB dedicated RAM

Question asked by Andrew Parlane on May 13, 2017
Latest reply on Jun 22, 2017 by Andrew Parlane

I was just looking through a .map file for my K66 based project and noticed 0x800 bytes (+ alignment) being used for USB_RAM_GAP.

 

Looking in my linker script I see that indeed we align to 512 bytes and reserve 0x800 bytes in the .bss section for this USB RAM stuff. However as far as I can tell the K66 doesn't support this at all, so we are just wasting 2KB of RAM here.

 

Am I correct in thinking I can remove this, and the m_usb_bdt and m_usb_global sections for both projects that don't use USB and projects that do. My tests suggest that I can indeed do this with no negative repercussions.

 

Thanks

Andy

Outcomes