Hello,
My customer is developing a product in which he writes and reads data into / from a NAND Flash, like the one we see in TWR-K70. The project has been tested and validated on this kit. The MCU uses is K70, the IDE is CodeWarrior v. 10.6.4 and MQX 4.2.
We got a lot of build errors related to mutex functions (see screenshot of them bellow) in several files from FFS library. After some analysis, we found that the root of those errors was a call to "_io_nandflash_wl_install" function in "Main_task". When we comment this function call, all those errors disappear.
But we really can't understand the reason for that, because FFS library is included in the project as well as its path in Properties. We also tried to include "nandflash_wl_ffs.h" file where this function is declared, but it doesn't produce any result.
Taking the opportunity, we need to know how to enable DHCP for a http server. Could anybody help us please?
Have attached his project zipped and attached with BSP "user_config.h" file.
Thanks and best regards,
Marco Coelho
Applications Engineer
Siletec Eletronica
Original Attachment has been moved to: customer's_project-+-user_config.zip
解決済! 解決策の投稿を見る。
Hi Marco :
I checked your project settings, there is a linker order issue in your project settings, you can move down the " _arm_start.o" and " _arm_end.o" to the end of this list, as the below picture shows. I have tried it, it works
Regards
Daniel
Hi Marco :
I checked your project settings, there is a linker order issue in your project settings, you can move down the " _arm_start.o" and " _arm_end.o" to the end of this list, as the below picture shows. I have tried it, it works
Regards
Daniel
Hello, Daniel
Sorry for the late response.
I tried your tips and it is working now.
I could never imagine this would be the cause of the problem.
Thank you very much for your help.
Marco Coelho
Applications Engineer
Siletec Eletronica
Hi Marco:
When you comment the “_io_nandflash_wl_install” function, all the errors disappear, but can this compiled application run well? If not, I think the ffs library is not linked correctly. You need to double check it’s path, and make sure it compile successfully before you compile the application.
Regarding the DHCP server question, there is a demo, please see the DHCPSRV_init() function in mqx_rtcs_user_guide.pdf for more details
Regards
Daniel