View unanswered posts | View active topics It is currently Wed Sep 17, 2014 12:26 am



Reply to topic  [ 4 posts ] 
 arm-eabi-insight.exe 
Author Message

Joined: Mon Nov 12, 2007 10:47 pm
Posts: 11
Location: Winter Springs Florida, USA
I have been trying to get the current arm-eabi-insight.exe to work in my environment with little success. When I use insight 6.4.50 I can get things to work as far as loading the application (I am using the load to check to see if insight works) but not with the new version. My build looks like:
Code:
C:\cygwin\home\gmiller\ham\Sources\CHAPTE~4\ROTATE~1>make gdb
clean ...
rm -fr build ROTATE~1.elf ROTATE~1.gba
make[1]: Entering directory `/c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~
1'
Build type:  Debug Build
make "DEBUG_SET=gdb" --no-print-directory -C build -f /c/cygwin/home/gmiller/ham
/Sources/CHAPTE~4/ROTATE~1/Makefile
main.c
arm-eabi-gcc -MMD -MP -MF /c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/b
uild/main.d -g -Wall -O0 -save-temps -mcpu=arm7tdmi -mtune=arm7tdmi -ffast-math
-marm -mthumb-interwork -I/c/devkitPro/devkitARM/include -I/c/devkitPro/libgba/i
nclude  -I/c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/include -I/c/cygw
in/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1 -c /c/cygwin/home/gmiller/ham/Sour
ces/CHAPTE~4/ROTATE~1/source/main.c -o main.o
rotatuion.c
arm-eabi-gcc -MMD -MP -MF /c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/b
uild/rotatuion.d -g -Wall -O0 -save-temps -mcpu=arm7tdmi -mtune=arm7tdmi -ffast-
math -marm -mthumb-interwork -I/c/devkitPro/devkitARM/include -I/c/devkitPro/lib
gba/include  -I/c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/include -I/c
/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1 -c /c/cygwin/home/gmiller/ham
/Sources/CHAPTE~4/ROTATE~1/source/rotatuion.c -o rotatuion.o
tilemap.c
arm-eabi-gcc -MMD -MP -MF /c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/b
uild/tilemap.d -g -Wall -O0 -save-temps -mcpu=arm7tdmi -mtune=arm7tdmi -ffast-ma
th -marm -mthumb-interwork -I/c/devkitPro/devkitARM/include -I/c/devkitPro/libgb
a/include  -I/c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/include -I/c/c
ygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1 -c /c/cygwin/home/gmiller/ham/S
ources/CHAPTE~4/ROTATE~1/source/tilemap.c -o tilemap.o
tiles.pal.c
arm-eabi-gcc -MMD -MP -MF /c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/b
uild/tiles.pal.d -g -Wall -O0 -save-temps -mcpu=arm7tdmi -mtune=arm7tdmi -ffast-
math -marm -mthumb-interwork -I/c/devkitPro/devkitARM/include -I/c/devkitPro/lib
gba/include  -I/c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/include -I/c
/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1 -c /c/cygwin/home/gmiller/ham
/Sources/CHAPTE~4/ROTATE~1/source/tiles.pal.c -o tiles.pal.o
tiles.raw.c
arm-eabi-gcc -MMD -MP -MF /c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/b
uild/tiles.raw.d -g -Wall -O0 -save-temps -mcpu=arm7tdmi -mtune=arm7tdmi -ffast-
math -marm -mthumb-interwork -I/c/devkitPro/devkitARM/include -I/c/devkitPro/lib
gba/include  -I/c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1/include -I/c
/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1 -c /c/cygwin/home/gmiller/ham
/Sources/CHAPTE~4/ROTATE~1/source/tiles.raw.c -o tiles.raw.o
linking cartridge
built ... ROTATE~1.gba
ROM fixed!
make[1]: Leaving directory `/c/cygwin/home/gmiller/ham/Sources/CHAPTE~4/ROTATE~1


