Hi, Just a short note on jlink. Both jlink(wether IAR or SEGGER labeled) are designed by Segger.I worked once for Rolf Segger back in '03 when this box was...
Which setup should new users go with, WinARM or the Eclipse/GNU ARM? I know WinARM uses the GNU ARM tools. I also know that WinARM is a lot easier to install....
The www.gnuarm.com website is undergoing some hosting changes. In the course of changes some pages will be hosted at www.gnuarm.net. But the main entry URL...
I noticed that a sample project used external references in a LPC2XXX header file instead of the usual #defines for each of the I/O registers. The externals...
Hi David, I can think of one argument for using the #define method over your proposed PROVIDE method - that the compiler can potentially produce tighter code. ...
Hi David. My experience is that the Winarm native-Windows compiler is a bit faster. This may make a significant difference if you're compiling very large...
... I believe that the PROVIDE becomes part of the Symbol Table while the #define does not. If you are debugging, you could say "print /x T0IR" instead of...
Danish, I just cut and pasted some code from example files. I noticed the char vrs long thing too. I have not studied it yet but I'm guessing that that ...
I have placed demo2129_blink.zip in the files section of the group. The zip has modified versions of example projects for use with the Olimex LPC-P2129 board....
... While that is certainly possible I don't know of anyone reporting that is true. What apparently is true is that if you define a set of peripheral ...
... I suspect the sample you saw was one of mine since I haven't seen anyone else use that for the LPC2000. I have to confess I started down that road mostly...
... In a lot of cases it won't make a lot of difference, but if I remember correctly there are a few registers on the LPC for which the user manual explicitly...
Hello Check out the links on this page: http://www.sparkfun.com/cgi-bin/phpbb/viewtopic.php?t=1331&sid=460a91a5b5383a9e1c67522ae30d3c9c. If you cannot find the...
Hi all, If I want to test Flag bits in a 32bit word (memory location, or variable) Is the following OK #define test_bit(Reg32_val, bit_no) ((Reg32_val >>...
Hi all, I know I could implement SWI handling in assembly but since gcc support using __attribute__ I thought I could use it to implement it completely in C....
Hello David I am using WinARM with eclipse/Zylin-EmbeddedCDT/OpenOCD, running eclipse as debug front end for the arm-elf-gdb debugger. With this setup I have...
... First that construct won't work 1 << 14 is always true and so has no effect flag_mem >> 14 will be true for any value that has any bit over bit 13 set so...
I am playing around with the blinky sample code from the WinARM examples. I decided to try adding some C++ code and have hit a road block. blinky.o: In...
I figured it out. To do C++ you need a lib, for the malloc for new. I used newlib and had to modify the linker command file a bit. I figured this out by...
Lourens, Thanks for the information. I will experiment with your setup. I have been having a lot of trouble getting the JTAG stuff to work in Eclipse or even...
OK, I don't have it figured out, lots of undefined symbols now. How does the linker find newlib-lpc? I can see the command option in the build process...
Hello David I have the Olimex Wiggler and have had no problems since I switched to OpenOCD (openocd-2006re76-setup-rc01 windows 32 native). Before this I...
... sbrk_r is target system dependant. sbrk_r is a function to allocate memory from the heap (heap is area between the end of .data and the .stack). You have...
Just curious about this; have you actually managed to get the J-Link to work flawlessly with GDB/Insight (via JLinkGDBServerV1.0.0)??? I can load code, set...
... I have the same error message recently. I am coding C++ with GCC v3.3.1. The problem was solved with linking to "lstdc++". Obey the order of linking "......
... And add SAM-ICE to that list, as far as I know. Yes, but even if they are using the same DLLs there seem to be funtional differences as to how each of them...
... what makes you think GCC would handle SWI instructions including reasons and args? i could not find any reference to this, neither in the info files nor...
... *args) { ... reasons ... guys, it states from the arm reference manual that swi instruction ignores the 24 bits encoded in the instruction. also, whatever...
... This is not really correct. Yes, the core **does** ignore the 24 least significant bits, but that is generally because those bits are used to pass a...
Morten, I could not say flawlessly yet as I have had limited experience with it so far. I used the tools in the latest version of WinARM and downloaded the...