Quantcast
Channel: Infineon Forums
Viewing all 9892 articles
Browse latest View live

Micrium error

$
0
0
I am trying to debug my code in micrium using .elf file.
I am not able to locate Main.c file in that.
Can anybody help me with this issue.

Facing lstdc issue in HighTec IDE

$
0
0
Dear Support Team,

I am using HighTec IDE for building MicroPython source code. I am facing following errors while building.

c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: skipping incompatible C:\HIGHTEC\toolchains\tricore\v4.9.1.0-infineon-1.1\tricore\lib/libstdc++.a when searching for -lstdc++
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: skipping incompatible C:\HIGHTEC\toolchains\tricore\v4.9.1.0-infineon-1.1\tricore\lib\libstdc++.a when searching for -lstdc++

I am using Windows 10 (64-bit) PC.

Can you please help in fixing these errors and explain the reason for those errors.

Please respond as soon as possible.

Thanks and Regards,
Narreddi Siva Prakash Reddy
Jasmin Infotech Pvt Ltd

XMC 4800 uC VADC performance with ALIAS

$
0
0
Hi all,

I am using XMC 4800 for concurrent reading of three current sensing resistors. I was wondering if there is any different between using ALIAS to sample from any channel and specifically using the same channel number for three groups in terms of sampling time. i.e. Does ALIAS cause extra delays when obtaining samples?


Thank you,
Michael

XMC4200 and printf function using CMSIS

$
0
0
Hello everyone,

I'm an electronics student working on my first ARM project with a XMC4200 hexagon board. I use keil MDK5 as an IDE.
I only have experience with the XC88 series programming in assambler so arm and Keil are completely new for me.
It took me a while to get started but now i'm able to setup the board and control some basic I/O.
Now i want to have some debug feedback from my board using a printf function.
From school out, i was only able to use the CMSIS library(so no dave generated code).
So i followed this link: link
and added this to my code. On the bottom of the page it goes about the redirect file.
I understand what this file is doing but i'm unable to get it working on my system.
When i go to the debug viewer in Keil, nothing is showing up.
Since i'm unable to find any tutorials or examples with the CMSIS library and a XMC microcontroller, i hope somebody on this forum could help me solve this issue.
Thank you in advance!

Measuring 2 signals in parallel with XMC1100

$
0
0
In https://www.infineon.com/dgdl/Infine...4b078129f42271 you write on p 12/24:*
“In many occasions, algorithms request the usage of several analog values that are measured at the same time.
As an example, one could compute the power, for example at a load, by multiplying the current and voltage on it. This calculation would only make sense in case both signals were measured at the exact same point in time.
XMC1000 allows to measure 2 signals in parallel. The master will request a conversion in its groups. This will automatically lead the request of the same channel number in the slave group. The rest of the VADC features can be used such as result handling, event generation, limit check, etc.”
Can Infineon provide SW routines and/or SW configurations which show how to implement measuring 2 signals in parallel?

Facing "asm" related issue

$
0
0
Hello,

I am using HighTec IDE for cross building of MicroPython source code for TriCore Architecture. I am facing "asm" related errors in building the source code. I added all required files to the project.
The following is the error log..

