This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I found this tutorial for using lwip with FreeRTOS on an RM57L (https://e2e.ti.com/support/archive/launchyourdesign/m/c2000microcontrollerprojects/666055), the "Configure R5-MPU-PMU" section says to change all the regions to the values in the tutorial. In Halcogen the first four regions are frozen, I made the change in the image below (lines 277 and 278) in vPortStoreTaskMPUSettings in os_port.c but I don't think that it is all I need to do. When I set up a static address lwip connection I can send data from my board to another computer and I can see the data with a sharktap but not if I go straight to another computer running wireshark. When I try to setup a DHCP connection I fail to connect. What else do I need to change to correctly configure the R5-MPU-PMU settings?
Yes our final product will use LWIP and FreeRTOS. I appreciate your continued assistance with this. A high priority/urgency would be greatly appreciated.
Thanks,
Christian
Mukul,
I have been following the tutorial I mentioned in my post and the only two parts I have not gotten working are the MPU section and replacing the HL_sys_link.cmd file with the recommended one. I can't do the MPU section because it is frozen in my Halcogen file so I would have to make the changes manually. I am still working on the HL_sys_link.cmd file. Do you have a link to a working HL_sys_link.cmd file that was written for the RM57L?
I have not seeing any data aborts. When I create a static connection I can see that data is being sent out with a sharktap but I can't see the packets in another computer using wireshark. Whenever I try creating a DHCP connection the code fails when I try to establish a connection. I assume that this is because of the problems mentioned above with setting everything up properly.
Christian
Hi Christian
Thanks for the additional information. It looks like we have Free RTOS working standalone (simple examples) , and we know LWIP works both static and DHCP mode standalone.
We have not tried testing them both together and now getting a bench setup to try this out. We will update you once we have this up and running on our side.
May take us a couple of days and some debug effort.
Regards
Mukul