Data abort in release mode, but not in debug mode. LPC2138-CrossStudio

Started by chjv...@yahoo.com.ar in LPC200010 years ago 3 replies

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...

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...


Another Newbie Question

Started by heedaf in LPC200012 years ago 2 replies

I'm in the process of learning the LPC2106 as well as the I2C format. I downloaded a sample from Philips and it has the interurupt vector...

I'm in the process of learning the LPC2106 as well as the I2C format. I downloaded a sample from Philips and it has the interurupt vector table listed below. Can anyone tell me where it goes? I'm using CrossStudio and I would think it would go in a seperate file but I'm not sure. Thanks, Dewayne ; --------------------------------------------------------- ; Assembler Directives ; -


CrossStudio editor

Started by "r.jensenm" in LPC200010 years ago 17 replies

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...

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 ------------------------------------


crossStudio question

Started by "yass.engineer" in LPC20007 years ago 1 reply

Hi, I don't know if this is a silly question but the watch window only displays 7 digits of the true double number. I am searching if there is...

Hi, I don't know if this is a silly question but the watch window only displays 7 digits of the true double number. I am searching if there is anything that could change the diplay config to more digits? Best Regards ------------------------------------


Support

Started by in LPC200010 years ago 29 replies

Can I have some support here? I already posted about troubles that I'm having with CrossStudio and up to now NOTHING! Can anyone help me? I'm...

Can I have some support here? I already posted about troubles that I'm having with CrossStudio and up to now NOTHING! Can anyone help me? I'm creating an applicaton where I must load some small code in a fixed section of the Flash (including startup and the VIC_irq_handler routines). After that, the first function (starting at a specific location) must be the main(). IF anyone answers, then ...


Re: Getting started with CrossStudio/connect

Started by "r.jensenm" in LPC200010 years ago

Hello again, I=B4ve found the error! It seemes like the package files were corrupted somehow? I downloaded them once more and then no...

Hello again, I=B4ve found the error! It seemes like the package files were corrupted somehow? I downloaded them once more and then no errors orcurred?? --- In l...@yahoogroups.com, "r.jensenm" wrote: > > Hi every one, > I have compiled my first very simple project and want to download=20 the=20 > code via Crossconnect for ARM RTCK interface. It is possible to=20 >


Rowley library tutorial / cross polination?

Started by matterama3444 in LPC20009 years ago

Hi all, (Paul, I hope you're reading this :) ) I have been using CrossStudio for a little over a year, and love it. For my stuff, it has...

Hi all, (Paul, I hope you're reading this :) ) I have been using CrossStudio for a little over a year, and love it. For my stuff, it has worked great (2106, 2136, 2138 and 2368 variants so far), so much so that when something doesn't work I know to double / triple / quadruple check myself first to save an embarrassing help request. Anyway... I'm at the point where I have a speci...


initializing I2C problem

Started by neptunus1000 in LPC200013 years ago 9 replies

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...

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)


How to debug the debuging interface ?

Started by Jan Szymanski in LPC200013 years ago 4 replies

I have samples of LPC2138 and I built a prototype board. With an evaluation version of CrossStudio I created a simple blinking ...

I have samples of LPC2138 and I built a prototype board. With an evaluation version of CrossStudio I created a simple blinking LEDs application. Using Philips flash utility I am able to program the micro and it works. Have problems however with debugging and programming thro


Olimex LPC-P2129 CAN example

Started by eabesselsen in LPC200012 years ago 1 reply

Hello 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


Cannot simulate in CrossStudio

Started by fjrg...@yahoo.com in LPC200011 years ago 5 replies

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...

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...


Rowley timer

Started by mayotte_d in LPC20009 years ago 2 replies

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...

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 ...


Re: Getting started with CrossStudio/connect

Started by Paul Curtis in LPC200010 years ago

Hi, > Hi every one, > I have compiled my first very simple project and want to download the > code via Crossconnect for ARM RTCK...

Hi, > Hi every one, > I have compiled my first very simple project and want to download the > code via Crossconnect for ARM RTCK interface. It is possible to > connect to the programmer but when I try to download the code I get > the error message: Cannot halt target after reset! > > Any surgestions ? I suggest you read the FAQs for a start: http://ccgi.rowley.co.uk/support/faq.php


Re: Getting started with CrossStudio/connect

Started by "B. van Essen" in LPC200010 years ago

push the the reset button before programming, helps for me regards Citeren "r.jensenm" : > Hi every one, > I have compiled my...

push the the reset button before programming, helps for me regards Citeren "r.jensenm" : > Hi every one, > I have compiled my first very simple project and want to download the > code via Crossconnect for ARM RTCK interface. It is possible to > connect to the programmer but when I try to download the code I get > the error message: Cannot halt target after reset!


crossstudio & timer interrupt

Started by windam_2000 in LPC200011 years ago

Hello All, I'm trying to setup a timer interrupt for Timer0. I have a Keil 2130 board with a LPC2138. I set a breakpoint at timer interrupt...

Hello All, I'm trying to setup a timer interrupt for Timer0. I have a Keil 2130 board with a LPC2138. I set a breakpoint at timer interrupt function, but it doesn't get there. I see the timer count register incrementing, so the timer is ok. I checked the VIC and the address and interrupt is enabled. Except for startup.s, the same code works with uVision + GCC/ARM. So I think I'm ...


pabort exception ?

Started by tomi in LPC20008 years ago 1 reply

What 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?


lpcusb stack serial demo question

Started by ds19968902 in LPC200012 years ago 2 replies

Hi, Im using the lpcusb stack on a 2148, and i get the code to compile under crossstudio and when i have it running windows will ask me for the...

Hi, Im using the lpcusb stack on a 2148, and i get the code to compile under crossstudio and when i have it running windows will ask me for the driver and and that goes well. And all the characters do get echoed buy the vertual serial on the mcu across the usb. But what I am having trouble with is, im trying to get the printf working and scanf. I don't see how the characters are being echoed,...


CTL (tasks) + bootloader

Started by Jakub Szumacher in LPC20009 years ago 4 replies

Hello, I'm using LPC2366 on CrossStudio with CTL library. When program (with threads, using ctl) is placed at the begining of memory...

Hello, I'm using LPC2366 on CrossStudio with CTL library. When program (with threads, using ctl) is placed at the begining of memory everything works fine. However, I must use bootloader so I've moved program by modify MemoryMap file. I've placed empty program at the beginig (something like while(1); - only for test, planing place bootloader there) and placed my program over 0x4000 adress. Now...


LPC2106 unable to get Timer Interrupt

Started by abufadel in LPC200011 years ago 8 replies

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. ...

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...


Program doesn't start after reset

Started by "B. van Essen" in LPC200010 years ago 3 replies

Hi I'm working with Rowley Crossstudio and with a embedded artists board with the lpc2194. I want the microcontroller to start the program...

Hi I'm working with Rowley Crossstudio and with a embedded artists board with the lpc2194. I want the microcontroller to start the program after a reset or power off. But it doesn't the program is stil in the flash because a can start it again with corssstudio without programming it again. but how can I make it start again on itself? many thanks Bertus van Essen -----------------...