EmbeddedRelated.com
The 2024 Embedded Online Conference

Rowley: Accessing section start symbols from application code

Started by "jolyon.latham" in LPC200015 years ago 5 replies

Hello, I have a complicated memory layout defined in my placement XML file. Originally I had a corresponding header file with defines for...

Hello, I have a complicated memory layout defined in my placement XML file. Originally I had a corresponding header file with defines for each section's address and size for use in the code. I would now like the use symbols generated from the placement file so that I only need to edit the memory map in one place. For example, previously I had things like: #define FLASH_BASE 0x0100...


I didn't RTFM:) LPC2129 - capture 3 on timer 0 - useable now?

Started by mjames_doveridge in LPC200017 years ago 7 replies

Hi all, I am using the Keil MBC2100 dev. board, (LPC2129), and the Rowley Crossworks dev. system, (GNU tools). So far, so good. The IDE,...

Hi all, I am using the Keil MBC2100 dev. board, (LPC2129), and the Rowley Crossworks dev. system, (GNU tools). So far, so good. The IDE, compiler etc. is err.. 'OK', (the IDE has bugs!). The 'ctl' multiTasker is fine and my threads/comms/interrupts are all working and then... Hidden somewhat in the Timer block diagram on page 222 of the Preliminary User Manual for the LPC2129, (2004, ...


Rowley Crossworks and running batch files before builds

Started by Darcy in LPC200015 years ago

Hi all, We're trying to implement a bit of auto-versioning but I'm having trouble working out how to run a batch file when I build the...

Hi all, We're trying to implement a bit of auto-versioning but I'm having trouble working out how to run a batch file when I build the project. The batch file queries SVN (SubWCRev) and pulls out revision numbers, dates, paths etc and creates a .h file that is then included by some of the source files in the project. Things I've tried (and the problems): Compiler Pre Build Command: Runs...


Power control - idle mode in RTOS?

Started by mjames_doveridge in LPC200016 years ago 9 replies

While examining power issues for a possible new project, it occurred to me that the idle thread of my Rowley ctl OS could set the processor into...

While examining power issues for a possible new project, it occurred to me that the idle thread of my Rowley ctl OS could set the processor into idle-mode power-saving. It should sit there waiting for interrupts to start the system doing something. Currently, the idle thread is the usual 'while(1);'. I tried putting a switch to idle mode inside this loop, but my system died:( Anyone ha...


Problem Starting Up LPC2138 Board

Started by Geoffrey Wossum in LPC200016 years ago 3 replies

Hi all, I'm trying to get started on a custom board using an LPC2138. To jump start things, I got an eval of the Rowley Cross Studio for...

Hi all, I'm trying to get started on a custom board using an LPC2138. To jump start things, I got an eval of the Rowley Cross Studio for ARM, and installed the LPC2000 CPU support package. I can compile programs using Cross Studio, and download them using lpc21isp. Problem is, nothing happens. To start out, I just took a blinky example that goes with a Keil eval board. It's simpl...


CTL tasking library with malloc/calloc

Started by sanylcs in LPC200015 years ago 11 replies

Anyone use CTL of Rowley Crossworks together with malloc/calloc (stdlib.h) before? i just did simple test. Two tasks running (task A and task...

Anyone use CTL of Rowley Crossworks together with malloc/calloc (stdlib.h) before? i just did simple test. Two tasks running (task A and task B). no time slice. inside one of the task there is a function (func_A inside task A)(No other things except infinite loop) that use malloc and free the memory before return. task A and B same priority. I made the task run so that it is (without func_A ...


Rowley Crossworks, LPT port and VMware?

Started by mjames_doveridge in LPC200015 years ago 3 replies

Anyone out there tried running Crossworks in a VMware Workstation VM with a parallel-port JTAG? My new development machine has no LPT port, but I...

Anyone out there tried running Crossworks in a VMware Workstation VM with a parallel-port JTAG? My new development machine has no LPT port, but I have a PCI LPT card in one of my old boxes in the 'machine graveyard' at the back of the shed. I could fit this and try to map it to the VM and run the JTAG, but the VMware documentation says that its parallel-port mapping is not fully implemented: ...


Flash word alignment

Started by "jolyon.latham" in LPC200015 years ago 8 replies

Hi, On our board we have the external flash connected to a 23-bit address bus. The least significant bit is missing meaning that we can only...

Hi, On our board we have the external flash connected to a 23-bit address bus. The least significant bit is missing meaning that we can only address word aligned addresses. I am porting code from the GreenHills toolset to the GNU toolset under Rowley. If I read an 16-bit word from an unsigned address with GreenHills, it yields the result 0xFFFF. If I read the same address with Row...


Boot Monitors and remapping interrupt vectors

Started by Darcy Williams in LPC200017 years ago 14 replies

I'm using an LPC2138/2148 with Rowley CrossWorks and GCC 4.1.1 Essentially, I have a boot monitor in the first two sectors of flash that...

I'm using an LPC2138/2148 with Rowley CrossWorks and GCC 4.1.1 Essentially, I have a boot monitor in the first two sectors of flash that checks the primary application image against another application image, and if required copies the upgrade over the primary application. Addr: 0x0000 0000 - 0x0000 1FFF (sect: 0 - 1) - Custom boot monitor Addr: 0x0000 4000 - 0x0001 FFFF (sect: 4 - 1...


ARM Development Tools

Started by vistacruiser847 in LPC200012 years ago 52 replies

I'm looking for a set of ARM (LPC17xx series and later the 43xx series) development tools and can't decide between Code Red Red Suite 4 and Rowley...

I'm looking for a set of ARM (LPC17xx series and later the 43xx series) development tools and can't decide between Code Red Red Suite 4 and Rowley CrossWorks. Each seems to have their advantages and disadvantages, but the following seem to be the major ones to me: Price: Code Red is $999, CrossWorks is $1500 Trace: The Code Red web site says that Red Suite supports trace on Cortex-M3 and ...


Assembly code from KEIL to ROWLEY

Started by Prakash Rajoli in LPC200013 years ago 5 replies

Hello, I am new to the assembly code. The code which I given below is compile(assembling) fine in KEIL. AREA |.text|, CODE,...

Hello, I am new to the assembly code. The code which I given below is compile(assembling) fine in KEIL. AREA |.text|, CODE, READONLY EXPORT vF_dspl_pid vF_dspl_pid push {r4-r7} ldrsh Kp,[pS_StateCoeff] ldrsh Ki,[pS_StateCoeff,#2] ldrsh Kd,[pS_StateCoeff,#4] ldrsh IntegratedError,[pS_StateCoeff,#6] mla Acc,Ki,si_Error,IntegratedError //update integrated error strh Acc,[pS_Sta...


FreeRTOS + SFE Logomatic (LPC2148 based, running USB bootloader) with demo code for Rowley's Crosswork and Winarm

Started by Jean-Sebastien Stoezel in LPC200014 years ago 3 replies

Hello, A few weeks ago I asked the list whether or not anybody had attempted to run freeRTOS on SFE's logomatic V2 board. This is an LPC2148...

Hello, A few weeks ago I asked the list whether or not anybody had attempted to run freeRTOS on SFE's logomatic V2 board. This is an LPC2148 based data logging board, running an USB bootloader. I was having troubles getting the application code and interrupts relocated in flash, to take advantage of the USB bootloader. I eventually got the combination to work (with lots of help from Rowle...



The 2024 Embedded Online Conference