XMC™ Forum Discussions
Hello,
I'm having issues migrating from an XTREME connectivity 1400 dev board to a custom PCB.
Having laid out and assembled a custom board, I'm not able to connect via SWD to start testing.
Toolchain is Rowley Crossworks. It's working fine with the XTREME board.
I have a few debuggers to choose from - Crossconnect with SWD adapter, the onboard debugger on the XTREME board, and the debugger portion of an XMC1400 for Arduiono board. All work fine to debug the XTREME board, but when I try to connect to my own board, I get the following:
j-link Log
Executing get part name script
Loading target script file XMC1000_Target.js
Executing script GetPartName()
Identifying
ROM Table 0x20000fd8
Identifying
Cannot find debug component from ROM table
The CPU section of the board is as follows:
I get the same with any of the 4 possible positions for J68/69.
Looking at the schematics for the XTREME board, I can't see that I've missed anything. I don't have any connection for SWD reset, but it appears not to be required as it's not connected at all on the XMC1400 for Arduino debugger.
Oscillator doesn't appear to be running, but I think the processor should start from internal oscillator anyway.
Processors are from a lot of 50 purchased from Mouser, so should be good, markings XMC1404 200A R5G2124. I've tried several on different boards to no avail.
I'm obviously missing something obvious, I'd love to know what!
Thanks
sca
Show LessHello all,
I have an issue trying to erase the Flash memory and specifically any sector above S8 of XMC4800. I am using the following function:
XMC_FLASH_EraseSector((uint32_t*)0x0C040000);
and it completely freezes the microcontroller when running over this command. In the other hand the following
XMC_FLASH_EraseSector((uint32_t*)0x0C020000);
It succeeds. My firmware is running in S0-S4. The weird thing is that if I use the XMC4800_E196x2048 version it works but I my board has the XMC4800_F144x2048. Is anyone aware of any errata related?
Show LessHi,
Are XMC4700 and XMC4800 binary compatible? That is a firmware written and compiled for XMC4700 could run on XMC4800, without recompile source code?
Thank you
Best Regards
Show LessDoes Segger Jlink or XMC-link- SEGGER_V1 support XMC1x and XMC4x Device flashing via Linux platform?
I have been working on a pcb trying to implement EtherCAT with KSZ8081 PHY and it is working with a small but annoying fault:
On a cold start of the PCB and with TwinCAT in free run mode the activity led is blinking as if it is talking to the PC (the activity led is controlled by the XMC) but twincat never sees it as connected (NO COMM it says) and i get no AlControl events or anything. With wireshark i can see how the master is sending commands to the slave repeatedly but no response by the slave.
but if i disconnect the ethernet cable and then reconnect it it just starts working normally!! and it will work forever until i do a cold start, so it seems the ECAT module gets stuck until a link up-> link down -> link up happens
First i thought maybe i would first start the PHY and then the ECAT periphery, didn't work neither vice versa.. i just don't know what to do now to solver this problem
The KSZ8081MLX strapping options are : broadcast disabled, full duplex, addres 0 and address 1 for phy0 and phy1...
Thanks and any help would be greatly appreciated
Regards Show Less
Hi Guys,
Can you please confirm if we have to use the COL and CRS pins for Ethernet PHY with XMC4300?
In the reference design we see that the COL and CRS pins in XMC4300 are used for something else and the Pins on the PHY are kept empty.
Note: We will be using the Ethercat functionality.
Kindly suggest for design consideration.
--
Reagards
Ashraful
Hello experts !!!
Here the program written for XMC1302 MCU want to debug it in the XMC1403MCU
please help me to find the solution to start the execution from application entry point from main function.
please find the document below while debugging the XMC 1403 MCU it starts from Default Handler
Regards
Karthik.
Show LessHello community!
I'm starting to use the XMC MCUs, in particular, I'm testing with the XMC4400 Platform2Go and I would like to know if there's any way to flash the MCU using ethernet, is there any bootloader that enables the feature, or a BootROM built-in feature that can handle that operation?
Thank you so much!
Kind regards,
Hi,
I want to run the SPI driver with DAVE4 Apps on my Relax-Kit. Therefore I have used the Infineon SPI example for DAVE4 to read and write data to the SPI-Flash.
As the example is written for a XMC4500-F144x1024 controller (144 pins), I have done the following steps to use the code on the relax-kit:
1. I have set up a new project for XMC4500-F100x1024 controller (100 pins).
2. After that I have added the same Apps as in the exsample to my project.
3. I have made all configurations according to the example and have assign the usic/0/channel/0 to the SPI_MASTER_App.
4. I have copied the soure code to my project.
5. Make, running and debugging of the code works.
But even I have the signals on the SPI lines, there is on answer from the SPI-Slave device (SPI-Flash)!
With my DAVE3 project (and old SPI dirver) I can contact the same SPI-Slave device.
Also the signals look a little different to the DAVE3 signals, e.g. the position of the edges is different. All modifications to the configuration in DAVE4 App, I could not solve the problem.
Is there a SPI driver or example with DAVE4 for the Relax-Kit?
Show LessHi
We are using XMC4700 with LQFP-100 chip format. Our board had tree uarts where one them must use hw controlled flow control becuse paired unit has high priority interrupt that disturbs its UART RX interrupt. Our plan is to use the CTS signal to hold back the transmission of the XMC until the receiver is free to receive more data. Our XMC uses following pins this UART
RX P5.1
TX P5.0
CTS P5.7
RTS P5.2
My question is. Is it possible to use P5.7 as CTS because I can not find this pin defined inside the file xmc4_usic_map.h?
#if (UC_DEVICE == XMC4700) && (UC_PACKAGE == LQFP100)
Thanks in advance
Stefan
Show Less