k66 and USB dedicated RAM

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

k66 and USB dedicated RAM

Jump to solution
1,438 Views
andrewparlane2
Contributor III

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

Labels (1)
Tags (2)
0 Kudos
1 Solution
1,193 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Andrew:

Yes, you are correct, that section can be removed.

I checked the latest version of KSDK 2.2, this section is not in linker script.

Regards

Daniel

View solution in original post

2 Replies
1,193 Views
andrewparlane2
Contributor III

Thanks.

0 Kudos
1,194 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Andrew:

Yes, you are correct, that section can be removed.

I checked the latest version of KSDK 2.2, this section is not in linker script.

Regards

Daniel