I am using IAR 8.11, and I want to do a USB mass storage, I followed the example generated by the MCUXpresso SDK "usb_device_msc_ramdisk". My problem is that the example is for MK22FN512VLH12, and I am using the MCU MK22FN128VLL10, I made the clock settings, and all the settings to use the k22128VLL10, but the compiler sends me the following error: Error [Lp011]: section placement failed unable to allocate space for sections / blocks with a total estimated minimum size of 0x666c bytes (max align 0x200) in <[0x1fffe000-0x1fffffff], [0x20000000-0x20003bff]> (total uncommitted space 0x5c00). Uncommitted: [0x1fffe000-0x1fffffff]: 0x2000 [0x20000000-0x20003bff]: 0x3c00 edit the file MK22FN128VLL10_flash.icf Changing: define symbol m_data_start = 0x1FFFE000; define symbol m_data_end = 0x1FFFFFFF; define symbol m_data_2_start = 0x20000000; define symbol m_data_2_end = 0x20003FFF; And the error disappears, but it does not debug properly. I don't know if I need an MCU with the same memory as the MCU 512, I'm a little confused, thank you very much
Hi Oswaldo Tovar ,
You just write your question in one line, it's difficult to read it.
Next time, please don't write the question just in one line.
Now, answer your questions.
If you are using the MK22FN128VLL10, I suggest you download the related SDK code from this link:
https://mcuxpresso.nxp.com/en/select
Please generate the SDK_2.6.0_MK22FN128xxx10 code, and download it.
You will find the related icf and the header file in folder:
SDK_2.6.0_MK22FN128xxx10\devices
Please try it on your side.
If you still have questions about it, please kindly let me know.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------