Pinczakko
Full Member level 2
I have cross-compiled a test application on a Linux PC (i686) to run on a Blackfin BF-537 STAMP. The test application run flawlessly. However, a few things are still obscure to me, especially the debugging part. These are the details:
(*) I'm cross-compiling by using the Blackfin GNU cross-toolchain from blackfin.uclinux.org.
(*) The OS running on the STAMP board is uClinux.
(*) I'm connecting to the board via Serial line (for terminal) and UTP (for data transfer and booting).
When I compile my test application with the following command:
the results are two binary files, one for an i686 and one for the Blackfin. How do I use the files for remote debugging? or do I only need one binary to do a remote debugging from my PC for the test application that runs on the STAMP board?
(*) I'm cross-compiling by using the Blackfin GNU cross-toolchain from blackfin.uclinux.org.
(*) The OS running on the STAMP board is uClinux.
(*) I'm connecting to the board via Serial line (for terminal) and UTP (for data transfer and booting).
When I compile my test application with the following command:
Code:
./configure --host=bfin-uclinux --build=i686-linux LDFLAGS='-Wl,-elf2flt' CFLAGS=-O2
make
the results are two binary files, one for an i686 and one for the Blackfin. How do I use the files for remote debugging? or do I only need one binary to do a remote debugging from my PC for the test application that runs on the STAMP board?