18:52:12 **** Build of configuration Default for project minimal ****
make all
Building file: C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c
Invoking: Cross GCC Compiler
gcc -std=c99 -O2 -g -Wall -c -fmessage-length=0 -MMD -MP -MF"py/nlrx86.d" -MT"py/nlrx86.d" -o "py/nlrx86.o" "C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c"
C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c: In function 'nlr_push_tail':
C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c:41:44: error: expected declaration specifiers before 'asm'
unsigned int nlr_push_tail(nlr_buf_t *nlr) asm("nlr_push_tail");
^~~
C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c:46:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
unsigned int nlr_push(nlr_buf_t *nlr) {
^
C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c:71:1: error: expected declaration specifiers before '__attribute__'
__attribute__((used)) unsigned int nlr_push_tail(nlr_buf_t *nlr) {
^~~~~~~~~~~~~
C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c:78:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
void nlr_pop(void) {
^
In file included from C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c:27:0:
c:\users\sivaprakashreddy\desktop\micropython-1.9.2\py\mpconfig.h:1238:18: error: expected declaration specifiers before '__attribute__'
#define NORETURN __attribute__((noreturn))
^
C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c:83:1: note: in expansion of macro 'NORETURN'
NORETURN void nlr_jump(void *val) {
^~~~~~~~
C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c:111:1: error: expected '{' at end of input
}
^
C:/Users/sivaprakashreddy/Desktop/micropython-1.9.2/py/nlrx86.c:111:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [py/nlrx86.o] Error 1
py/subdir.mk:638: recipe for target 'py/nlrx86.o' failed

18:52:13 Build Finished (took 1s.313ms)



Please, help me in resolving this kind of issues.

Thanks and Regards,
Siva Prakash Reddy

Dave 4 - XMC4500 debug from program with offset

$
0
0
Dear All,

I want to debug a Dave project to be downloaded with offset to the FLASH start. I.e., in XCM4500 the start address is 0x0C000000 and I want the application to be downloaded (and debugged) at 0x0C020000.

On the project settings -> C/C++ Build -> Memory Settings, I have changed FLASH 1 (cached) to 0x08020000 and FLASH 1 (uncached) to 0x0C020000.

linker_script.ld file updates to this values:

MEMORY
{
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
}

After download of the program, the debugger doesn't stop at beggining of main as usual, and starts running right away. If I pause the program, the pc is at 0x8000696... Shouldn't it be at a value bigger than 0x8020000?

Doing the same procedure in DAVE3 works perfectly fine. Where am I going wrong?

Best Regards,

9-bit UART with XMC1200

$
0
0
Hi,

is it possible to use a XMC1200 with:
1 Startbit, 8 Databits, 1 Modebit, 1 Stopbit = 11 Bits

Is the Modebit the "Parity Selection" and which one have I to use: "Odd Parity" or "Even Parity"?

Thanks and regards,
Bernd

Feb, 27 2018: New Release of DAVE™, DAVE™ APPs and other Libraries

$
0
0
Today we published new versions of DAVE, DAVE APPs, XMC Lib, Device Descriptions, and Device Support Pack.

DAVE v4.4.2
New features:
  • Board selection option introduced.
  • Library store default path is moved to DAVE package
  • DAVE package is upgraded from Eclipse Luna to Neon package
  • Please note that DAVE 4.4.2 is coming as zip file without installer (details in the installation instructions

Download New DAVE v4.4.2
Download DAVE 4.4.2 release note

The SDK for DAVE v4.4.2 will be released later.


DAVE APPs
25 DAVE APPs have been updated (fixing of issues, adding new features, update)
CCU4_SLICE_CONFIG, CCU8_SLICE_CONFIG, CLOCK_XMC1, CMSIS_DSP, CMSIS_RTOS_RTX, CRC_SW, DAC_LUT, E_EEPROM_XMC4, ECAT_SSC, ETH_LWIP, FATFS, FREERTOS, GLOBAL_POSIF, GLOBAL_SCU_XMC1, GLOBAL_SCU_XMC4, HTTP_SERVER, I2C_MASTER, I2C_SLAVE, PMSM_FOC, PWM_BC, PWM_SVM, RTC, SPI_MASTER, UART_CONFIG, VADC_GLOBAL_CONFIG

Contributed DAVE APPs
2 DAVE APPs have been updated: SEGGER_RTT, UCPROBE

Download release note (contains also the changes of the contributed DAVE APPs)
Please note, a user action is required when migrating an existing project to the new version of the UART_CONFIG APP (described in the release note).

DAVE Device Description
The device descriptions for the XMC1400 series and the XMC4300 series have been updated with missing connectivity and alternate function options.
Download release note

DAVE Device Pack v2.2.2
Update to XMC Lib v2.1.18
Update to CMSIS 5.2.0
Support for new devices added
Board Support added (can only be us along with DAVE v4.4.2 and not with earlier DAVE version)
Updates of CMSIS startup and system files

Download release note

Download the complete library update sites as zip file for DAV 4.4.2 (is already included when downloading the new DAVE 4.4.2 version).
Download the complete library store for DAVE v4.3.2 and older Versions (without board support schemes).


XMC Lib v2.1.18
15 XMC Libs are updated:
Common, CAN, CCU4, CCU8, DMA, ETH_MAC, FCE, FLASH, GPIO, I2C, MATH, UART, USIC, SCU, VADC
Download release note
Download XMC Lib v 2.1.18 package

The current web sites of DAVE are not full updated, this will happen within the next couple of day.

Also the CMSIS PACKs for XMC100 and XMC4000 have been updated.
They can be directly updated from the web using the PACK installer in the respective tools.
Or can be downloaded separately as PACK files:
XMC1000 PACK

XMC4000 PACK

Feb, 27 2018: New Release of DAVE™, DAVE™ APPs and other Libraries

$
0
0
Today we published new versions of DAVE, DAVE APPs, XMC Lib, Device Descriptions, and Device Support Pack.

DAVE v4.4.2
New features:
  • Board selection option introduced.
  • Library store default path is moved to DAVE package
  • DAVE package is upgraded from Eclipse Luna to Neon package
  • Please note that DAVE 4.4.2 is coming as zip file without installer (details in the installation instructions

Download New DAVE v4.4.2
Download DAVE 4.4.2 release note

The SDK for DAVE v4.4.2 will be released later.


DAVE APPs
25 DAVE APPs have been updated (fixing of issues, adding new features, update)
CCU4_SLICE_CONFIG, CCU8_SLICE_CONFIG, CLOCK_XMC1, CMSIS_DSP, CMSIS_RTOS_RTX, CRC_SW, DAC_LUT, E_EEPROM_XMC4, ECAT_SSC, ETH_LWIP, FATFS, FREERTOS, GLOBAL_POSIF, GLOBAL_SCU_XMC1, GLOBAL_SCU_XMC4, HTTP_SERVER, I2C_MASTER, I2C_SLAVE, PMSM_FOC, PWM_BC, PWM_SVM, RTC, SPI_MASTER, UART_CONFIG, VADC_GLOBAL_CONFIG

Contributed DAVE APPs
2 DAVE APPs have been updated: SEGGER_RTT, UCPROBE

Download release note (contains also the changes of the contributed DAVE APPs)
Please note, a user action is required when migrating an existing project to the new version of the UART_CONFIG APP (described in the release note).

DAVE Device Description
The device descriptions for the XMC1400 series and the XMC4300 series have been updated with missing connectivity and alternate function options.
Download release note

DAVE Device Pack v2.2.2
Update to XMC Lib v2.1.18
Update to CMSIS 5.2.0
Support for new devices added
Board Support added (can only be us along with DAVE v4.4.2 and not with earlier DAVE version)
Updates of CMSIS startup and system files

Download release note

Download the complete library update sites as zip file for DAV 4.4.2 (is already included when downloading the new DAVE 4.4.2 version).
Download the complete library store for DAVE v4.3.2 and older Versions (without board support schemes).


XMC Lib v2.1.18
15 XMC Libs are updated:
Common, CAN, CCU4, CCU8, DMA, ETH_MAC, FCE, FLASH, GPIO, I2C, MATH, UART, USIC, SCU, VADC
Download release note
Download XMC Lib v 2.1.18 package

The current web sites of DAVE are not full updated, this will happen within the next couple of day.

Also the CMSIS PACKs for XMC100 and XMC4000 have been updated.
They can be directly updated from the web using the PACK installer in the respective tools.
Or can be downloaded separately as PACK files:
XMC1000 PACK

XMC4000 PACK

TLE9879 bootloader

$
0
0
Hi,

any idea how to flash two hex files (bootloader and application hex) on TLE987x micro? I am using keil µvision 5. Is there from infineon any flash programmer tool for TLE987x?

Another question, what is the code to initialize the stack pointer and jump into application on bootloader?

I have found this example in the forum but not sure if it works for tle987x:

__asm
(
"LDR r0, =0x10006004\n" /* jump to start address of app + 4 (reset address) */
"BLX r0"
);

AP32272 - AURIX Generic Bootstrap Loader Issue

$
0
0
Hello,
Did anyone manage to use the Windows tool for flashing the Aurix microcontroller?
I managed to get the supplied example hex file flashed.
Also I managed to flash a basic project with just a Tasking provided cstart.c, main() and STM0 driver.

But, the moment I introduce an ISR (STM0_ISR0 for ticks), the tool fails to flash. The tool aborts the flashing somewhere in the middle of programming the PF0.
If I remove the interrupt routine, the tool is happy to complete the programming and indeed, the SW runs fine.
The address at which the flashing fails does not make any sense to me as memory map looks alright.

Did anybody manage to get this tool working for HEX files other than one supplied with this application note?

PS: My project environment: TC234, TASKING VX Toolset Ver 4.3r3 on Windows 7
Thanks,
Vivith

LPAC and HIB_IO_1 configuration with XMC4400

$
0
0
Hi,

sorry for my mistake.

Please replace "...is above the upper threshold level independant from the supplied voltage" with
"...is above the lower threshold level independant from the supplied voltage".

TLE493D-W2B6 enabling the wakeup feature?

$
0
0
Had a quick look. Configuration parity in the W2 device has to be calculated as:
* all bits of i2c registers 0x07 to 0x0C
* 7 LSB of i2c register 0x0D (so the WU enable flag is also part of the parity)
* 6 LSB of i2c registers 0x0E and 0x0F (the MSBs of these two registers are nevertheless "00"b for this mode)
* all bits of i2c registers 0x10 (where the LSB is CP which is of course set accordingly to get the right parity result)

Then the CF flag should change to 1 (and if WU enable is set 1 the WU active flag will change to 1 as well, which means WU is activated)...

Hope it helps.

Station Management Interface for custom PHY (DP83822)

$
0
0
Hello everyone!

I am implementing an Ethernet PHY for a custom mcu board using an XMC4500 and a DP83822.

This Texas chip is compatible with the existing driver supplied by Infineon for the DP83848 phy.

The problem is I need to initialize using a serial bus the DP83822 to operate in RMII mode.
According to XMC4500 ref manual §15.2.8 , there is a Station Management Interface allowing to do such serial writes.

But I cannot get it to work.

Is there any example somewhere showing how to build and send a Serial Read or Write command to the chip ?

Any help is welcome,

Jorge

TLV493D returns NCK

$
0
0
The sequence "Start - 0x00 - Stop" (which is basically sending just the general call address 0 on the i2c bus) resets the sensor at the end of the frame.

Is SDA on low on intention during start-up? The sensor captures the SDA level on power-up and reset (on TLV493D-A1B6) to change its address, this you can find in chapter 6 on the document you mentions...

TLV493D acknowledge problem

$
0
0
In your schematic you have not shown the pin numbers. Just for clarification:
The "main GND" is pin 3 on the sensor (see table 2 of the datasheet). If this is connected i2c should work already. even if the pin 2/5 are floating, see sketch:
Attachment 3372
The other two pins 2/5 should be additionally connected to GND, this is not mandatory for i2c communication to get proper low levels, but for general performance of the sensor.

If you connect the pull-ups of i2c to the 3.3V supply and use open-drain on the Microcontroller (w/o any pull-ups to 5V, you need to check the specific Arduino board you use) you may omit the level shifters.
Two conditions must be met: there is no external path from the i2c lines to 5V (so the bus lines see max. the 3.3V via the pull-ups, e.g. check this before connecting the sensor) and the 3.3V level is sufficient for the input pin on uC side to be accepted as high level.
?????

MCTROOL V2 with IRMCK099 and Eval-M1-05F310 board problem

$
0
0
Hi,

I am in the same case, is there any news?

Best Regards

Dave 4 - Not able to add APPs or device library

$
0
0
Hello everyone,

I'm trying to add APPs to my projects but when doing it I get the error in the following picture.

Attachment 3373

Then I tried to install the device library over Help -> Install Dave APP/Example/Device Library... and chose Dave APPs Library Manager in the Dropdown. But as seen in the picture below nothing happens. I tried adding the library manually, but there I don't get any Suggestions listed, too.

Attachment 3374

Anyone had this problem before and solved it?

Best regards,
Marc
?????

Issue connecting TC27x board via miniwiggler

$
0
0
Hello All,

I am trying to connect TC27x device with miniwiggler DAP, but i notice the following error


Starting Debugger...
The debug instrument IO could not be initialized.
The GDI debug instrument provided the following error message.
An internal error has occurred.



I have started the UDAS derver using DAS server.

Am i missing something here?
Viewing all 9892 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>