Hi All, I am writing a linker script for the ARM7 LPC2292 MCU. When I compile the code, the linker gives an error: "error: no memory region specified for...
... Try compiling your code with listings turned on, something like: CFLAGS += -Wa,-adhlns=$(<:.c=.lst) You will see those "invisible" sections. TomW -- Tom...
I can see options for building newlib w/o float support, but I don't get a build warning when I use %f in a printf call (like you do when %ld is mismatched to...
Hi Steve, I remember that print-ing float/double values is done allocating memory from the heap [at least in GNUARM 4.2.2] ( I guess there is a variable number...
Hello Group, I wanted to use the DOM or SAX parser in LPC2400 ARM platform. 1. Have anyone has ARM port (or) Keil RTX port for libxml2? 2. Share any other way...
I read today on wikipedia the ARM arch is biendian. That would be handy for my current problem (libc/newlib expects everything little endian on arm, and I...
In conjunction with my earlier question: I can recover my integers manually by swapping symmetrically about the middle regardless of size. My singles &...
Hi Steve, Wikipedia is right in some way. But this won't help you. The BI- endianess is only something to choose from for the chipmaker, which buys the...
Hi, this is not entirely true. Higher end ARM cores seem to be able to switch endianess for example the ARM962EJS core has the "B" bit (bit 7) in the "Control...
... Sure. Flip the endianness bit permanently, and recompile ALL your code, including the libraries, in big-endian mode. (assuming that your particular ARM...
... Add some symbols to your ldscript. These can then be used from C/asm. THis is also typically how the C startup code initialises BSS sections etc. For...
I could not understand what do you want to about clock cycle using arm tool chain. Generally arm processer will maintain global counter that gets ticked based ...
Hi Vinay, I want to measure the performance of the code in term of MHz. I used clock() function for finding clock cycle for each function but it will not...
May I know which arm processor/platform/RTOS are you using and what version of the codesourcery tool are you using? I know ideally the clock() function should...
I'm using ARM9E on code sourcery 4.2.1 tool chain for window 2000. For accessing counter register, I want to know address of these register. Where can I get...
Yes, you need to find the possible usefull register address in ARM9E TRM document. Then using this register construct API definition that could be used for ...
Hello, I have been perusing the thread and wanted to see if I could get some help. I was wondering if the combination of OpenBSD, GnuArm, OpenOCD and a LPC2XX...
I read on this thread that Thumb2 would not be supported until gcc 4.3. On the gcc.gnu.org site, there is a gcc 4.3. On the GnuArm site the gcc seems to be...
http://www.codesourcery.com/gnu_toolchains/arm You may want to read https://support.codesourcery.com/GNUToolchain/target_arch1?@template=faq Regards Peter...
Thanks. I couldn't get Codesourcery to work "out of the box" on Vista so I am deciding what my next move is. ... @template=faq ... gcc ... site ... can I...
Never mind I got it working. I had to install as admministrator, update PATH for all users, compile with the generic-hosted.ld script to run on the emulator. ...
Hi I am wondering if anyone has some code for SPI on the LPC2148 using GNUARM. I have found some snippets here and there, but no general nicely laid out...