Search found 166 matches
- Mon Jul 22, 2019 9:47 am
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: Custom trap functions
- Replies: 4
- Views: 2189
Re: Custom trap functions
Hi, Remember to save a lower context before calling C code, restore it after the call and return from the exception with rfe. This would be a right wrapper to your user_tc_trap_protection __asm__ (".globl " "osEE_tc_trap_protection"); \ __asm__ ("osEE_tc_trap_protection" ":"); \ __asm__ ("svlcx"); \...
- Fri Jul 19, 2019 6:55 pm
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: MESSAGE object
- Replies: 2
- Views: 1707
Re: MESSAGE object
Hi,
OSEK COM ha not be ported on ERIKA3 yet.
OSEK COM ha not be ported on ERIKA3 yet.
- Fri Jul 19, 2019 6:52 pm
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: Custom trap functions
- Replies: 4
- Views: 2189
Re: Custom trap functions
Unfortunately, the support for custom exception handler's is not finished: the code would support it, but the generator does not support it yet. But, since all erika's files are contained in a library, you could always override a symbols providing the implementation in a file in the application. I s...
- Thu Jul 18, 2019 12:31 pm
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: linker script for running code from RAM on TriCore
- Replies: 3
- Views: 2815
Re: linker script for running code from RAM on TriCore
What is the "global declaration of PSRAM"? Those declatations that are that are not local/self addressing This one is the self addressing one /* Program Scratch-Pad RAM (PSPR). Local Addressing */ PMI_PSRAM_local (wx!p): org = 0xC0000000, len = 32K These are the global addresses space for scratch p...
- Mon Jul 15, 2019 11:25 am
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: malloc using
- Replies: 2
- Views: 2101
Re: malloc using
Hi, I think that using dynamic memory in a hardware AMP architecture like TriCore is looking for horrible and unnecessary troubles. In any case, it seems that the problem is that .bss segment ends aligned to 8 and the Hightec sbrk function do not allocate any guard area (as usually is done). Try to ...
- Mon Jul 15, 2019 10:51 am
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: linker script for running code from RAM on TriCore
- Replies: 3
- Views: 2815
Re: linker script for running code from RAM on TriCore
Start from a multicore project, and get the linker script from erika/mk folder. Copy in the root of the project and then try to customize it. Basically you should change all the the uses of flashes with the global declaration of PSRAM, moreover you have to move cost data to DSRAMs. You can use it ch...
- Thu Jul 11, 2019 4:33 pm
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: Interrupts on Erika3 and Tricore 29x with iLLD
- Replies: 4
- Views: 3452
Re: Interrupts on Erika3 and Tricore 29x with iLLD
Just to let you know, you can call RT-druid from the command line to have obtained the configuration generation (I usually work in this way). For the following I suppose that the current directory is placed where the conf.oil is located. ${RTDRUID_ECLIPSE_HOME}/evidence/generate_code.sh ${RTDRUID_EC...
- Thu Jul 11, 2019 11:16 am
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: Interrupts on Erika3 and Tricore 29x with iLLD
- Replies: 4
- Views: 3452
Re: Interrupts on Erika3 and Tricore 29x with iLLD
Sorry I saw the ISR2 configuration in the middle of the OIL (I'm not used to search them there so I dind't see it at the beginning). I tried to generate the code from the OIL with the latest version (GH65) and I'm getting the right code: erika/obj/ee_tc_intvec.c.s ... .align 5 .globl osEE_tc_core0_i...
- Thu Jul 11, 2019 11:03 am
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: Interrupts on Erika3 and Tricore 29x with iLLD
- Replies: 4
- Views: 3452
Re: Interrupts on Erika3 and Tricore 29x with iLLD
You are mixing 2 things, iLLD interrupt support and ERIKA support, ERIKA is not aware of iLLD is doing and iLLD is not aware to run under an ERIKA application. This means that using IFX_INTERRUPT macro to register interrupts has no use in ERIKA. In ERIKA everything is configured through OIL, you nee...
- Wed Jul 03, 2019 10:11 am
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: How to modify Erika's demo example from TC275 to TC265DE.
- Replies: 2
- Views: 1644
Re: How to modify Erika's demo example from TC275 to TC265DE.
Simpli change MCU_DATA from TC27X to TC26X MCU_DATA = TC26X { DERIVATIVE = "tc265de"; }; Be aware, if the demo that you are starting from has 3 core configured one has to be removed since tc265de has just 2 cores References: http://www.erika-enterprise.com/wiki/index.php?title=Infineon_Tricore_AURIX
- Mon Jun 10, 2019 3:34 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: RT-Druid in HighTec Free Tool Chain IDE?
- Replies: 3
- Views: 10392
Re: RT-Druid in HighTec Free Tool Chain IDE?
Hi, The result of the build of ERIKA is a .elf file so it can be flashed and/or debugged with any tool you have, but we provide scripts to do that only for Lauterbach TRACE32 since that is the tool we use and we do have access to. You need to contact your tool provider asking for support for the scr...
- Tue Apr 30, 2019 12:52 pm
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: TI AWR1642 build with RT-Druid : Assert on AWR1642
- Replies: 3
- Views: 2200
Re: TI AWR1642 build with RT-Druid : Assert on AWR1642
But, are you sure that you are working with a awr 16xx and not a 14xx (these configuration are pretty standard AFAIK), or is a custom 16xx? In any case try this: Enable compiler minimal opt: CPU_DATA = CORTEX_R { COMPILER = TI_CGT_ARM{ MINIMAL_OPTS = TRUE; }; ... }; and provide the configuration thr...
- Tue Apr 30, 2019 12:00 pm
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: TI AWR1642 build with RT-Druid : Assert on AWR1642
- Replies: 3
- Views: 2200
Re: TI AWR1642 build with RT-Druid : Assert on AWR1642
Hi, first a couple of questions just to be sure that we are on the same page. Are you using the specific version of mmWave-SDK stated in the support wiki page? http://www.erika-enterprise.com/wiki/index.php?title=ARM_Cortex-R#Support_for_TI_AWR16XX Actually only the version MMWAVE-SDK 02_01_00_04 is...
- Thu Apr 25, 2019 2:04 pm
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: Page table stage 2 translation error
- Replies: 3
- Views: 1994
Re: Page table stage 2 translation error
So, how do you try to access this memory? It seems that you are not doing it through reference to variables, but through other techniques could you explain what are youd doing and why?
- Wed Apr 24, 2019 11:04 am
- Forum: ERIKA Enterprise and RT-Druid v3
- Topic: Page table stage 2 translation error
- Replies: 3
- Views: 1994
Re: Page table stage 2 translation error
Are you trying to access some peripherals registers, don't you?