DAVE™ Forum Discussions
DAVE™
I have noticed the "startup_XMC4500.s" file contains Exception Handler definitions that can be overridden by the users own exception handlers.During c...
Show More
I have noticed the "startup_XMC4500.s" file contains Exception Handler definitions that can be overridden by the users own exception handlers.
During code development my code has occasionally jumped to one of the default exception handlers.
I would like to flag exception events and then if safe to do so continue with normal code execution.
Are there any example exception handlers available ?
Any advice would be greatly appreciated.
Best regards
Aaron Show Less
During code development my code has occasionally jumped to one of the default exception handlers.
I would like to flag exception events and then if safe to do so continue with normal code execution.
Are there any example exception handlers available ?
Any advice would be greatly appreciated.
Best regards
Aaron Show Less
DAVE™
I have an Infineon XMC1100 development board. I can use DAVE to build programs such as 'Blinky' to build, download and run on the development board. D...
Show More
I have an Infineon XMC1100 development board. I can use DAVE to build programs such as 'Blinky' to build, download and run on the development board. DAVE uses the GCC compiler but I am required to use the Keil compiler. Is there a way I can build with the Keil compiler but load the output onto the XMC1100 development board. I'm not sure if I should build under uVision and there is an option to debug on development board. Or can I import the output of the compiler into DAVE and use it's debugger or maybe DAVE can use the Keil compiler. I'm not sure which is the best method - any help would be appreciated.
Show Less
DAVE™
HiI'm exploring the UART001 examples and have some issues with understanding the setup of the DMA to use with the UART. First of all, the example as i...
Show More
Hi
I'm exploring the UART001 examples and have some issues with understanding the setup of the DMA to use with the UART.
First of all, the example as it is delevered will transmit only every 4th byte of the Data array. This is when source and destination single transfer and DMA burst widths are set to 8 (one byte?). How does that happen? And, the tx FIFO registers are 16 bit, while the UART001 is set up with 8 data bits (only low address of INx is used), so how should this actually be set up?
Further, if I break in the DMA_IRQ_BLOCK event, each of the 10 blocks (every 4 bytes) are transmitted, but if I don't some of the blocks, or part of blocks, are lost. My only conclution is that the DMA occationally overwrites the buffer before the data is sent? Is this a trigger issue? How do I prevent this?
i.e. if
Data[12] = {0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c}; // a..l, BlockSize=12
when breaking between blocks the terminal output is:
aeiaeiaeiaeiaeiaeiaeiaeiaeiaei
when not breaking, terminal output:
aeiaeiaeiaeiaeiae
Last. Please explain the differences between DMA transfer types Auto-reload multi-block transfer and Auto-reload multi-block transfer(contiguous SAR). How does this behave if block size is larger than UART FIFO?
Thanks,
/Åse Maj Show Less
I'm exploring the UART001 examples and have some issues with understanding the setup of the DMA to use with the UART.
First of all, the example as it is delevered will transmit only every 4th byte of the Data array. This is when source and destination single transfer and DMA burst widths are set to 8 (one byte?). How does that happen? And, the tx FIFO registers are 16 bit, while the UART001 is set up with 8 data bits (only low address of INx is used), so how should this actually be set up?
Further, if I break in the DMA_IRQ_BLOCK event, each of the 10 blocks (every 4 bytes) are transmitted, but if I don't some of the blocks, or part of blocks, are lost. My only conclution is that the DMA occationally overwrites the buffer before the data is sent? Is this a trigger issue? How do I prevent this?
i.e. if
Data[12] = {0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c}; // a..l, BlockSize=12
when breaking between blocks the terminal output is:
aeiaeiaeiaeiaeiaeiaeiaeiaeiaei
when not breaking, terminal output:
aeiaeiaeiaeiaeiae
Last. Please explain the differences between DMA transfer types Auto-reload multi-block transfer and Auto-reload multi-block transfer(contiguous SAR). How does this behave if block size is larger than UART FIFO?
Thanks,
/Åse Maj Show Less
DAVE™
Hello,I2C001 [1.0.22] App supports in GUI configuration the acknowledge interrupt, but with API functions you will not get the flag (I2C001_GetFlagSta...
Show More
Hello,
I2C001 [1.0.22] App supports in GUI configuration the acknowledge interrupt, but with API functions you will not get the flag (I2C001_GetFlagStatus ...)?
I need an interrupt driven I2C-Driver with master functionality to read/write an EEPROM (XMC1300).
Can I find somewhere an example? (not the I2C001_Example1_XMC13)
Or is a higher level APP planed for I2C master communication?
Best regards,
Michael Show Less
I2C001 [1.0.22] App supports in GUI configuration the acknowledge interrupt, but with API functions you will not get the flag (I2C001_GetFlagStatus ...)?
I need an interrupt driven I2C-Driver with master functionality to read/write an EEPROM (XMC1300).
Can I find somewhere an example? (not the I2C001_Example1_XMC13)
Or is a higher level APP planed for I2C master communication?
Best regards,
Michael Show Less
DAVE™
Hi Friends, I:Dn watchdog example when i run it after counter becomes five it does not reset the program but jumps to the following code...of startup_...
Show More
Hi Friends,
I:Dn watchdog example when i run it after counter becomes five it does not reset the program but jumps to the following code...of startup_xmc4500.s
file at line no labeled 2 and does not goes away from the instruction...please tell the solution....
/**************startup_xmc4500.s******************* ***/
/* ================== START OF VECTOR ROUTINES ============================= */
.thumb
/* ================================================== ====================== */
/* Reset Handler */
.thumb_func
.globl __Xmc4500_reset_cortex_m
.type __Xmc4500_reset_cortex_m, %function
__Xmc4500_reset_cortex_m:
.fnstart
1. /* Disable Branch prediction */
2. LDR R0,=PREF_PCON
3. LDR R1,[R0]
4. ORR R1,R1,#0x00010000
5. STR R1,[R0]
........
.............
..........
.................... Show Less
I:Dn watchdog example when i run it after counter becomes five it does not reset the program but jumps to the following code...of startup_xmc4500.s
file at line no labeled 2 and does not goes away from the instruction...please tell the solution....
/**************startup_xmc4500.s******************* ***/
/* ================== START OF VECTOR ROUTINES ============================= */
.thumb
/* ================================================== ====================== */
/* Reset Handler */
.thumb_func
.globl __Xmc4500_reset_cortex_m
.type __Xmc4500_reset_cortex_m, %function
__Xmc4500_reset_cortex_m:
.fnstart
1. /* Disable Branch prediction */
2. LDR R0,=PREF_PCON
3. LDR R1,[R0]
4. ORR R1,R1,#0x00010000
5. STR R1,[R0]
........
.............
..........
.................... Show Less
DAVE™
I have already tested the DALI CG app by using DALI_Control_Gear_Example01_XMC12I recognized that some DALI features like random addressing mode or t...
Show More
I have already tested the DALI CG app by using DALI_Control_Gear_Example01_XMC12
I recognized that some DALI features like random addressing mode or the storage of non volatile parameters are not supported.
Are future improvements planned for this app or can we expect new apps supporting the whole DALI-standard?
What is your planned line with respect to DALI? Show Less
I recognized that some DALI features like random addressing mode or the storage of non volatile parameters are not supported.
Are future improvements planned for this app or can we expect new apps supporting the whole DALI-standard?
What is your planned line with respect to DALI? Show Less
DAVE™
I have noticed in the DAVE project window that this seems to be arranged as the files are arranged in their disk folders. I cannot see a way to, say, ...
Show More
I have noticed in the DAVE project window that this seems to be arranged as the files are arranged in their disk folders. I cannot see a way to, say, remove a file from a project without deleting it from the actual folder. Most IDE project systems allow a mechanism to add/remove files from a project without physically deleting or adding it from disk but I can't see a way to do this with the DAVE projects? Incidentally I wish to do this because I am working with both GCC & Keil compiler and they have different startup files.
Show Less
DAVE™
i know that is should an easy topic, but ii did not figure out how to link to an existing library file by a DAvE CE project. How to do?
DAVE™
There is no Boundary Flag signal (BFL) connected to NVIC.You just need to:1) Connect the "Channel Event" to NIVC002 Interrupt Node2) Check the GxBFL i...
Show More
There is no Boundary Flag signal (BFL) connected to NVIC.
You just need to:
1) Connect the "Channel Event" to NIVC002 Interrupt Node
2) Check the GxBFL in the interrupt service routine Show Less
You just need to:
1) Connect the "Channel Event" to NIVC002 Interrupt Node
2) Check the GxBFL in the interrupt service routine Show Less
DAVE™
I have 12 closed projects and 3 open projects in my work space. If I want to switch between my open projects I can right click on a project folder and...
Show More
I have 12 closed projects and 3 open projects in my work space.
If I want to switch between my open projects I can right click on a project folder and set it as the active project. The s/w app connectivity view updates properly. Code generation, building and debugging work fine as well.
The project is apparently active but it is not displayed properly in the project explorer:
Usually the word -ACTIVE appeared next to the project name, but it is not displayed anymore (neither next to another project name).
Furthermore the appearance of the directory "model" has changed:
This issue persists since a couple of days.
I am using a version control system, so I am refreshing my project files frequently. Could this relate to the changed appearence?
Did someone else come across this deactivated(?) model view? Show Less
If I want to switch between my open projects I can right click on a project folder and set it as the active project. The s/w app connectivity view updates properly. Code generation, building and debugging work fine as well.
The project is apparently active but it is not displayed properly in the project explorer:
Usually the word -ACTIVE appeared next to the project name, but it is not displayed anymore (neither next to another project name).
Furthermore the appearance of the directory "model" has changed:
This issue persists since a couple of days.
I am using a version control system, so I am refreshing my project files frequently. Could this relate to the changed appearence?
Did someone else come across this deactivated(?) model view? Show Less