CrossWorks - CrossStudio for ARM "Build" question

Started by Markus Zingg in LPC200010 years ago 1 reply

I 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

Started by jefspalace in LPC200010 years ago 28 replies

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

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?

Started by ds19968902 in LPC200012 years ago 12 replies

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

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

Started by robe...@sulley.net in LPC20008 years ago 3 replies

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


Connection new LPC2103

Started by Michael Gerkens in LPC200011 years ago 5 replies

Hello all, i have build a board with an ARM LPC2103, very simple. But i can't get a Connection via JTAG to the Controller. I work with...

Hello all, i have build a board with an ARM LPC2103, very simple. But i can't get a Connection via JTAG to the Controller. I work with CrossStudio for ARM an i'm using an USB-> JTAG Interface from CrossConnect. With a Demo-Board, i'll get a connection. All JTAG-Signal's are ok. Reset is ok. Thanks Michael


spi in lpc2106

Started by Jeetendra Singh in LPC200013 years ago 5 replies

Hi friends i am working in Lpc2106 and facing problem in spi mdule. Actualy i am using spi module in master mode. i checked my code...

Hi friends i am working in Lpc2106 and facing problem in spi mdule. Actualy i am using spi module in master mode. i checked my code in jtag debugger(wiggler in CrossStudio)and found that when writing data to the SPDR register then SPif bit in SPSR also sets showing that data is transmitted. But the problem is that nither data nor cl


Running code from Ethernet and USB RAM

Started by "h.belig" in LPC20009 years ago 11 replies

Did anybody ever run program code from the ethernet or usb RAM of LPC2468? I am using EA's LPC2486-16 OEM Board and Rowley`s "CrossStudio for...

Did anybody ever run program code from the ethernet or usb RAM of LPC2468? I am using EA's LPC2486-16 OEM Board and Rowley`s "CrossStudio for ARM". I modified the flash_placement file and created sections for these 2 16KB RAM areas. When I start debugging, I reach the subroutine that is placed in that ram section. I also can do some steps in the routine (assembler instructions), but then I...


noob question :the |= operator !!

Started by essam in LPC20007 years ago 9 replies

i am using the Rowley crossWorks crossStudio for ARM with the board Philips LPC2148 (ARM) Prototype Board...

i am using the Rowley crossWorks crossStudio for ARM with the board Philips LPC2148 (ARM) Prototype Board : http://microcontrollershop.com/product_info.php?products_id=1183 i run a program that include the following lines of code : IO0DIR |= (1 < < LED_BIT); // set the pin for output IO0CLR = (1 < < LED_BIT); // set the output low i wonder what "|=" means and why and how it is possi


Trouble writing to flash on LPC2468

Started by benknnnn in LPC20007 years ago 8 replies

Heya, We've been having issues writing to the flash of an LPC2468 using JTAG, the issue being is that we simply can't write when using...

Heya, We've been having issues writing to the flash of an LPC2468 using JTAG, the issue being is that we simply can't write when using JTAG. By using the default boot loader, we are able to download our .hex file to the device using Flash Magic, and the program will run fine. Interestingly, we can also attach the debugger (CrossStudio) to the device and follow the execution after using Flash...


Using flash mem for data-storrage

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

Hi, I=B4m trying to use a flash mem section for data storrage and have=20 tried to implement the libmem example included in Crossstudio....

Hi, I=B4m trying to use a flash mem section for data storrage and have=20 tried to implement the libmem example included in Crossstudio. I=20 have tried the code below but it gives me an error message? Does anyone have an example on how to use the flash for data=20 storrage og might can tell me what is wrong wth the code below? Regards Michael ************Std code from cross studio*...


In-application firmware upgrade

Started by petepen111 in LPC200011 years ago 8 replies

Hi, I am using the Rowley CrossStudio for an NXP LPC2129, with some external SPI FLASH in addition to the internal flash. I have a...

Hi, I am using the Rowley CrossStudio for an NXP LPC2129, with some external SPI FLASH in addition to the internal flash. I have a problem with a F/W upgrader I have been developing. In general, the flow is: 1) To create a firmware image in external spi flash during normal application operation. 2) On completion of a valid image, the main application cleans up, copies a function wh...


IAR JLink debugger

Started by Vincent Parrett in LPC200012 years ago

Hi All I'm new to embedded development and still trialling various compilers etc. My target cpu is the 2148. I have two development boards,...

