Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » eTrice » TimingService generation(error: cannot initialize external type tcb)
TimingService generation [message #1009005] Thu, 14 February 2013 09:37 Go to next message
Stefan St is currently offline Stefan St
Messages: 5
Registered: February 2013
Junior Member
Hi,

I'm trying to get Blinky example to work in C, but when I generate the code I get an error:
Info: Validation error: cannot initialize external type tcb (org.eclipse.etrice.core.room.impl.RoomModelImpl@301f26 (name: room.basic.service.timing), externalTypes)
Info: Validation error: cannot initialize external type tcb (org.eclipse.etrice.core.room.impl.RoomModelImpl@301f26 (name: room.basic.service.timing), externalTypes)
Info: Validation error: cannot initialize external type tcb (org.eclipse.etrice.core.room.impl.RoomModelImpl@301f26 (name: room.basic.service.timing), externalTypes)


and SybSystemClass_Inst.h shows:
	/* attributes */
	{cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb},	/* tcbs[10] */
	cannot instantiate external data type tcb,	/* usedTcbsRoot */
	cannot instantiate external data type tcb,	/* freeTcbsRoot */


Maybe I missed something in the tutorial...
Could you tell me, where i made the mistake?

thx, Stefan Confused
Re: TimingService generation [message #1009015 is a reply to message #1009005] Thu, 14 February 2013 09:54 Go to previous messageGo to next message
Stefan St is currently offline Stefan St
Messages: 5
Registered: February 2013
Junior Member
Sorry, I should have read Thomas Jung's "issue with the C TimingService" first... it solved the problem.

thanks, Stefan Smile
Re: TimingService generation [message #1009020 is a reply to message #1009005] Thu, 14 February 2013 09:57 Go to previous message
Henrik Rentz-Reichert is currently offline Henrik Rentz-Reichert
Messages: 220
Registered: July 2009
Senior Member
Hi Stefan,

yes, this is a known issue that was already addressed in this newsgroup.
See http://www.eclipse.org/forums/index.php/t/440573/ for a model containing the fix.

-Henrik

Am 14.02.2013 10:37, schrieb Stefan St:
> Hi,
>
> I'm trying to get Blinky example to work in C, but when I generate the code I get an error:
> Info: Validation error: cannot initialize external type tcb (org.eclipse.etrice.core.room.impl.RoomModelImpl@301f26 (name:
> room.basic.service.timing), externalTypes)
> Info: Validation error: cannot initialize external type tcb (org.eclipse.etrice.core.room.impl.RoomModelImpl@301f26 (name:
> room.basic.service.timing), externalTypes)
> Info: Validation error: cannot initialize external type tcb (org.eclipse.etrice.core.room.impl.RoomModelImpl@301f26 (name:
> room.basic.service.timing), externalTypes)
>
> and SybSystemClass_Inst.h shows:
> /* attributes */
> {cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type
> tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type
> tcb,cannot instantiate external data type tcb,cannot instantiate external data type tcb,cannot instantiate external data type
> tcb,cannot instantiate external data type tcb}, /* tcbs[10] */
> cannot instantiate external data type tcb, /* usedTcbsRoot */
> cannot instantiate external data type tcb, /* freeTcbsRoot */
>
>
> Maybe I missed something in the tutorial...
> Could you tell me, where i made the mistake?
>
> thx, Stefan :?
Previous Topic:generating code for Keil compiler
Next Topic:Google Summer of Code 2013
Goto Forum:
  


Current Time: Tue Sep 16 23:39:03 GMT 2014

Powered by FUDForum. Page generated in 0.08620 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software