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.

RM44L520: Memory mapping issue with FreeRTOS

Part Number: RM44L520
Other Parts Discussed in Thread: HALCOGEN

Hello, 

I have been working on a project with the RM44L520PZ and I noticed that there is no project type available for this processor with FreeRTOS included. To get around this I took the FreeRTOS files from another project and added them to the project with the Halcogen created RM44L520PZ device configuration files. When I tried creating a task to test if this worked, I got the following errors:

Fullscreen
1
2
3
warning #10247-D: creating output section ".kernelTEXT" without a SECTIONS specification
warning #10247-D: creating output section ".kernelHEAP" without a SECTIONS specification
warning #10247-D: creating output section ".kernelBSS" without a SECTIONS specification
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Here is the generated sys_link memory map and section configuration:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*----------------------------------------------------------------------------*/
/* Memory Map */
MEMORY
{
VECTORS (X) : origin=0x00000000 length=0x00000020
FLASH0 (RX) : origin=0x00000020 length=0x000BFFE0
STACKS (RW) : origin=0x08000000 length=0x00001500
RAM (RW) : origin=0x08001500 length=0x0001EB00
/* USER CODE BEGIN (2) */
/* USER CODE END */
}
/* USER CODE BEGIN (3) */
/* USER CODE END */
/*----------------------------------------------------------------------------*/
/* Section Configuration */
SECTIONS
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Since Halcogen isn't generating the memory maps and section configurations needed by FreeRTOS, I created a new project with the RM44L520PGE_FREERTOS template in halcogen and I got the following memory maps and section configuration from the generated sys_link file:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*----------------------------------------------------------------------------*/
/* Memory Map */
MEMORY
{
VECTORS (X) : origin=0x00000000 length=0x00000020
KERNEL (RX) : origin=0x00000020 length=0x00008000
FLASH0 (RX) : origin=0x00008020 length=0x000B7FE0
STACKS (RW) : origin=0x08000000 length=0x00000800
KRAM (RW) : origin=0x08000800 length=0x00000800
RAM (RW) : origin=(0x08000800+0x00000800) length=(0x0001EB00 - 0x00000800)
/* USER CODE BEGIN (2) */
/* USER CODE END */
}
/* USER CODE BEGIN (3) */
/* USER CODE END */
/*----------------------------------------------------------------------------*/
/* Section Configuration */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I copied those over into the sys_link file in my original project and the earlier errors are gone but the project won't run properly on my board. Does the 100pin version of this processor require different memory mapping than the 144pin version when using an RTOS or is there some other issue that I'm missing?