When I log the TCP messages sent to and from insight I get the following from the working version:
Code:
GDB<| $Hc-1#09
GDB>| $OK#9a
ACK
GDB<| $qC#b4
GDB>| $#00
ACK
GDB<| $qOffsets#4b
GDB>| $#00
ACK
GDB<| $?#3f
GDB>| $S05#b8
ACK
GDB<| $Hg0#df
GDB>| $OK#9a
ACK
GDB<| $pf#d6
GDB>| $#00
ACK
GDB<| $g#67
GDB>| $000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000007f0003000000000000000800000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000005f000000#83
ACK
GDB<| $m8000000,4#25
GDB | Memory read for 08000000 4
GDB>| $00000000#80
ACK
GDB<| $qSymbol::#5b
GDB>| $#00
ACK
GDB<| $X8000000,0:#46
GDB | Binary write for 08000000 0
GDB | ROM is 00000000
GDB>| $OK#9a
ACK
GDB<| $X8000000,13e:.                                                                                                                                                                                                                                                                                                                                 
GDB | Binary write for 08000000 318
GDB | ROM is 00000000
GDB>| $OK#9a
ACK
GDB<| $X800013e,e6:                                                                                                                                                                                                                                                
GDB | Binary write for 0800013e 230
GDB | ROM is 00000000
GDB>| $OK#9a
ACK
GDB<| $X8000224,139:@-é,@Ÿå                                                                                                                                                                                                                                                                                                                         
GDB | Binary write for 08000224 313
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X800035d,133:8 á8 á}8 á°0Áá} ã; ã0ƒâ°0ÂáT                                                                                                                                                                                                                                                                                               
GDB | Binary write for 0800035d 307
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000490,139:}0 å0 ã0 å3 ã>ƒâ°0Óá8 á}8 á0àá@0â                                                                                                                                                                                                                                                                                         
GDB | Binary write for 08000490 313
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80005c9,139:8 á0àá<â                                                                                                                                                                                                                                                                                                                       
GDB | Binary write for 080005c9 313
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000702,134:àC4 á0 å( åÈ0Ÿå1“çC4 á                                                                                                                                                                                                                                                                                                       
GDB | Binary write for 08000702 308
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000836,13c:å                                                                                                                                                                                                                                                                                                                               
GDB | Binary write for 08000836 316
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000972,b2:„âÀ•äà áÿ/á                                                                                                                                                                     
GDB | Binary write for 08000972 178
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000a24,18:
À áøß-é°Lâ(ÐKâðoèÿ/á#09
GDB | Binary write for 08000a24 24
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000a3c,13e:                                                                                                                                                                                                                                                                                                                                 
GDB | Binary write for 08000a3c 318
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000b7a,13f:                                                                                                                                                                                                                                                                                                                                 
GDB | Binary write for 08000b7a 319
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000cb9,13e:[                                                                                                                                                                                                                                                                                                                                 
GDB | Binary write for 08000cb9 318
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000df7,13d:ÿ‘}ÿÿM"ÿÿ ÿÿøÿÿèÿÿéÿÿýÿÿ"ÿÿZÿÿ¥ÿÿÿÿqÿÿó
ÿÿˆ ÿÿ0 ÿÿë   ÿÿºÿÿ›ÿÿÿÿ™ÿÿµÿÿäÿÿ'ÿÿ~ÿÿéÿÿhÿÿú                                                                                                                                                                                                                       
GDB | Binary write for 08000df7 317
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8000f34,13f:´Tÿÿ
Xÿÿs[ÿÿå^ÿÿdbÿÿðeÿÿ‡iÿÿ*mÿÿÙpÿÿ“tÿÿWxÿÿ'|ÿÿ                                                                                                                                                                                                                                                                                 
GDB | Binary write for 08000f34 319
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8001073,13e:                                                                                                                                                                                                                                                                                                                                 
GDB | Binary write for 08001073 318
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80011b1,13e:‹ÿÿчÿÿäƒÿÿ€ÿÿ'|ÿÿXxÿÿ“tÿÿÙpÿÿ+mÿÿˆiÿÿðeÿÿebÿÿå^ÿÿs[ÿÿ
Xÿÿ´TÿÿiQÿÿ+NÿÿüJÿÿÚGÿÿÇDÿÿÂAÿÿÌ>ÿÿå;ÿÿ9ÿÿF6ÿÿ3ÿÿå0ÿÿM.ÿÿÅ+ÿÿM)ÿÿç&ÿÿ‘}ÿÿM"ÿÿ ÿÿøÿÿèÿÿéÿÿýÿÿ"ÿÿZÿÿ¥ÿÿÿÿqÿÿó
ÿÿˆ ÿÿ0 ÿÿë   ÿÿºÿÿ›ÿÿÿÿ™ÿÿµÿÿäÿÿ'ÿÿ~ÿÿéÿÿhÿÿú                                                                                         
GDB | Binary write for 080011b1 318
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80012ef,13e:ÿ0 ÿÿˆ ÿÿó
ÿÿqÿÿÿÿ¥ÿÿZÿÿ"ÿÿýÿÿéÿÿçÿÿøÿÿ ÿÿM"ÿÿ‘}ÿÿç&ÿÿM)ÿÿÅ+ÿÿL.ÿÿå0ÿÿ3ÿÿE6ÿÿ
9ÿÿå;ÿÿÌ>ÿÿÂAÿÿÆDÿÿÚGÿÿûJÿÿ+NÿÿiQÿÿ´Tÿÿ
Xÿÿs[ÿÿå^ÿÿdbÿÿðeÿÿ‡iÿÿ*mÿÿÙpÿÿ“tÿÿXxÿÿ'|ÿÿ                                                                                                                                                   
GDB | Binary write for 080012ef 318
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X800142d,13e:                                                                                                                                                                                                                                                                                                                                 
GDB | Binary write for 0800142d 318
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X800156b,13f:                                                                                                                                                                                                                                                                                                                                 
GDB | Binary write for 0800156b 319
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80016aa,13f:                                                                                                                                                                                                                                                                                                                                 
GDB | Binary write for 080016aa 319
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80017e9,13f:                                                                                                                                                                                                                                                                                                                                 
GDB | Binary write for 080017e9 319
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X8001928,94:#7f
GDB | Binary write for 08001928 148
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80019bc,4:       
GDB | Binary write for 080019bc 4
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80019c0,8:           
GDB | Binary write for 080019c0 8
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80019c8,4:h     
GDB | Binary write for 080019c8 4
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80019cc,4:}     
GDB | Binary write for 080019cc 4
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80019d0,4:       
GDB | Binary write for 080019d0 4
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $X80019d4,8:dkARM     
GDB | Binary write for 080019d4 8
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $Z0,80002d8,4#ac
GDB>| $#00
ACK
GDB<| $m80002d8,4#63
GDB | Memory read for 080002d8 4
GDB>| $0030a0e3#ec
ACK
GDB<| $X80002d8,4:þÞÿç#4a
GDB | Binary write for 080002d8 4
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $vCont?#49
GDB>| $#00
ACK
GDB<| $Hc0#db
GDB>| $OK#9a
ACK
GDB<| $c#63
GDB>| $T0500:00000000;01:00000000;
02:2c000003;03:c8020008;04:00000002;
05:00000000;06:00000000;07:00000000;
08:00000000;09:00000000;0a:00000000;
0b:fc7e0003;0c:007f0003;0d:d07e0003;
0e:87010008;0f:d8020008;19:1f000060;#3f
ACK
GDB<| $X80002d8,4:       
GDB | Binary write for 080002d8 4
GDB | ROM is e8bd4010
GDB>| $OK#9a
ACK
GDB<| $m80002d8,4#63
GDB | Memory read for 080002d8 4
GDB>| $0030a0e3#ec
ACK
GDB<| $m3007ed4,4#94
GDB | Memory read for 03007ed4 4
GDB>| $00000000#80
ACK
GDB<| $k#6b
GDB>| $OK#9a


