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.

CCS/TDA4VM: R5F MCU Island: After calling Task_sleep in currently executed task it never goes back to task

Part Number: TDA4VM
Other Parts Discussed in Thread: SYSBIOS, DRA829

Tool/software: Code Composer Studio

Hi TI,

I have prepared environment on Windows OS to create, compile and debug SysBios applications with CCS

I'll shortly describe it:

I've installed psdk_rtos_auto_j7_07_00_00_11 packages into CCS, what let me to create example SysBios applications.

Then ti.targets.arm.elf.R5F as target and ti.platforms.cortexR:J7ES_MCU as platform.

To build application i'm also using linker script which is in  {PSDKRA_PATH}\mcusw\mcuss_demos\boot_app_mcu_rtos\overrides\j721e\mcu1_0

With device endiannes set to "little"

I'm able to succesfully build application. I use "typical" sys/bios example

I'm loading my application to eval board according to:  

software-dl.ti.com/.../ccs_setup_j721e.html

My problem is that when example task is called:

I can see on SysMin output only "enter taskFxn()". I'm able to stop on breakpoint at line 20 but on line 24, what proves that we're never back in this task. 

My observation is that clock ticks do not increase:

Ticks counter is always 0

I've tried various settings in .cfg file, nothing was able change it. I checked also a lot of E2E threads but i didn't found solution to my issue.

Could you please check if i'm not missing anything here and why is it not working as expected?

Thanks in advice,

Krzysztof

  • Hi,

    Have you called board_init() and other initialization functions ? Writing a CCS project from scratch for a complicated SoC like DRA929 can be tricky.

    Can you refer to a simple example application like pdk/packages/ti/drv/udma/examples/udma_memcpy_test ? which has an RTOS application built in ? and modify it as per your requirement ?

    Unfortunately for DRA829, CCS example projects are not yet supported so you will have to build using a Linux VM and makefile.

    Regards

    Vineet