Hacking DSTWO Tool for Windows

CuteMiyu

New Member
OP
Newbie
Joined
Aug 5, 2011
Messages
2
Trophies
0
XP
3
Country
Taiwan
spinal_cord said:
Does this mean that the SDK can now be installed in Windows?
You need build mipsel cross compiler for windows by yourself.

When you build dstwo plug at last step, it have a makeplug tool convert your binary file to plug. But this tool have no source code.

I just make a windows edition.
 

Buleste

Old Fart
Member
Joined
Dec 19, 2010
Messages
852
Trophies
0
Age
51
Website
www.redbubble.com
XP
590
Country
If you want to make a MIPS cross compiler I did find these instructions on the web.

6.095 Humanoid Robot Competition
How to make cross compiler for mips CPU on windows

1. Install cygwin http://cygwin.com/
Make sure gcc and make are installed

2. Download all files in http://www.mit.edu/~kene/robo-one/doc/tar
Makefile
binutils-2.16.1.tar.gz
gcc-core-3.4.6.tar.gz
newlib-1.9.0.tar.gz
lib.tgz
ttermp23.zip
locate all files in your home directry.

3. compile cross compiler for mips CPU
binutils ( version 2.16.1 )
$mkdir /usr/loca/src
$ cd /usr/local/src
$ tar xvfz ~/binutils-2.16.1.tar.gz
$ mkdir binutils_robin
$ cd binutils_robin
$ ../binutils-2.16.1/configure --target=mipsel-robin-elf --prefix=/usr/local
$ make
$ make install
gcc ( version 3.4.6 )
$ cd /usr/local/src
$ tar xvfz ~/gcc-core-3.4.6.tar.gz
$ mkdir gcc_robin
$ cd gcc_robin
$ ../gcc-3.4.6/configure --target=mipsel-robin-elf --prefix=/usr/local
--with-newlib --enable-languages=c --disable-threads --disable-shared
$ make
$ make install
newlib ( version 1.9.0)
$ cd /usr/local/src
$ tar xvfz ~/newlib-1.9.0.tar.gz
$ mkdir newlib_robin
$ cd newlib_robin
$ ../newlib-1.9.0/configure --target=mipsel-robin-elf --prefix=/usr/local
$ make
$ make install

4. revise /usr/local/lib/gcc/mipsel-robin-elf/3.4.6/specs
(Use a text editor to edit this file)
-------------------------------------------------
*lib:
-lsemb -lc -lnullmon -lc


*startfile:
crt0%O%s crti%O%s crtbegin%O%s


5. install semb1200a-rom.ld at /usr/local/mipsel-robin-elf/lib/
$cd ~
$cp semb1200a-rom.ld /usr/local/mipsel-robin-elf/lib/.

6. install lib, header files, and so on
$tar xfvz lib.tgz
$ cp –r semb1200a /usr/local/mipsel-robin-elf/include/.
$ cp libsemb.a /usr/local/mipsel-robin-elf/lib/.
$cp crt0.o /usr/local/mipsel-robin-elf/lib

7. install teraTerm?(optional: hyperterminal is also useful)
Just double-click setup.exe in ttermp23.zip, and follow its instruction.

Set up a serial port as follows.
Baud rate 115200
Data 8bit
Parity none
Stop 1bit
Flow control none

8. compile a test program
Download http://www.mit.edu/~kene/robo-one/doc/src/test.tgz
$ tar xfvz test.tgz
$ cd test
$ make
test.bin is a binary file for main board.



Note
• You can also make cross compiler on linux or MacOSX. If you are using either of them, other terminal emulter like minicom is useful.
• The USB Serial Adapter which comes with KHR-2HV kit is not available on Linux MacOS. If you are using either of them, you should have other USB Serial Adapter such as USA-19HS.
http://www.keyspan.com/products/usb/usa19hs/
Don't know if it works but it's worth a try.
 

Mbmax

Homebrew addicted
Member
Joined
Nov 7, 2006
Messages
2,275
Trophies
1
Website
Visit site
XP
413
Country
I like this tool CuteMiyu.
smile.gif


Thank you.
 
  • Like
Reactions: Margen67

Mbmax

Homebrew addicted
Member
Joined
Nov 7, 2006
Messages
2,275
Trophies
1
Website
Visit site
XP
413
Country
Just an advice concerning plugins and the ismart MM. Don't play much with the ismartlinux.plg to make it runnable on dstwo, you might brick your dstwo like i did today.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    +1
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
    +1
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    +1
  • K3Nv2 @ K3Nv2:
    White fries hold up
    +1
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 sure you can
  • BakerMan @ BakerMan:
    why tf do people hate android users? is it the video quality? just because "AnDrOiD = pOoR" bc they don't cost an arm and a leg like iphones do?
    +1
  • BakerMan @ BakerMan:
    i won't be turned off by an iphone, but don't pick on me for having an android, that's just how this shit should work
  • ZeroT21 @ ZeroT21:
    Should say more what these kind of android users say bout nokia 3310 users
  • BigOnYa @ BigOnYa:
    I've owned both iPhone and Androids over the years. Both are just as good, other than Apples higher price. I'm currently on Android, Samsung S21 I think, and very happy with it.
  • K3Nv2 @ K3Nv2:
    Got my 60 minute steps in whew
    +2
  • BigOnYa @ BigOnYa:
    I get mine in everyday, going back n forth to the fridge for a beer.
    +1
  • K3Nv2 @ K3Nv2:
    6,000 steps in so far legs almost broke getting off
    +1
  • K3Nv2 @ K3Nv2:
    Your mind gets in a werid pattern of just finishing then when you're done you're like I need a soda
  • BigOnYa @ BigOnYa:
    You get a "walkers" high?
  • K3Nv2 @ K3Nv2:
    Not really I just use to love building up a sweat
  • BigOnYa @ BigOnYa:
    Funny, that's what uremum always says
  • K3Nv2 @ K3Nv2:
    Yeah and people that take viagra think they have a big dick
    +1
  • K3Nv2 @ K3Nv2:
    You cant fix one insult edit for another edit you pog
  • BigOnYa @ BigOnYa:
    Nuh I'm on my tablet n it always auto corrects me
  • K3Nv2 @ K3Nv2:
    Heorin and uremum do have close quarters
  • Sonic Angel Knight @ Sonic Angel Knight:
    BIG CHICKEN :P
    K3Nv2 @ K3Nv2: https://youtu.be/q855tNpvDoQ?si=Tl57KMjiVjyBherB