I am not sure why, but sdcdb yet to work.
By the way, my program is large than 40K. Is this the problem?
# sdcdb -cpu 8052 --directory=3Ddrivers:utils radical.ihx=20
SDCDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for SDCDB; type "show warranty" for details.
SDCDB 0.8 . Copyright (C) 1999 Sandeep Dutta (sandeep.dutta@...)
Type ? for help
WARNING: SDCDB is EXPERIMENTAL.
uCsim 0.5.4, Copyright (C) 1997 Daniel Drotos, Talker Bt.
uCsim comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Simulator stopped at Address 0x0000
On Mon, Jun 20, 2005 at 11:42:44AM -0500, Erik Petrich wrote:
Re:On Sun, 19 Jun 2005, [gb2312] =D5=C5=EE=DA=D1=E5 wrote:
Re:> CC=3Dsdcc --debug $(COMPILEOPT) $(OPTIMITE) $(CHIP_FLAGS) $(CFLAGS) $(=
Re:> COMPILEOPT=3D-mmcs51 --stack-auto --use-stdout
Re:> PREDEFINE=3D-D_DEBUG -DSDCC --model-large
Re:> CFLAGS=3D-I/usr/share/sdcc/include -Iincludes=20
Re:> CHIP_FLAGS=3D--code-size 32768 --iram-size 256 --xram-size 65536
Re:> The compiler generated the ihx file and bin file successful.
Re:> But when I used s51 to run it, both the ihx file and bin file got erro=
Re:> Solomon:/MyOffice/chanding/src/client# s51 radical.ihx=20
Re:> uCsim 0.5.4, Copyright (C) 1997 Daniel Drotos, Talker Bt.
Re:> uCsim comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
Re:> This is free software, and you are welcome to redistribute it
Re:> under certain conditions; type `show c' for details.
Re:> 27663 words read from radical.ihx
Re:> 0> r
Re:> Simulation started, PC=3D0x000000
Re:> error: invalid address 0xff in memory iram.
Re:> Erronouse instruction: 0x6b2a f6 MOV @R0,A
Re:> Stop at 0x006b2b: (108) F 0x006b2b
Re:> 0> q
Re:s51 defaults to assuming you are using the original 8051 microcontroller,
Re:which has internal memory only at addresses 0x00 through 0x7f. You need =
Re:specify that you want to simulate a microcontroller with additional
Re:internal memory, such as the 8052:
Re:s51 -t 8052 radical.ihx
Re:I have not used sdcdb, so there may also be another problem. However,
Re:you might try:
Re:sdcdb -cpu 8052 radical
Re:SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
Re:from IBM. Find simple to follow Roadmaps, straightforward articles,
Re:informative Webcasts and more! Get everything you need to get up to
Re:speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick
Re:Sdcc-user mailing list