Good day
I want to add a driver via the SDK components menu in MCUXpresso. When I tried this, the component manager showed me this error, and did not allow me to proceed:
I noticed that I have two xip_board options:
This looks really weird, because they both show the same version number.
Anyway, I deselected the first xip_board and selected the second xip_board. This solved the error shown above. I clicked OK and accepted the changes to be made.
Based on the changes made in the files (most of the drivers had updates, and so did the FreeRTOS kernel and LWIP middleware), I could see that the xip_board I used is a more up-to-date version (the file changes showed later build numbers and later dates in the comments).
Before making these changes, I could use LWIP to connect to my computer. After updating xip_board like this, the address resolution protocol doesn't work. My PC keeps sending "Who has 20.0.0.1?", and the microcontroller doesn't respond (see attached Wireshark capture).
Before changing xip_board, I could get a response from the board by pinging it in cmd:
After updating xip_board, I don't get a response anymore:
I've inspected the changes in the drivers, but I can't see anything that would cause this issue.
Note that the PHY is initialised properly and auto-negotiation is successful.
Please let me know if anyone has an idea.
Kind regards
Hi
Could you please let me know how to reproduce your issue on my side? which SDK version?
Please check whether you have enabled XIP_EXTERNAL_FLASH and XIP_BOOT_HEADER_ENABLE?
Regards
Daniel
Hi @danielchen
Thanks for your reply.
To recreate the issues:
I have attached a blank project I made for you to demonstrate my problem. I followed the steps described above, but skipped the porting of the tcp_echo project. If you open its SDK component manager and try to change a component, you will get the error I was speaking of.
The symbols that you mentioned are indeed enabled in my original project:
Kind regards
Hi @D_TTSA :
Sorry you forgot to attach your project.
I tried with the default lwip_ping_bm_cm7 demo, SDK 2.9.2. ping is ok.
Then I dragged SDK_2.10.1 into the installed SDKs. It showed SDK 2.10.1 replaced the old SDK 2.9.2.
Rebuild the project. ping is also OK.
From what I can see, there is a xip_board component by default.
Do you mean in your project with SDK 2.9.2, there is no xip_board, and in SDK 2.10 project, you add this component? then the error ?
Regards
Daniel
Hi @danielchen
I apologise about the project upload, I've just sent it to you via email because it exceeds the 25MB file limit.
I know that the lwip_tcp_echo SDK example project works with both SDKs.
The problem comes in when you create your own project, and then update the SDK.
To answer your last question, no, I do have the xip_board component in SDK v2.9.2.
As shown in my previous posts, I just get an additional xip_board when I update my project to SDK v2.10.1.
Please let me know as soon as you have any feedback, as this is quite an urgent matter.
Kind regardsc