When I use the current version this is the logged messages:
Code:
Received 14 byte(s)
GDB<| $qSupported#37
Sent 1 byte(s)
GDB>| $#00
Sent 4 byte(s)
Received 1 byte(s)
ACK
Received 6 byte(s)
GDB<| +$?#3f
Sent 1 byte(s)
Received 1 byte(s)
GDB<| -
Sent 1 byte(s)
Received 1 byte(s)
GDB<| -
Sent 1 byte(s)
Received 10 byte(s)
GDB<| -+$Hc-1#09
Sent 1 byte(s)
Received 1 byte(s)
GDB<| -
Sent 1 byte(s)
Received 1 byte(s)
GDB<| -
Sent 1 byte(s)
Received 8 byte(s)
GDB<| -+$qC#b4
Sent 1 byte(s)
Received 1 byte(s)
GDB<| -
Sent 1 byte(s)
Received 1 byte(s)
GDB<| -
Sent 1 byte(s)
Received 14 byte(s)
GDB<| -+$qOffsets#4b
Sent 1 byte(s)
Received 1 byte(s)
GDB<| -
Sent 1 byte(s)
Received 1 byte(s)
GDB<| -
Sent 1 byte(s)
Received 1 byte(s)
GDB<| -
Sent 1 byte(s)
Received 1 byte(s)
GDB<| +
Sent 1 byte(s)
Received 0 byte(s)
GDB<|
Sent -1 byte(s)
Received -1 byte(s)


