Software Forum Discussions
Browse the Community
ModusToolbox™
The ModusToolbox™ forum includes discussions regarding multi-platform development tools and a comprehensive suite of GitHub-hosted firmware libraries accompanied by thoroughly tested code example applications.
DAVE™
PSoC™ Creator & Designer
Discussion forum regarding PSoC Creator & Designer Software topics.
Wi-Fi Bluetooth for Linux
AURIX™ Development Studio
The AURIX™ Development Studio is a free of charge Integrated Development Environment (IDE) for the TriCore™-based AURIX™ microcontroller family. It is a comprehensive development environment, including Eclipse IDE, C-Compiler, Multi-core Debugger, Infineon low-level driver (iLLD), with no time and code-size limitations that enables editing, compiling, and debugging of application code. Combined with numerous code example projects, the IDE can be used to evaluate the powerful architecture of the AURIX™ microcontroller family. It supports Microsoft Windows 10 as a host operating system (OS).
Featured Discussions
How to use CR2 from CC80 to reset the CC81 timer. This way control the phase between CC80 PWM and CC81 PWM.
Ari
Whenever I include a call to vsnprintf(..) in my code I end up in the BusFault_Handler handler in Startup_XMC4500.s and never reach main().
Stepping through from reset I get as far as line 303 in Startup_XMC4500.s and then stepping over BLX R0 I end up at BusFault_Handler
/* C++ : Call global constructors */
LDR R0,=__libc_init_array
BLX R0
My code looks like this:
static void appendResponse(const char * fmt, ...)
{
va_list ap;
va_start (ap, fmt);
vsnprintf (szLineResponse,100, fmt, ap);
strcat(statusResponse, szLineResponse);
va_end (ap);
}
I have also tried:
static void appendResponse(const char * fmt, ...)
{
__builtin_va_list ap;
__builtin_va_start (ap, fmt);
vsnprintf (szLineResponse,100, fmt, ap);
strcat(statusResponse, szLineResponse);
__builtin_ va_end (ap);
}
Note there is no call to appendResponse() in my code, it appears to be just the presence of vsnprintf() that causes the problem.
Any thoughts?
Kind regards
Andy Show Less
I have uploaded a new component that I call WaveCapture. It is a companion component that works with the PSoC 5LP SAR ADC to automatically trigger and capture a set buffer size of data. It will also data before the trigger event, which can sometimes be useful. This is the first version and I plan to add more features in the future.
Have a happy new year!
Mark
Show Lessit says in the usart_getbyte(); thing..
that msb is status, and lsb is the actual byte.
how can I seperate that?
Basicly I have,
uint16 rxdata
rxdata = rx_GetByte();
the device outputs 8 pairs of bytes,
0000 01ff 01ff 01ff 01ff 01ff 01ff 01ff
I need to find the 0000's as thats a framing marker to tell me the start of the output, then each pair after is one channel of data
Show Lessfirst of all I would like to apologize if this is posted to the wrong section, I am not sure whether to put this here or into the microcontroller forum.
I'm working on a project using the Dave Webserver App running on a Hexagon Application Kit. One part of this project is monitoring information from the inside of my application using a web interface. So far I was able to setup the app successfully and have everything running the way I wanted it to be. I can monitor the variables I need, meaning server sided includes also work flawlessly. As the monitoring part is meant to be some kind of "real-time" solution I am using JavaScript to refresh my .ssi file, where I stored my server sided includes. I tried several intervals to refresh the page, however, if I use a refresh interval of less than 2 seconds the webserver crashes after some time. When this happens I have to reset the Hexagon Kit to regain any webserver functionality (ping is not possible, when it crashes). As I mentioned I want to use it as some kind of real-time solution (no hard real-time), so a refreshing interval of about 0.5 seconds to 1 second would be enough for my purpose. I tried some refreshing intervals, for example using a one second interval the server keeps up around one minute, with two seconds I did not encounter any problems until now and it works perfectly fine. By the way the same thing happens when I refresh the page manually without any JS in it, so i do not think it is a problem with the JavaScript part. Right now I am investigating, what might cause these crashes. My guess is, the problem arises from too many connections created or too many requests made. However I have yet to check this, including an analysis of traffic using Wireshark.
Maybe someone of you has any other idea what might cause the problem, or has any suggestion on the settings part of the webserver app what has to be adjusted to solve this.
Thanks in advance!
Umut Show Less
Thanx for reply but in 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
Just starting up with Creator... so apologies if this is trivial.
I would like to compare a 16-bit value held in two control registers to the value of a counter... But how can I group the two 8-bit values together to provide the input to the 16 bit-wide digital comparator?
Thank you!
--
Dario
Where can I find info on how it works, how to use it, what the different options do/mean? I tried to find stdio.h but coulndt find anything usefull.
Show LessHi, is there a way of using Visual Studio with PSoC Creator when editing the component customization files in C#? I see in the components from the Cypress Component Catalog that there is a "something.designer.cs" which is auto-generated, I think, with VS. Is there any other integration such as debugging?
Thanks,
Pablo.