Tricore tc1766 & FreeRTOS

OP #1339917
Hello everybody,

I'm a tricore developer and I try to make the infineon tricore port of 
FreeRTOS to work.

I use C::B and tricore gcc.

The FreeRTOS dowloadable port (see www.freertos.org) for tricore is 
primarily developped for the TC1796, but I need to make it work for 
TC1766...

Everything compiles OK, but while starting the code in the tricore 
simulator, a trap occurs in vIrqInit function (see code extract below).
The trap class is 4 whith tin = 3 (Data Access Asynchronous Error).

/* setup (clear) the vector table */
for ( uxCnt = 0; uxCnt < 8 * VEC_TABLE_LEN; uxCnt++ ) {
  if (uxCnt % 8 == 0) {
trap here -->  ( (unsigned long *) VEC_TABLE_BASE )[ uxCnt ] = 
0x0000a000;
  } else {
    ( (unsigned long *) VEC_TABLE_BASE )[ uxCnt ] = 0;
  }
}

Any idea ?
Guest
Hello François

Plese take care on architectural differences between TC1796 nad TC1766 
specialy about size of SPRAM (48K for 96 and 16K 66 ) so be focused on 
the locator first. If it is not so please give me more details.
Guest
Hello François,

I know that different ports of freeRTOS have been initiated 
(Uni-Erlangen, Uni Budapest, TU Wien and University in Singapore). I am 
not absolute sure, but I think one of them have done already some work 
for TC1766. You can contact me and then I can provide you the contact 
persons.

Bye,

Mario

Reply

A question of your own? This thread is over 17 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.