Hi,
The project is based on the multi-core FreeRTOS empty example. The board is AM243x Launchpad.
The board has the NULL bootloader. I used Code Composer Studio to launch target AM243x_XDS110.ccxml. I connected core R5FSS1-1 core then reset CPU. When I load the program on the core I get the following on console:
MAIN_Cortex_R5_1_1: Trouble Writing Memory Block at 0x701faeb0 on Page 0 of Length 0x3028: (Error -1065 @ 0x701FCEB0) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.6.0.00029) MAIN_Cortex_R5_1_1: File Loader: Verification failed: Target failed to write 0x701FAEB0 MAIN_Cortex_R5_1_1: GEL: File: C:\<I removed this part of the path>\empty_am243x-lp_r5fss1-1_freertos_ti-arm-clang\Debug\empty_am243x-lp_r5fss1-1_freertos_ti-arm-clang.out: Load failed.example.syscfg shows that I did not exceed MSRAM area. In example.syscfg, core R5FSS1-1's MSRAN starts at 0x0701FFFFF 0x701E0000 and ends at 0x0701FFFFF. Datasheet shows that MSRAM_256K7_RAM ends at 0x0701FFFFF.
I searched and the following seems similar to my issue: link and link.
I solved the problem by reducing core R5FSS0-0's MSRAM and shifting all cores' MSRAMs' start addresses, but I do not know why this worked.
I need to know the reason the error occurred.