Part Number: TMS320F28388D
Other Parts Discussed in Thread: DP83822I
I am trying to write to CPU1 FLASH using ethernet. I am setting up the CM to its flash sectore with a modified enet_lwip.c from the TI project in communications->ethernet->third party->lwip. I modified this program to transfer data over IPC to the CPU. On the CPU1 side, I have the flash kernel example from TI that is modified to point to IPC instead of SCI to flash. The problem is, enet_lwip.c goes through its initialization and gets stuck here:
I am not very familiar with CCS, and I am having trouble getting this going. I have tried a full initialization on the CPU1 side that sets up the GPIO for ethernet. I am currently looking into the DP83822i specifications to turn on RMII master mode because I believe the ethernet clock is never executing. I will upload my modules into this forum.
Also, on a similar note, the TI project has some silent include errors referencing the compiler. This may contribute to the issue I am having, but I don't know how to change it. Like I said, I am inexperienced with CCS (using 20.2.0). The errors tell me that some of the TI code are legacy TI intrinsic and is not supported in clang compilers. the only compiler I use is the TI v20.2.6.LTS, and I can't find a legacy one. If anyone can help in this matter that would be much appreciated. Thanks.
flash_kernel_c28x_cm_ex1_boot_cpu1.c
I'm not sure if anyone can really help, I know it's a lot of code and some dependincies are missing. but I figured I'd give it a shot. As I said before, I'm new to CCS and everything related to these topics (lwip, flashing, etc.)