Dec 16, 2015
08:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2015
08:02 AM
I just received my first XMC4800 Relax Kits but I can't create a working project.
The debugger stopps immediately in the unhandled interrupt handler before anything in startup is processed.
Even with a plain project without any apps.
See my post http://www.infineonforums.com/threads/3563-Default-Handler-disrupting-FreeRTOS-program?p=10483&viewf...
Could it be caused by this linker warning?
The linker file looks very different at this section, compared to the 4500 linker file.
Can anybody provide a working XMC4800 project for testing purposes?
Any help is appreciated.
Michael
The debugger stopps immediately in the unhandled interrupt handler before anything in startup is processed.
Even with a plain project without any apps.
See my post http://www.infineonforums.com/threads/3563-Default-Handler-disrupting-FreeRTOS-program?p=10483&viewf...
Could it be caused by this linker warning?
e:/davev4/dave-4.1.4/eclipse/arm-gcc-49/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:../linker_script.ld:135: warning: memory region `SRAM_combined' not declared
The linker file looks very different at this section, compared to the 4500 linker file.
Can anybody provide a working XMC4800 project for testing purposes?
Any help is appreciated.
Michael
7 Replies
Dec 17, 2015
06:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 17, 2015
06:22 PM
Hello Michael,
There are example codes available for XMC4800 on the webpage for the Relax kit:
http://www.infineon.com/cms/en/product/evaluation-boards/KIT_XMC48_RELAX_ECAT_V1/productType.html?pr...
Can you check if these work for you?
Regards,
Min Wei
There are example codes available for XMC4800 on the webpage for the Relax kit:
http://www.infineon.com/cms/en/product/evaluation-boards/KIT_XMC48_RELAX_ECAT_V1/productType.html?pr...
Can you check if these work for you?
Regards,
Min Wei
Dec 18, 2015
01:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 18, 2015
01:46 AM
Hello Min Wei,
thank you for the feedback, I'll test these.
I solved my problem temporally by adding a region "SRAM_combined" manually to the project's memory settings, but I'm not sure about the perfect size...;)
It's the first time you guys defined a "combined" region in the linker file.
Michael
thank you for the feedback, I'll test these.
I solved my problem temporally by adding a region "SRAM_combined" manually to the project's memory settings, but I'm not sure about the perfect size...;)
It's the first time you guys defined a "combined" region in the linker file.
Michael
Dec 18, 2015
01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 18, 2015
01:53 AM
Hello Min Wei,
same problem with the LED blinky project.
Can't run or debug and same warning when linking.
I'm using DAVE 4.1.4
Michael
same problem with the LED blinky project.
Can't run or debug and same warning when linking.
I'm using DAVE 4.1.4
Michael
Dec 22, 2015
09:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 22, 2015
09:44 PM
Hello Michael,
You are right, the problem is with the linker script missing the SRAM_combined declaration.
To fix this, can you add the line highlighted in red, bold to the linker script file?
Meanwhile I will request the relevant team to fix this in the DAVE4 tool.
Have a Merry X'mas and Happy New Year!
Thanks, and Kind Regards,
Min Wei
You are right, the problem is with the linker script missing the SRAM_combined declaration.
To fix this, can you add the line highlighted in red, bold to the linker script file?
Meanwhile I will request the relevant team to fix this in the DAVE4 tool.
MEMORY
{
FLASH_1_cached(RX) : ORIGIN = 0x08000000, LENGTH = 0x200000
FLASH_1_uncached(RX) : ORIGIN = 0x0C000000, LENGTH = 0x200000
PSRAM_1(!RX) : ORIGIN = 0x1FFE8000, LENGTH = 0x18000
DSRAM_1_system(!RX) : ORIGIN = 0x20000000, LENGTH = 0x20000
DSRAM_2_comm(!RX) : ORIGIN = 0x20020000, LENGTH = 0x20000
SRAM_combined(!RX) : ORIGIN = 0x1FFE8000, LENGTH = 0x58000
}
Have a Merry X'mas and Happy New Year!
Thanks, and Kind Regards,
Min Wei
Not applicable
Apr 19, 2016
01:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 19, 2016
01:15 AM
chrismo: This still isn't fixed, and Dave keeps on removing this from my linker-script. I haven't found a way to reproduce it reliably. It seems to be related to activating a project, but I'm not sure. Is there any ETA for a fix?
Apr 19, 2016
01:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 19, 2016
01:41 AM
Hello,
My understanding is that this has been fixed.
May I know what is the linker script version that you see? Also which DAVE version are you using?
Mine is v1.2 2016-03-08 and DAVE4.2.4 respectively.
Regards,
Min Wei
My understanding is that this has been fixed.
May I know what is the linker script version that you see? Also which DAVE version are you using?
Mine is v1.2 2016-03-08 and DAVE4.2.4 respectively.
Regards,
Min Wei
Not applicable
Apr 21, 2016
02:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 21, 2016
02:54 AM
Hey,
this happened to linker-scriptd that came with the webserver- and the opc-ua-server-demo for the XMC4700/4800.
The linker script is v1.1 2015-09-03
And I'm using Dave 4.2.4.
But why is Dave messing with my nicely working linker script? Also Dave just removes that specific line.
Thanks for the quick answer, by the way.
this happened to linker-scriptd that came with the webserver- and the opc-ua-server-demo for the XMC4700/4800.
The linker script is v1.1 2015-09-03
And I'm using Dave 4.2.4.
But why is Dave messing with my nicely working linker script? Also Dave just removes that specific line.
Thanks for the quick answer, by the way.