AURIX™ Development Studio Forum Discussions
Dear all,
sorry, I need to come back to that issue.
It looks like I couldn't open the discussion from here https://community.infineon.com/t5/AURIX/packed-data-structure-with-TASKING-compiler-possible/td-p/695881 again.
I'm not sure if the proposed solution will work (see below).
struct __packed__
{
char c;
int * i;
} s1;
For me this will generate a struct that is named __packed__ and has an instance that is named s1. I think I realized this when I applied the proposed solution twice in a file. The compiler complains about an already defined struct called __packed__.
The other observation in the post linked above - that it might has differences between command line and not command line complier invocations - I didn't check that so far. Maybe that's the explaination because the linked document in the first post about this issue says that it was introduced with v6.3r1 that is not necessarily the same as delivered with ADS (v1.1r8 Build 22011964).
Maybe someone has more details to add to this. Actually I'm quite surprised that this has not been raised more often because in reading external (sensor) devices it is quite common for me to read them as block and map them onto a packed data structure. I thought switching to the GCC compiler but at least the FreeRTOS port, that I'm somehow depending on, is causing problems there.
Best Regards
Markus
Show LessDear all,
I want to report that it is not possible to set proper breakpoints in a FreeRTOS task wiht the ADS Debugger. However, it will work with WinIdea. I'm using the latest ADS 1.9.20 and DAS Version - just to complete this bug report.
Maybe someone from Infineon/Tasking can add this to the list of open issues/known problems.
You can simply test this issue by using the FreeRTOS example (there is only one) on the Infineon Github. It simply is using the two onboard LEDs handled in two seperate tasks. Set a breakpoint in one of it. It will stop but not resume. Even if you add the
IfxStm_setSuspendMode(&MODULE_STM0,IfxStm_SuspendMode_soft);
statement before starting the scheduler. Acutally the debugger call view is 'empty' when the breakpoint gets hit (see picture).
So I guess the ADS debugger has issues with tracking the execution after a context switch - certainly I'm not to sure about that, just guessing.
With the exact same elf file used with WinIdea I can set breakpoints and resume the application
with no problem. So this is the workaround - using another tool. For me that cannot be in the interest of the publishers of ADS.
Best Regards
Markus
Do anyone use TASKING Pin Mapper for initializing the input pins for Infineon Boards TC27x or TC29x (and others) in the code.
If yes, could you tell me how do you include them in project with respect to Aurix Development Studio!!
Thanks in advance.
Regards,
Neeraj Show Less
Last few days when I zip my project and sent it to my friend, he found it error to build the project. It reported "No AURIX device is configured". Then I tried to re-sent the project for several times but the error still exist.
We also sent the project to others, but they all failed to build it. It seems that the project can only be built successfully in my computer. I read a discussion report the same question earlier and I agreed that it is a very 'early' compiling error because it seems like it is raised in the preprocessor phase of the compiler.
We both use ADS version 1.9.20 and i am sure that the project files are totally same. The error happens only because we use different computers.
Update:
I created a new project and send it to my friend again, but he still fails to build it. I will attach this project below and I wonder if someone could build it successful.
This problem has been bothering us for a few days now. Any help is appreciated!
Show LessI requested the MCAL for TC37X from Infineon's official website to get a 3-month evaluation version but was rejected to ask me to contact the resellers from the lists listed on the website.
And then I requested from EBTresos website but there is no response after 20 days until now.
And then I got connect with another reseller named Intron, they told me that my case was special and need to discuss with Infineon's guys.
My background is, I want to evaluate my cdd software to check whether it can work well in Infineon's TC375 MCU, and there is no CAR OEM or CAR version. I'm now setting up the environment based on the TC375, and I've already bought the AURIX lite kit V2. I'm wondering if there is no evaluation version I can pay for it, but nobody told me how I can pay, only no response.
What should I do then?
Thanks and Best Regards,
Sunny
Show Less
Hello,
with newer ADS versions, the sync_on_halt.c
file is also being added to the project automatically.
However, it's causing linker errors in some of my projects.
After removing the file from the project, since I am using iSystem for debugging, the linker error disappears.
Show LessDear all,
If I do the following:
1.) creating a new AURIX project (in my case for the TC375LK Kit)
2.) Working on it and be able to compile without errors
3.) Exporting it by the 'Export' function
4.) Zip the export and send it to a third person that is adding it to his workspace after unzipping and using the import function
5.) No this third person is running into the compile error: No AURIX device is configured in this project
Actually this is a very 'early' compile error because it seems like it is raised in a preprocessor phase of the compiler. I checked the .project and .cproject files on my machine and the the one I send the files to it. But couldn't find a difference. I also couldn't find any property in the project content that allows my to specify the Aurix device version (there is a symbol for the compiler __CPU__=tc37x but this is the case on both machines. I also made this experience since a couple of ADS versions with a lot of different people (I teach students so I distribute usually to a couple of dozen people my projects - because of IT restrictions in my environment I cannot use a git server. So I use this export-import scheme instead).
I could read about this error occasionally in this forum but nobody seems to be able to track down the problem. It's a little bit annoying because a workaround is possible (just copy relevant files/folders to others) but such a simple functionality I usually expect to work. So I still hope that it is a small user error on my side. Anybody any idea?
Best Regards
Markus
Show LessAfter changing the settings in the configuration wizard, after saving, return to the keil programming interface, and the window will not pop up, which means that the configuration change wizard did not work
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX-Development-Studio/config-Wizard-%E4%B8%8Ekeil%E6%9B%B4%E6%96%B0%E4%B8%8D%E5%90%8C%E6%AD%A5/td-p/685422
Show LessI have a strange issue that relates to live variable mode. After upgrading from ADS 1.9.0 to 1.9.20, the live variable mode does not work anymore, it reports "Port access error". However, I can read the value once the cpu is paused.
CPU is running:
CPU is paused:
Also, while is was working before, it can only show integer values in live mode.
If the variable is float, then it shows the value as uint32 when running, I need to pause the CPU to read it as float value. Is there anyway to read it as float when running as well ?
Any help is appreciated, thanks.
Show LessIn ADS-L project, when doing an incremental build (only one simple C file changed and need to compile), it used to take less than 10 seconds, however, now the same build process took around 2 minutes. I didn't change any project settings.
I check the progress bar; it seems following two step took significant time:
What makes it worse is that, after each 2-minute build, there is about 60% chance that the build will fail due to either of the following two errors:
And then I have to build again and pray for no error, sometimes the error disappeared, but many times it happens again, so I have to keep rebuilding until there's no error. Sometimes the whole rebuilding can take more than 10 minutes.
On the other hand, my experiment with the evaluation board involves constantly making small changes and test out how they work, the slow build and the errors make it very painful. Please help.
Thank you very much!
Edit1: After new year holiday, a new error suddenly pops up when enter debug mode:
If I remove all expressions in the "Expression" window, the error disappeared.
And somehow the build time reduced to around 10s.
Show Less