Tuesday, April 24th 2018, 8:46am UTC+2

You are not logged in.

  • Login
  • Register

cheece2001

Beginner

Date of registration: Jan 3rd 2018

Posts: 6

1

Monday, January 15th 2018, 2:35am

[ABANDONED] Unknown Context Task 0x0

Hi I'm new here and just getting started in the RTOS world with tracing tools. I managed to compile free rtos 10 with system viewer with minor changes.

Before I buy j-link I want to play around with the systemview.

I saved the memory content from kiel and converted hex to bin for import into systemview.

The application has two tasks with equal priority. One turns on an LED and another turns off the LED. The cpu alternates between these two tasks.

On the left pane I see a task 0x0. I'm not sure what happened here. Config and start are the first calls in main.

Also is systick and the schedular to be seen as well? I'm using a tiva c launchpad cortex m4.

This post has been edited 1 times, last edit by "cheece2001" (Jan 15th 2018, 3:14am)


cheece2001

Beginner

Date of registration: Jan 3rd 2018

Posts: 6

2

Tuesday, January 16th 2018, 2:26am

I applied patch for rtos 9 and still same results. I put rtos 9 in place now.

This post has been edited 3 times, last edit by "cheece2001" (Jan 16th 2018, 3:16am)


cheece2001

Beginner

Date of registration: Jan 3rd 2018

Posts: 6

3

Saturday, January 20th 2018, 9:44pm

I purchased the debugger.

I got rid of task zero by putting the start call in my task 1 as the first thing being called.

For some reason I can't see the systick and the scheduler details. I am now with rtos 9 and the patch was applied. Not sure what happened. I did before see the scheduler when I was with RTOS 10. I must have messed something up.

This post has been edited 1 times, last edit by "cheece2001" (Jan 20th 2018, 9:46pm)


SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 949

4

Tuesday, January 23rd 2018, 9:21am

Hello,

Thank you for your inquiry.

Looks like the patch did not apply correctly. Keep in mind that the patch has been written as a reference for the GCC Cortex-M4 compiler. Should you be using another compiler in your project the patch needs to be adjusted accordingly.

Best regards,
Nino
Please read the forum rules before posting: Forum Rules

Keep in mind, this is not a support forum. Its main purposes is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support contact us per e-mail.
The following contact form can be used for this: https://www.segger.com/about-us/contact-us/


cheece2001

Beginner

Date of registration: Jan 3rd 2018

Posts: 6

5

Thursday, January 25th 2018, 2:32pm

I just got my j-link. Hopefully the hardware helps a little.

I am using keil so I'll keep fiddling around with the patch and all the files to get it to work properly. Would help if there was an example project for use with common ide .. ha

thanks :)

cheece2001

Beginner

Date of registration: Jan 3rd 2018

Posts: 6

6

Sunday, January 28th 2018, 7:54pm

I'm currently using arm compiler in keil but I will try to change my compiler and ide to get this thing up and running as fast as possible.

Is there alot I would need to change in the patch to work with arm keil?

Does system viewer only work with GCC?

This post has been edited 1 times, last edit by "cheece2001" (Jan 28th 2018, 8:13pm)


cheece2001

Beginner

Date of registration: Jan 3rd 2018

Posts: 6

7

Monday, January 29th 2018, 5:23am

I took an rtos example from ti that uses keil and copied the rtos v8 files to try and applied the patch to it for my test application and it now somewhat works.

I just don't see the frequency of the systick. Says 0hz when it really isn't. Getting closer.

This post has been edited 1 times, last edit by "cheece2001" (Jan 29th 2018, 5:24am)