Well I found the mbed OpenSDA and dropped it onto bootloader and now I can see an msd named mbed. I tried dropping my raw binary .bin file onto there but that didn't work. The .bin file builds way faster and it looked like I was able to flash it from inside kds 3.0. Everything worked for a moment and I could run my app without being connected to the debugger but then I lost it all and ended up reinstalling kds 3.0. That cured a lot of problems except for this when I do a build:
make all
Building target: k64irst.elf
Invoking: Cross ARM C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m3 -mthumb -O2 -g -Wl,-Map,"k64irst.map" -specs=rdimon.specs -o "k64irst.elf" ./Sources/Events.o ./Sources/exit.o ./Sources/main.o ./Project_Settings/Startup_Code/startup.o ./Generated_Code/System/CPU_Init.o ./Generated_Code/System/Peripherals_Init.o ./Generated_Code/System/Vectors.o ./Generated_Code/Peripherals/PIT_Init.o ./Generated_Code/BitIoLdd1.o ./Generated_Code/BitIoLdd2.o ./Generated_Code/BitIoLdd4.o ./Generated_Code/BitIoLdd5.o ./Generated_Code/BitIoLdd6.o ./Generated_Code/BitIoLdd7.o ./Generated_Code/BitIoLdd8.o ./Generated_Code/Blew.o ./Generated_Code/Cpu.o ./Generated_Code/DA1.o ./Generated_Code/EInt1.o ./Generated_Code/ExtIntLdd1.o ./Generated_Code/ExtIntLdd2.o ./Generated_Code/Grene.o ./Generated_Code/PE_LDD.o ./Generated_Code/PWM1.o ./Generated_Code/PWM2.o ./Generated_Code/PWM3.o ./Generated_Code/PWM4.o ./Generated_Code/PWM5.o ./Generated_Code/PWM6.o ./Generated_Code/Pins1.o ./Generated_Code/PpgLdd1.o ./Generated_Code/Pulse.o ./Generated_Code/PwmLdd1.o ./Generated_Code/PwmLdd2.o ./Generated_Code/PwmLdd3.o ./Generated_Code/PwmLdd4.o ./Generated_Code/PwmLdd5.o ./Generated_Code/PwmLdd6.o ./Generated_Code/Swint2.o ./Generated_Code/Swit3.o ./Generated_Code/TU1.o ./Generated_Code/roDown.o ./Generated_Code/roUp.o ./Generated_Code/strobe.o ./Generated_Code/testOut.o
./Project_Settings/Startup_Code/startup.o: In function `zero_fill_bss':
/home/david/workspace.kds/k64irst/Debug/../Project_Settings/Startup_Code/startup.c:180: undefined reference to `__SP_INIT'
/home/david/workspace.kds/k64irst/Debug/../Project_Settings/Startup_Code/startup.c:180: undefined reference to `__END_BSS'
/home/david/workspace.kds/k64irst/Debug/../Project_Settings/Startup_Code/startup.c:180: undefined reference to `__START_BSS'
./Generated_Code/System/Vectors.o:(.vectortable+0x0): undefined reference to `__SP_INIT'
collect2: error: ld returned 1 exit status
make: *** [k64irst.elf] Error 1
Those undefined references to __SP_INIT and the others are externs and I can't see where they are actually defined. Any ideas?