EmbDev.net

Forum: µC & Digital Electronics Tricore tc1766 & FreeRTOS

Author: Fan Foué (fanfoue)
Posted on:

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 ?
Author: siramoo (Guest)
Posted on:

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.
Author: siramoo (Guest)
Posted on:

and one more being in trap read A11 register that normaly have to
contain the last function address in.
Author: mario (Guest)
Posted on:

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
Author: Fan Foué (fanfoue)
Posted on:

OK, I'm interested !

How is it possible to contact you ?
Author: mario (Guest)
Posted on:

Send me an email to: info at hightec-rt dot com .

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.


webmaster@embdev.netContactAdvertising on EmbDev.net