[arm-gnu] arm-none-eabi-sprite problems..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] arm-none-eabi-sprite problems..



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
I'm trying to get CodeSourcery G++ to work with a STM32F103RE
microprocessor.  I'm familiar with the GNU toolchain and GDB, but this
sprite thing is all new to me!


I start GDB and issue:

(gdb) target remote | arm-none-eabi-sprite ulink://cm/?opts=config
stm32f103re

(gdb) load cs-test.elf
Loading section .text, size 0xe7f8 lma 0x8000000
Load failed

Boooo!

I'm using a Keil ULINK2.  If I flash the board with another tool, I
can connect with GDB and tell it to continue, examine registers and
whatnot.

Since CodeSourcery doesn't support STM32 out of the "box", so I've
created the startup code by following the Luminary code
(stm32f103re-reset.S), and creating the proper interrupt vector table
symbols.  (stm32-isrs.S and stm32-vector.S) My stm32f103re.xml follows:

<?xml version="1.0"?>
<!DOCTYPE board SYSTEM "board.dtd">
<board>
  <properties>
    <property name="system-v7-m"/>
  </properties>
  <memory-map>
    <memory-device address="0x20000000" size="64K" type="ram">
      <description>
        ITCM
      </description>
    </memory-device>
    <memory-device address="0x8000000" size="512K" type="rom">
      <description>
        Flash
      </description>
    </memory-device>
  </memory-map>
</board>

Any idea where I went wrong?

Additionally, in thumb2/libcs3.a, there are object files for each
supported processor, as well as the common startup code (start.S and
start_c.c).  Also in the archive is heap.o, but I was not able to find
source for that.  Is this something that is available?

Best Regards,
Mark Deneen
Saucon Technologies
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFJLc+8tf95hArmCUURAvBpAJ9DA6hC+Q6Sn9xaDDz3meB/nw1t1wCdFoPz
Giwlr83sC3T7O2fVntEISHQ=
=KCzu
-----END PGP SIGNATURE-----