- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am not sure if I locate this question correctly in this forum, but it is as follows:
- for unit testing of our application SW we need to be able to easily compile (and link) the ANSI C code of one particular "SW-component under test" into an elf file, which would run certain SWC_main() function in an endless while loop on our TC387:
- without configuring any (or as less as possible) peripherals of the TC387 uC
- Our project-specific compiler shall be used for compiling
Maybe there exists such a tool, maybe provided by Infineon, which could make it possible to do it?
So at the end we would need an elf file with some very basic (but better Infineon approved) start-up code for TC387 which would after start-up proceede to an endless while loop, which would run our SWC_main function.
I would be grateful for all suggestions.
P.S. writing our own makefile and linker we would also like to avoid, but use some proven sollution, which shall for sure exist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You could use the following code example available in the GitHub:
https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/Blinky_LED_1_KIT_TC387_TFT
The example is designed for basic Blinking LED program. But you may disable that code if you wish to do so. The example also has main function for each core that has while(1) implemented where you can extend your code. You may also refer to the following presentation on the above project:
Regards,
Prudhvi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, thank you for the answer. But:
- as I wrote, it's necessary that minimum of the peripherals of the uC are initialized. However it's quite not so few peripherals initialized in this example: AURIX_code_examples/code_examples/Blinky_LED_1_KIT_TC387_TFT/Libraries/iLLD/TC38A/Tricore at master ...
- I don't see neither makefile nor linker file in this example project
- AURIX developement studio can't be downloaded. It's probably not supported anymore?
BR
Oleksandr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Oleksandr,
- You may refer to the other code examples and extend your project by integrating the source files. We don't have an example where all peripherals are utilized in one project.
- If you have the previous ADS versions installed already, by building the project itself you would see the makefile & *.mk files generated in the Debug folder. Also, the linker file Lcf_Tasking_Tricore_Tc.lsl is available in the project by default. You may adapt those to your needs.
- AURIX Development Studio is currently not available in the Developer Center at the moment. It has been removed, and no download is possible. Our teams are working to make it available again as soon as possible. Apologies for the inconvenience.
Regards,
Prudhvi.