Hi @Kan_Li,
The existing project that works runs solely on the M7 core. The FreeRTOS tasks consist of:
- LVGL task for our GUI.
- RTC task that updates the global time variable used to display date/time on the GUI.
- GPIB task used to facilitate communication between the device and a PC.
- The application task, used to perform the device functionality.
- USB tasks, using code from the host_msd_fatfs_freertos_cm7 SDK example, is split between 2 tasks, a USB host task and a USB app task.
Now for the multicore project, it has all the same FreeRTOS tasks as the single core M7 project, with the addition of the multicore communication tasks. The core task layout would look like below:
M7 Tasks
- LVGL task for our GUI.
- RTC task that updates the global time variable used to display date/time on the GUI.
- USB tasks, using code from the host_msd_fatfs_freertos_cm7 SDK example, is split between 2 tasks, a USB host task and a USB app task.
- Multicore communication task
M4 Tasks
- GPIB task used to facilitate communication between the device and a PC.
- The application task, used to perform the device functionality.
- Multicore communication task
Our project does run on a custom carrier board using an Embedded Artists iMX RT1176 uCOM system on module. I want to emphasize that the issue isn't hardware because if it was it shouldn't work with the original project. I must be missing a setting or config or something with the memory map.
I will in the meantime try to setup a project the exemplifies the issue on an RT1170-EVK board so that you may also see the issue.