I do not know if the "gdb" protocol has changed with the new insight so I am unsure what approach I need to take here. If you know the protocol level of the old insight and the new one then that information might help me fix the emulator to hadshake successfully with both the new and the old.

_________________
Gary Miller
CD Machine Architecture II, Operating System Concepts
Full Sail

http://www.fullsail.com


Last edited by gmiller1018 on Tue Aug 26, 2008 2:15 pm, edited 1 time in total.



Wed Aug 13, 2008 4:42 pm
Profile

Joined: Mon Nov 12, 2007 10:47 pm
Posts: 11
Location: Winter Springs Florida, USA
Problem solved ... the parsing code in the VisualBoyAdvanced SDL remote.cpp was done incorrectly so I now have it working with multiple version of Insight.

_________________
Gary Miller
CD Machine Architecture II, Operating System Concepts
Full Sail

http://www.fullsail.com


Tue Oct 07, 2008 2:14 pm
Profile

Joined: Mon Nov 12, 2007 10:47 pm
Posts: 11
Location: Winter Springs Florida, USA
The current release of arm-eabi-insight (7.3.50.20110803-cvs) I can not enable breakpoints except by using the console. Once enabled using the console they show with the appropriate color in the debug window. I can turn the breakpoints off by clicking on the colored symbols but not on.

I can deal with the issue using the console but it would be nice if the pointing and clicking for break points would turn them on/off rather than just off.

_________________
Gary Miller
CD Machine Architecture II, Operating System Concepts
Full Sail

http://www.fullsail.com


Wed Jan 25, 2012 7:10 pm
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1135
Location: UK
I just uploaded a new build from cvs HEAD of 20120202 at http://sourceforge.net/projects/devkitp ... s/Insight/ - this seems to work fine and allows setting of breakpoints in the source window. Can you give it a workout & see if there's anything else strange in there. If it works out ok I'll add it to the updater.

Is there any chance I could nab your code for VBA, I'd like to add builds for osx, windows & linux to the downloads available here.

_________________
devkitPro IRC support
Personal Blog


Fri Feb 03, 2012 5:53 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads