XMC™ Forum Discussions
XMC™
When will it correspond to all peripherals of XMC?
Or when will the XMC Library for Embedded Coder ver3.0 be released?
Or when will the XMC Library for Embedded Coder ver3.0 be released?
XMC™
Dear All,does anybody know where I can find a list of the XMC1400 hardware registers? I want to use the ASC (UART), but can't find information on the ...
Show More
Dear All,
does anybody know where I can find a list of the XMC1400 hardware registers? I want to use the ASC (UART), but can't find information on the baudrate regsiters ie. BRG.PDIV bits, etc.
Thanks in advance.
KFW Show Less
does anybody know where I can find a list of the XMC1400 hardware registers? I want to use the ASC (UART), but can't find information on the baudrate regsiters ie. BRG.PDIV bits, etc.
Thanks in advance.
KFW Show Less
XMC™
Hi there,We would like to build an automated testing setup for our xmc4700. To do that we want to flash the firmware from a raspberry pi 3 via an xmc-...
Show More
Hi there,
We would like to build an automated testing setup for our xmc4700. To do that we want to flash the firmware from a raspberry pi 3 via an xmc-link (v1.1) to an xmc4700.
What we did:
- Downloaded and installed Segger tool for ARM from here (https://www.segger.com/downloads/jlink/. )
- Added the install location of the segger tools to the PATH variable in the .bashrc file.
- When we connected the Jlink via USB and started the JlinkExe we got the following error:
"
pi@raspberrypi:~ $ JLinkExe
SEGGER J-Link Commander V6.16c (Compiled Jun 16 2017 18:19:34)
DLL version V6.16c, compiled Jun 16 2017 18:19:11
Connecting to J-Link via USB...FAILED: Cannot connect to J-Link via USB.
J-Link>
"
When we tried it from a windows pc it works fine.
Furthermore the DEBUG-LED at the xmc-link is constantly iluminated green and the COM-LED constantly red.
When we tried form the Windows PC the DEBUG-LED is also constantly green and the COM-LED off.
Has anyone ever tried to flash firmware from the raspberry pi to the xmc? Are there maybe other options than the xmc-link?
Thanks for your help!
Nicolas Show Less
We would like to build an automated testing setup for our xmc4700. To do that we want to flash the firmware from a raspberry pi 3 via an xmc-link (v1.1) to an xmc4700.
What we did:
- Downloaded and installed Segger tool for ARM from here (https://www.segger.com/downloads/jlink/. )
- Added the install location of the segger tools to the PATH variable in the .bashrc file.
- When we connected the Jlink via USB and started the JlinkExe we got the following error:
"
pi@raspberrypi:~ $ JLinkExe
SEGGER J-Link Commander V6.16c (Compiled Jun 16 2017 18:19:34)
DLL version V6.16c, compiled Jun 16 2017 18:19:11
Connecting to J-Link via USB...FAILED: Cannot connect to J-Link via USB.
J-Link>
"
When we tried it from a windows pc it works fine.
Furthermore the DEBUG-LED at the xmc-link is constantly iluminated green and the COM-LED constantly red.
When we tried form the Windows PC the DEBUG-LED is also constantly green and the COM-LED off.
Has anyone ever tried to flash firmware from the raspberry pi to the xmc? Are there maybe other options than the xmc-link?
Thanks for your help!
Nicolas Show Less
XMC™
I would like to generate an interrupt on ERU0_0_IRQn on falling edge of an input signal on pin RTC_XTAL1. The Port I/O function table says RTC_XTAL1 i...
Show More
I would like to generate an interrupt on ERU0_0_IRQn on falling edge of an input signal on pin RTC_XTAL1. The Port I/O function table says RTC_XTAL1 is linked to ERU0.1B1. However, it does not seem to work. I am confident that my ERU is configured correctly, as I can make it work with any GPIO pins. So, the problem seems to come from the pin RTC_XTAL1.
XTALGPI1SEL is set to 0 in SCU.HDCR. Is there any other register I should look at to make the RTC_XTAL1 pin work with ERU?
Thanks,
Cedric Show Less
XTALGPI1SEL is set to 0 in SCU.HDCR. Is there any other register I should look at to make the RTC_XTAL1 pin work with ERU?
Thanks,
Cedric Show Less
XMC™
I am right that it is not possible to erase a singel page on the XMC4500??Because on the XMC1xxx I can use the XMC_FLASH_ErasePages funciton. Thanksma...
Show More
I am right that it is not possible to erase a singel page on the XMC4500??
Because on the XMC1xxx I can use the XMC_FLASH_ErasePages funciton.
Thanks
mathias Show Less
Because on the XMC1xxx I can use the XMC_FLASH_ErasePages funciton.
Thanks
mathias Show Less
XMC™
Hi, I'm trying to find a way to retrieve a unique Serial Number from every chip. That Serial Number must be write protected so it can't be overwritten...
Show More
Hi, I'm trying to find a way to retrieve a unique Serial Number from every chip. That Serial Number must be write protected so it can't be overwritten when we re-program the device. What's the best way to do it? So far, I tried to program the BMI (boot-mode index) in the UCB2 page 1, but it doesn't seem to work. The Mac Address in BMI block copied in DSRAM1 at bootup is not constant and doesn't correspond to the value I want. However, the BMI Word (4 bytes in BMI string) is written successfully (I set the Mac Address valid flag). Any idea what I'm doing wrong?
Thanks,
Cedric Show Less
Thanks,
Cedric Show Less
XMC™
Hi!
Can the USIC.SSC function in DDR (double data rate) mode?
USIC.SSC functions in master mode.
Thank you in advance for your help.
Can the USIC.SSC function in DDR (double data rate) mode?
USIC.SSC functions in master mode.
Thank you in advance for your help.
XMC™
Hi,I am trying to run µc/Probe with an XMC 4200F64x256.But it crashes all the time, when I try to run. (I have never seen something like that)Those ar...
Show More
Hi,
I am trying to run µc/Probe with an XMC 4200F64x256.
But it crashes all the time, when I try to run. (I have never seen something like that)
Those are the steps i did before pressing play:
1. selected the correct *.elf file.
2. switched to XMC4000 family.
3. Added a linear gauge (vertial 1)
4. Dropped one of the variables onto it.
5. Clicked the variable in the symbols manager of the vertical 1.
6. Software is running on the MCU.
7. Debugger is connected.
8. in µC / Probe it is configures as SWD and 1000khz (those are the settings in my DAVE configuration)
6. Pressed play.
7. CRASH
This is the error:
Date: 6/13/2017 1:29:43 PM
µC/Probe Version: 4.2.1.544
µC/Probe Edition: Pro
CommunicationType: SeggerJLinkSettings
Culture: en-US
SymbolFile: NULL
DotNetVersion: 4.0.30319.42000
OsMajorVersion: 6
OsMinorVersion: 2
OsPlataform: Win32NT
Error Message: Value cannot be null.
Parameter name: source
InnerException: NULL
StackTrace: at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at Micrium.Ucprobe.Modules.Docking.Screens.ViewModel.OS2.KA.Tasks.OS2_KA_Tasks_ViewModel.Start(CommunicationSettings settings, Boolean isFirstTime)
at Micrium.Ucprobe.Modules.Docking.Screens.ViewModel.OS2.KA.OS2_KA_ViewModel.Start(CommunicationSettings settings, Boolean newOS_NetCode)
at Micrium.Ucprobe.Controls.Common.ControlDispatcher.SetAwarenessScreensForStart()
at Micrium.Ucprobe.Controls.Common.ControlDispatcher.SetDispatcherForStart()
at Micrium.Ucprobe.Controls.Common.ControlDispatcher.Start()
at Micrium.Ucprobe.ApplicationSystem.Application.AppSystem.StartCollectingData()
at Micrium.Ucprobe.ApplicationSystem.Tools.CustomVersion.Infineon.Infineon_Version_Properties.CheckValue(Int32 valueToCheck)
at Micrium.Ucprobe.ApplicationSystem.Tools.CustomVersion.Infineon.Infineon_Version_Properties.Update(ControlUpdate update)
at Micrium.Ucprobe.ApplicationSystem.SymbolsManagment.SymbolsDispatcher.<>c__DisplayClass3.b__2()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Show Less
I am trying to run µc/Probe with an XMC 4200F64x256.
But it crashes all the time, when I try to run. (I have never seen something like that)
Those are the steps i did before pressing play:
1. selected the correct *.elf file.
2. switched to XMC4000 family.
3. Added a linear gauge (vertial 1)
4. Dropped one of the variables onto it.
5. Clicked the variable in the symbols manager of the vertical 1.
6. Software is running on the MCU.
7. Debugger is connected.
8. in µC / Probe it is configures as SWD and 1000khz (those are the settings in my DAVE configuration)
6. Pressed play.
7. CRASH
This is the error:
Date: 6/13/2017 1:29:43 PM
µC/Probe Version: 4.2.1.544
µC/Probe Edition: Pro
CommunicationType: SeggerJLinkSettings
Culture: en-US
SymbolFile: NULL
DotNetVersion: 4.0.30319.42000
OsMajorVersion: 6
OsMinorVersion: 2
OsPlataform: Win32NT
Error Message: Value cannot be null.
Parameter name: source
InnerException: NULL
StackTrace: at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at Micrium.Ucprobe.Modules.Docking.Screens.ViewModel.OS2.KA.Tasks.OS2_KA_Tasks_ViewModel.Start(CommunicationSettings settings, Boolean isFirstTime)
at Micrium.Ucprobe.Modules.Docking.Screens.ViewModel.OS2.KA.OS2_KA_ViewModel.Start(CommunicationSettings settings, Boolean newOS_NetCode)
at Micrium.Ucprobe.Controls.Common.ControlDispatcher.SetAwarenessScreensForStart()
at Micrium.Ucprobe.Controls.Common.ControlDispatcher.SetDispatcherForStart()
at Micrium.Ucprobe.Controls.Common.ControlDispatcher.Start()
at Micrium.Ucprobe.ApplicationSystem.Application.AppSystem.StartCollectingData()
at Micrium.Ucprobe.ApplicationSystem.Tools.CustomVersion.Infineon.Infineon_Version_Properties.CheckValue(Int32 valueToCheck)
at Micrium.Ucprobe.ApplicationSystem.Tools.CustomVersion.Infineon.Infineon_Version_Properties.Update(ControlUpdate update)
at Micrium.Ucprobe.ApplicationSystem.SymbolsManagment.SymbolsDispatcher.<>c__DisplayClass3.
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
XMC™
Hi,I am right that the maximum EEPROM size is 8kB? Why is it not 16kB because each of the 4 sectors has 16kB?I do not understand why there is a 64kB ...
Show More
Hi,
I am right that the maximum EEPROM size is 8kB? Why is it not 16kB because each of the 4 sectors has 16kB?
I do not understand why there is a 64kB FLASH_0 in the linker file. Then the EEPROM 64kB and then
FLASH_1. But the FLASH_0 is only needed for reset. Is it not possible to place the EEPROM at the end
of the flash? Because with this setting i have lost some kbytes.
FLASH_0_cached(RX) : ORIGIN = 0x08000000, LENGTH = 0x010000
FLASH_0_uncached(RX) : ORIGIN = 0x0C000000, LENGTH = 0x010000
FLASH_1_cached(RX) : ORIGIN = 0x08020000, LENGTH = 0xE0000
FLASH_1_uncached(RX) : ORIGIN = 0x0C020000, LENGTH = 0xE0000
PSRAM_1(!RX) : ORIGIN = 0x10000000, LENGTH = 0x10000
DSRAM_1_system(!RX) : ORIGIN = 0x20000000, LENGTH = 0x10000
DSRAM_2_comm(!RX) : ORIGIN = 0x30000000, LENGTH = 0x8000
many thanks Show Less
I am right that the maximum EEPROM size is 8kB? Why is it not 16kB because each of the 4 sectors has 16kB?
I do not understand why there is a 64kB FLASH_0 in the linker file. Then the EEPROM 64kB and then
FLASH_1. But the FLASH_0 is only needed for reset. Is it not possible to place the EEPROM at the end
of the flash? Because with this setting i have lost some kbytes.
FLASH_0_cached(RX) : ORIGIN = 0x08000000, LENGTH = 0x010000
FLASH_0_uncached(RX) : ORIGIN = 0x0C000000, LENGTH = 0x010000
FLASH_1_cached(RX) : ORIGIN = 0x08020000, LENGTH = 0xE0000
FLASH_1_uncached(RX) : ORIGIN = 0x0C020000, LENGTH = 0xE0000
PSRAM_1(!RX) : ORIGIN = 0x10000000, LENGTH = 0x10000
DSRAM_1_system(!RX) : ORIGIN = 0x20000000, LENGTH = 0x10000
DSRAM_2_comm(!RX) : ORIGIN = 0x30000000, LENGTH = 0x8000
many thanks Show Less
XMC™
Hello everyone,I'm trying to setup a symmetric PWM with the CCU4 Module with DAVE4.3 for a XMC4700.I've been looking how to enable the transfer of the...
Show More
Hello everyone,
I'm trying to setup a symmetric PWM with the CCU4 Module with DAVE4.3 for a XMC4700.
I've been looking how to enable the transfer of the shadow registers only at the 'one-match' event instead of twice per period.
I noticed that the XMCLib function "XMC_CCU4_SLICE_SetShadowTransferMode()" is only available for the XMC1400 series.
Is it possible to configure the CCU4 to work in symmetric mode so that the compare match value is updated only at the beginning of the PWM period (one-match)?
Regards,
Sebastian Show Less
I'm trying to setup a symmetric PWM with the CCU4 Module with DAVE4.3 for a XMC4700.
I've been looking how to enable the transfer of the shadow registers only at the 'one-match' event instead of twice per period.
I noticed that the XMCLib function "XMC_CCU4_SLICE_SetShadowTransferMode()" is only available for the XMC1400 series.
Is it possible to configure the CCU4 to work in symmetric mode so that the compare match value is updated only at the beginning of the PWM period (one-match)?
Regards,
Sebastian Show Less
Trending discussions