Search found 166 matches

by e.guidieri
Mon Aug 10, 2020 9:27 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Programming flash for AURIX TC397
Replies: 2
Views: 13901

Re: Programming flash for AURIX TC397

Hi, I never worked with the memtool of Infineon so I cannot be much helpful about it, you should ask the infineon board about the warning. The only think that I know it's that ERIKA's linker scripts for TC397x uses BootModeHeaders that are different from the ones that are flashed in the MCU at the f...
by e.guidieri
Thu Jan 09, 2020 11:16 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: error with tasking
Replies: 2
Views: 5701

Re: error with tasking

You got a error during the build of your own file, so we cannot help you.
by e.guidieri
Thu Jan 09, 2020 10:47 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Start address
Replies: 2
Views: 5654

Re: Start address

You need to rewrite the linker script. If you want to use the linker script that we provide you need to change the boot mode headers, using the EE_OPT explained here: http://www.erika-enterprise.com/wiki/index.php?title=Infineon_Tricore_AURIX#TriCore_special_EE_OPTs and using the Lauterbach with the...
by e.guidieri
Thu Sep 05, 2019 8:24 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Default ISR Problem after "ready to stacked" function
Replies: 3
Views: 6487

Re: Default ISR Problem after "ready to stacked" function

Obviously,

somewhere in your code the peripheral tied with WDOG_EVM interrupt entry it is turn on (A Watchdog? [I don't know the MCU]).

You need to find where this is done and why and prevent it.

Errico Guidieri
by e.guidieri
Mon Sep 02, 2019 4:19 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: TC264 + TASKING Compiler
Replies: 2
Views: 6752

Re: TC264 + TASKING Compiler

Hi, I made the mistake to use lmu RAM for global data even for tc26x, but tc26x do not have lmu ram The following is a valid linker script for TC26x, something similar to this has been commited to GitHub, but we do not have a new build yet. The fix from the previous version is to change the memory r...
by e.guidieri
Tue Aug 06, 2019 8:45 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Configuring Flash Wait Cycles on Tricore
Replies: 7
Views: 12014

Re: Configuring Flash Wait Cycles on Tricore

The easiest way to understand the PLL configuration is to use the CLOCK view of Lauterbach (I see you are using it).

You can access it through a button labelled CLOCK from the view that configures MCDS (I can't be more accurate since I don't have access to lauterbach right now).

Regards,
Errico
by e.guidieri
Wed Jul 31, 2019 2:56 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Configuring Flash Wait Cycles on Tricore
Replies: 7
Views: 12014

Re: Configuring Flash Wait Cycles on Tricore

The fact that the code is jumping to int core0_main(void) instead of main, let me suppose that you are using startup code of iLLd, and not the startup code of ERIKA, I don't know if this has an impact. Are you sure that the data structures of the secondary cores are initialized? The real startup id ...
by e.guidieri
Wed Jul 31, 2019 12:33 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Configuring Flash Wait Cycles on Tricore
Replies: 7
Views: 12014

Re: Configuring Flash Wait Cycles on Tricore

Yes, if you bypass the clock configuration declaring the CPU_CLOCK is no more needed. In any case, System Timer driver does not trust that configuration and goes directly on the hardware to get the real frequency of the timer (since I was sure to not be able to handle all the possible configurations...
by e.guidieri
Wed Jul 31, 2019 9:23 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Configuring Flash Wait Cycles on Tricore
Replies: 7
Views: 12014

Re: Configuring Flash Wait Cycles on Tricore

Use in .OIL

Code: Select all

EE_OPT="OSEE_BYPASS_CLOCK_CONFIGURATION";
to bypass the default behaviour and configure the SCU as you need at the beginning of the main before the StartOS.

Having a full driver for SCU is out of the scope of ERIKA, too complicated and I'm alone.

Errico
by e.guidieri
Tue Jul 30, 2019 4:28 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Dynamic memory allocation
Replies: 3
Views: 5784

Re: Dynamic memory allocation

Hi, AFAIK the only GCC compiler for TriCore ISA is provided by Hightec, so I think that you are using it. Maybe do you call it 'Free entry toolchain'? the linker file is located in erika/mk folder (path relative to the .oil file) after the pull, roughly speaking, you can find the linker file there a...
by e.guidieri
Tue Jul 30, 2019 1:20 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Dynamic memory allocation
Replies: 3
Views: 5784

Re: Dynamic memory allocation

Hi,

If you are using the Hightec compiler you should look at this thread:

malloc using

And since you are in hurry you should already have done that.

Errico
by e.guidieri
Fri Jul 26, 2019 11:36 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Problem building an ERIKA project
Replies: 3
Views: 5555

Re: Problem building an ERIKA project

Hi,

I don't know what you mean with
many uselss files are compiled
but for your problem with documentation, this is the solution

NoDoc.png
NoDoc.png (17.44 KiB) Viewed 5553 times
by e.guidieri
Fri Jul 26, 2019 10:27 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Problem in scheduling the tasks(event 1 and event 3).
Replies: 2
Views: 5060

Re: Problem in scheduling the tasks(event 1 and event 3).

Hi, a couple of thing: 1) Be aware that you should use the EVENT macro for events if you configured them with the MASK=AUTO option, if in your oil file have the EVENT declared like this: EVENT ExampleEvent1 { MASK=AUTO; }; in the code you should use: Ifx_OSTask_SetEvent (IFX_OSTASK_EVENT1, ExampleEv...