Page 1 of 1

Thread naming at creation

Posted: Mon May 26, 2014 9:51 pm
by EmBlocks
Hi, I'm busy with the finishing of a ChibiOS viewer. Will testing and learning the OS, I found some issues about naming tasks and debugging.

You can find it here:

http://www.emblocks.org/forum/viewtopic ... rt=9#p2261

Perhaps the solution presented there is something worth to use in further releases.

Cheers.

Re: Thread naming at creation

Posted: Mon May 26, 2014 10:18 pm
by Giovanni
Hi,

I see the point, I will introduce it in ChibiOS 3.0 (current trunk).

About your viewer, are you exploring the thread structures using expressions and symbols, like the ecliple plugin does, or are you using the offsets provided by the registry?

Giovanni

Re: Thread naming at creation

Posted: Tue May 27, 2014 4:08 am
by EmBlocks
Expressions and symbols like Eclipse.
I'm doing the same with the freeRTOS in the 2.0RC1.

As soon as this ChibiOS viewer is ready I will release the 2.0 release.

Edit:
EB has one big difference with Eclipse, Eclipse is evaluating all the separate fields of the thread structure (every field is a GDB query) while EB is querying the whole Thread structure at once and is parsing the fields from the GDB answer.

Eclipse: (Thread*)current->p_newer
EB: *((Thread*)current)

Re: Thread naming at creation

Posted: Tue May 27, 2014 8:10 am
by Giovanni
Interesting, I will make sure to give it a try once 2.0 is released.

Giovanni

Re: Thread naming at creation

Posted: Tue May 27, 2014 8:20 am
by EmBlocks
Screenshot:

ChibiOS viewer in action
ChibiOS viewer in action
Capture.PNG (28.49 KiB) Viewed 5451 times

Re: Thread naming at creation

Posted: Tue May 27, 2014 9:20 am
by Giovanni
Good job, it looks clean and uncluttered.

Giovanni

Re: Thread naming at creation

Posted: Tue Jun 03, 2014 7:29 am
by EmBlocks
The 2.0 is released.

For those who wanna give it a try, there is a blinky example for the F429I (discovery) in the examples download section of the EmBlocks site.