Forums Search for: CrossStudio
Re: CrossWorks as debugger
inI tried that option, but I don't know how to tell crossstudio that I just want to debug. When creating the Externally Built Executable project I...
I tried that option, but I don't know how to tell crossstudio that I just want to debug. When creating the Externally Built Executable project I cannot see any option to load my elf file and then to debug it. CrossStudio IDE is nice, but I like more Eclipse (there are more options for editing) and free tool-chains. However the CrossStudio's debugger is really amazing!! If anyone knows how to...
I2C experience with CrossStudio and LPC2129
inHello, I'm trying to get the I2C bus working on a LPC2129 witj CrossStudio. I'm already working on it for 2 day's. But no result. Is...
Hello, I'm trying to get the I2C bus working on a LPC2129 witj CrossStudio. I'm already working on it for 2 day's. But no result. Is there some one how can help my? Thanks
CrossStudio: C++ interrupt service
inHi, folks, I am trying out a few things on a IAR Kickstart board, with CrossStudio 1.3. I'd like to write code in C++...
Hi, folks, I am trying out a few things on a IAR Kickstart board, with CrossStudio 1.3. I'd like to write code in C++ instead of C. My test C++ code ran ok until I added an interrupt service routine, for Timer0 as my test example. I have a
Help: Rowley CrossStudio & Wiggler Problem
inI'm evaluating Rowley's CrossStudio and am having serious problems. I'm using the Olimex 2106 demo board and the Wiggler JTAG...
I'm evaluating Rowley's CrossStudio and am having serious problems. I'm using the Olimex 2106 demo board and the Wiggler JTAG interface. I'm new to the LPC devices and GCC but not MCUs in general. The tools and board work mostly as expected when using RAM for the codespace.
Crossstudio and asm functions
inIn Crossstudio 1.7 this functions works correctly: static inline cpu_t get_cpsr(void) { cpu_t val; asm volatile ("mrs %[val],...
In Crossstudio 1.7 this functions works correctly: static inline cpu_t get_cpsr(void) { cpu_t val; asm volatile ("mrs %[val], cpsr\n":[val]"=r"(val):); return val; } static inline void set_cpsr(cpu_t val) { asm volatile ("msr cpsr, %[val]\n" ::[val]"r"(val) ); } In Crossstudio 2.0 I have error: 'asm' undeclared (first use in this function) when I remove volatile keyword, I ...
crossworks vs. source file not found
inHi Paul, some of my files are referenced via ../../something (because they are shared between projects) and this is not handled well by...
Hi Paul, some of my files are referenced via ../../something (because they are shared between projects) and this is not handled well by CrossStudio. I raised a ticket about it couple of months ago. Now when I try to open the .elf file the CrossStudio asks me to find all those files for it, one by one, by means of File-Open dialog. I have very many source files and my patience wa
CrossStudio & USB JTAG
inI'm still trying to use OOCDLink JTAG under CrossStudio but without efects. I get "Cannot identify target" message. This JTAG works fine with...
I'm still trying to use OOCDLink JTAG under CrossStudio but without efects. I get "Cannot identify target" message. This JTAG works fine with OpenOCD. This is OOCDLink JTAG project: http://www.joernonline.de/dw/doku.php?id=projects:oocdlink:2_oocdlinks Schematic: http://tinyurl.com/68qkag Channel A ADBUS0 -> TCK; ADBUS1 -> TDI; ADBUS2 -> TDO; ADBUS3 -> TMS; ADBUS4 -> ADBUS5 -> AD
CrossStudio and OpenOCD JTAG
inI'm trying to use OpenOCD JTAG under CrossStudio but without efects. This is OpenOCD JTAG...
I'm trying to use OpenOCD JTAG under CrossStudio but without efects. This is OpenOCD JTAG project: http://www.joernonline.de/dw/doku.php?id=projects:oocdlink:2_oocdlinks Schematic: http://tinyurl.com/68qkag ADBUS0 -> TCK; ADBUS1 -> TDI; ADBUS2 -> TDO; ADBUS3 -> TMS; ADBUS6 -> 1 if target present ADBUS7 -> SRST in; ACBUS0 -> TRST buffer enable; ACBUS1 -> TRST; ACBUS2 -> SRST buf
Data abort in release mode, but not in debug mode. LPC2138-CrossStudio
inHi, I use LPC2138 with CrossStudio 1.5. I have a problem when try to run my code compiled in release mode. When the code is compiled in debub...
Hi, I use LPC2138 with CrossStudio 1.5. I have a problem when try to run my code compiled in release mode. When the code is compiled in debub mode works fine. In release mode occurs a "data abort". Why can occur this? Obviously there is a diference when the compiler optimize the code in release mode. How can identify where is the place that "data abort" occurs? I will try to fix that...
CrossStudio editor
inHi! Does anyone know how to assign a colour or make a keyword bold. I have a typedefenition and wants uchar to be bold text typedefunsigned...
Hi! Does anyone know how to assign a colour or make a keyword bold. I have a typedefenition and wants uchar to be bold text typedefunsigned char uchar; In advance thank you ------------------------------------
initializing I2C problem
inHello, I use an olimex evaboard (LPC2129) and crossStudio. I would like to use the I2C interface but it won't work. ARM should be...
Hello, I use an olimex evaboard (LPC2129) and crossStudio. I would like to use the I2C interface but it won't work. ARM should be the master. First I tried to code it on my own with the datasheet. Then I found some example code on the group. The methode InitI2C() is working fine. Only the methode SendSlaveAdress(unsigned char Addr_S)
Rowley timer
inI set up a timer interrupt using Rowley CrossStudio and was amazed at how easy it was to get a timer interrupt going. It was basically 2...
I set up a timer interrupt using Rowley CrossStudio and was amazed at how easy it was to get a timer interrupt going. It was basically 2 snippets. I accidentally deleted the lst snippet that started the timer and haven't been able to reconstruct it. Mainly its my ignorance of the api structure. The line as I remember it was: ctl_start_timer(??); where the ?? is the part I cant ...
Cannot simulate in CrossStudio
inHi When building a solution of my own or those of the examples included in CrossWorks 1.5 for ARM, I cannot simulate them because the simulator...
Hi When building a solution of my own or those of the examples included in CrossWorks 1.5 for ARM, I cannot simulate them because the simulator launchs me to dabort_handler: b dabort_handler My target is the LPC-E2129 board from Olimex. When simulatin a solution without speceific target it works great. Does anybody can help me?? Am I missing something to configure in the project?? T...
Olimex LPC-P2129 CAN example
inHello Everybody, I have bought an Olimex LPC-P2129 prototype board, an ARM-JTAG Dongle and I have downloaded a trial version of Rowley...
Hello Everybody, I have bought an Olimex LPC-P2129 prototype board, an ARM-JTAG Dongle and I have downloaded a trial version of Rowley CrossStudio. I am able to write a small program to flash a LED and that works. I am now trying to work with the CAN capabilities of this board, but I can't seem to get it working. Is there maybe someone who can he
pabort exception ?
inWhat does mean pabort exception ? I have smal program on LPC2148: printf("Start"); In CrossStudio flash debug mode it working correctly - I...
What does mean pabort exception ? I have smal program on LPC2148: printf("Start"); In CrossStudio flash debug mode it working correctly - I see "Start" on terminal, but in flash release mode I see only first two letters: "St" and ARM stop at pabort_handler_address. How to extract useful info why it crashed?
LPC2106 unable to get Timer Interrupt
inGreetings, I am trying to get the Timers 0 and 1 to work with interrupts using the Olimex 2106 board, but cannot get the interrupts to work. ...
Greetings, I am trying to get the Timers 0 and 1 to work with interrupts using the Olimex 2106 board, but cannot get the interrupts to work. I am following the example code given in the CrossStudio help, which I provide below. I seem to be unable to get an interrupt? Is there a special way or trick for debugging with interrupts? How can I see what the Timer Counter is? Thank you i...
CrossWorks - CrossStudio for ARM "Build" question
inI would like to have a build configuration (preferably ARM Flash Release) where STARTUP_FROM_RESET is defined. I figure I could either modify...
I would like to have a build configuration (preferably ARM Flash Release) where STARTUP_FROM_RESET is defined. I figure I could either modify the startup.s file to include something like #ifdef NDEBUG #define STARTUP_FROM_RESET #endif but I would prefer not to change the startup file just because of this. Is there an easier/cleaner way to get the same result? TIA Markus ----...
How does can you use all functions lpc230x.c
inHi all, I am digging through the UART example that comes with the Olimex_LPC_2378_STK.hzq package in Crossstudio. I noticed that the file...
Hi all, I am digging through the UART example that comes with the Olimex_LPC_2378_STK.hzq package in Crossstudio. I noticed that the file lpc230x.c has no header file and that you can use the functions in that file in every other file although there is no header file used. How can this be? Regards, Jef ------------------------------------
USB to LPT converter for wiggler?
inI was wondering if anyone knew of solution to convert a usb port to a parallel lpt port so that I could use a parallel wiggler with crossstudio...
I was wondering if anyone knew of solution to convert a usb port to a parallel lpt port so that I could use a parallel wiggler with crossstudio without having a parallel port. It seems like such a simple idea but I can't find anything about it. Do any vendors like ftdi offer a chip to do it? Thanks, eric
LPC2103 / SSD1928 Digital Photo Frame
inHi Everyone, I'm presently messing around with a digital photo frame running an LPC2103 and an SSD1928 Controller. Everything is going...
Hi Everyone, I'm presently messing around with a digital photo frame running an LPC2103 and an SSD1928 Controller. Everything is going well with the LPC2103 - after I found out that you have to add the 'STARTUP_ON_RESET' postprocessor directive in CrossStudio!! But I am struggling with the initialisation of the SSD1928 and LCD, no matter what I do I just get multicoloured lines ...