The learning curve enters the game! So now that I have some of it built, I'm trying to do all the fun stuff involved in getting the build environment set up and whatnot.
I now have a working gcc-4.4.0, gdb-6.8, ar, as, ld, and the std libraries from newlib. I can compile code and run it in an ARM7 simulator! Woo!
Now the obnoxious part is trying to get my arm-usb-ocd Jtag chain to connect to the ARM. I was trying to use urjtag
but it keeps complaining that "TDO appears to be stuck at 0" or "TDO appears to be stuck at 1". I have a sinking feeling that I failed to swap TDI and TDO, but the schematic for the olimex LPC2378 and LPC2478 dev boards appear to match what I did.
So I'm thinking it's possibly this could just be an issue with urjtag. So as a possible solution I'm attempting to compile openocd, though so far I have had poor luck... Does anyone have any idea if "./configure --build=i686-pc-linux-gnu --host=arm-elf --enable-ft2232_libftdi" isn't correct? The main issue there is that when I attempt to compile with those options I end up with
- Code: Select all
../../src/helper/replacements.h:133:2: error: #error no usleep defined for your platform
I'm going to try some fairly silly stuff to see if urjtag is really at fault, but if anyone has any inspiration, anything would help.