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.
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:
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
Here is the generated sys_link memory map and section configuration:
/*----------------------------------------------------------------------------*/ /* 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 { .intvecs : {} > VECTORS .text : {} > FLASH0 .const : {} > FLASH0 .cinit : {} > FLASH0 .pinit : {} > FLASH0 .bss : {} > RAM .data : {} > RAM .sysmem : {} > RAM
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:
/*----------------------------------------------------------------------------*/ /* 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 */ SECTIONS { .intvecs : {} > VECTORS /* FreeRTOS Kernel in protected region of Flash */ .kernelTEXT : {} > KERNEL .cinit : {} > KERNEL .pinit : {} > KERNEL /* Rest of code to user mode flash region */ .text : {} > FLASH0 .const : {} > FLASH0 /* FreeRTOS Kernel data in protected region of RAM */ .kernelBSS : {} > KRAM .kernelHEAP : {} > RAM .bss : {} > RAM .data : {} > RAM
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?
Hi, our expert is out of office until 4/7. Please expect a delayed response.
Also, please see this FAQ: software-dl.ti.com/.../index.html
Hi Andrew,
You can use the link cmd file of RM44L520PGE for RM44L520PZ. Both package has the same size of RAM and Flash.
Did you follow the procedure to generate freeRTOS project forRM44L520PGE?