Hi All I'm new to embedded development and still trialling various compilers etc. My target cpu is the 2148. I have two development boards, the IAR kickstart board, which came with IAR and the J-Link-ARM-KS JTAG device. I also have the Embedded Artists quickstart 2148 board and prototype board. With IAR ew I can use both boards, however when using Rowley CrossStudio, only the IAR boar...


math.h not working in Crossstudio

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

Hi all, I have tried to use the math function powf but my float var "scale_level" stays zero. I have tried several other math function a...

Hi all, I have tried to use the math function powf but my float var "scale_level" stays zero. I have tried several other math function a get strange results aswell any idea ? part of my code******************** float scale_level, level_inp; level_inp = 100; scale_level = powf(level_inp, 1,20242); *********************************** Regards M ----------------------------------...


Stack size

Started by Jakub Szumacher in LPC20008 years ago 3 replies

In CrossStudio for ARM we have many stacks fields to configure: " Stack Size (fiq mode) Stack Size (irq mode) .... Stack Size (user/system...

In CrossStudio for ARM we have many stacks fields to configure: " Stack Size (fiq mode) Stack Size (irq mode) .... Stack Size (user/system mode) " What is function of anyone of them (where are differences)? I'm trying to use less memory in CPU so i want reduce stack size - how to do it safty? How to check how many amount of memory stack realy needs? How to optymize stack size? ...


CrossStudio and linker script

Started by windam_2000 in LPC200011 years ago 1 reply

Hi All, I'm trying to use a linker script with Cross Studio. Unfortunately, the help files don't indicate how. So I tried to use Project...

Hi All, I'm trying to use a linker script with Cross Studio. Unfortunately, the help files don't indicate how. So I tried to use Project Options-> Linker-> Additional Linker Options and filled in the text box: -T .\Flash.ld The linker gave an error: cannot open linker script file .\Flash.ld: No such file or directory So I copied Flash.ld to the subfolder ARM Flash Debug which is i


Erasing external Flash

Started by nagarkarajay in LPC200012 years ago

Hello, My setup: Phytec LPC2294 development board IDE - Crossstudio JTAG for debugging Flash Chips (AMD/Spansion 29LV320) mapped at...

Hello, My setup: Phytec LPC2294 development board IDE - Crossstudio JTAG for debugging Flash Chips (AMD/Spansion 29LV320) mapped at 0x80000000. My issue: The code is on the external SRAM (0x81000000). Whenever I erase the flash chips using the commands given in the datasheet (AA at 555, 55 at 2AA, 80 at 555, 55 at 2AA , 10 at 555), I can see the chip erase (0xFF) in the memory window


Re: CrossWorks as debugger

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

> I tried that option, but I don't know how to tell crossstudio > > that I just want to debug. When creating the Externally Built > > ...

> 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. > > 1) File-> New-> New Blank Solution > 2) New project window pops up, in the left window select the chip you are > using, in the right window select externally built e


Strange Boot problem

Started by jopoulin23 in LPC200011 years ago 4 replies

Hi, I work with an LPC2214 with external flash and ram. I use CrossStudio with crossconnect as DevTool. For now I just try to run my program...

Hi, I work with an LPC2214 with external flash and ram. I use CrossStudio with crossconnect as DevTool. For now I just try to run my program in the internal flash and I don't use the external memory. Where my problem is the boot pin configuration. Normally to run in internal flash I have to left these pin high (No jump to ground). But this not work. The program don't run and I can't conn...


uIP Embedded WEB Server Demo, using CrossStudio and GCC on an LPC2368 (MCB2300)

Started by mavonino in LPC200011 years ago

Hi, Im trying to run the uIP Embedded webserver example on my MCB2300 board. ( http://www.freertos.org/portlpc2368uIP.html ) There are 3...

Hi, Im trying to run the uIP Embedded webserver example on my MCB2300 board. ( http://www.freertos.org/portlpc2368uIP.html ) There are 3 configurations: ARM flash release ARM flash debug Thumb flash debug I am only able to run the "Thumb flash debug" configuration, the ARM configuration seems to crash so i am unable to even ping the device. The heap and stack sizes are much small...


CrossStudio 2.0 and Fedora 13 x64: "/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory"

Started by Marcus Andreotti in LPC20008 years ago

Hello people, I updated my Fedora 12 32 bits version to Fedora 13 64 bits version (clean minimal install), and discovered that CrossWorks...

Hello people, I updated my Fedora 12 32 bits version to Fedora 13 64 bits version (clean minimal install), and discovered that CrossWorks (arm, version 2.07) could not run with the error "/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory". This error was clearly caused by the lack of 32 bits support libraries in my system, and on trying to find specific information for my ...