flat assembler
Message board for the users of flat assembler.

Index > Non-x86 architectures > Firmware for ARM devices

Author
Thread Post new topic Reply to topic
zaltekk



Joined: 03 Oct 2006
Posts: 3
zaltekk
I am looking for information on programming for mobile devices(Nintendo DS and LG VX8300).

There is a modified firmware for the Nintendo DS, but I can't find any information on how the firmware was created.

So far, I have been unable to figure anything out other than the fact that there is a commercial product available called ARM RealView Development Suite. This is of course out of my price range, so I am looking for other options. I will most likely want an ARM assembler and disassembler. I know there are GNU tools thats support ARM, but I don't know of a windows binary that has the ability to support ARM.

Any information of links would be great. =]
Post 03 Oct 2006, 21:21
View user's profile Send private message Reply with quote
HyperVista



Joined: 18 Apr 2005
Posts: 691
Location: Virginia, USA
HyperVista
hello zaltekk and welcome to the fasm board. revolution, a prominent fasm board member has an excellent fasm ARM project going and you should check it out.

http://www.board.flatassembler.net/topic.php?t=4191
Post 03 Oct 2006, 21:35
View user's profile Send private message Visit poster's website Reply with quote
zaltekk



Joined: 03 Oct 2006
Posts: 3
zaltekk
Ok, being able to use FASM for ARM processors is a big step towards being able to do what I want. Thanks for the link.

What about disassembling? I think IDA can disassemble for ARM processors, but I'm looking for free tools if they exist.

Then I think the next step would be to figure out how the firmware is stored. I'm assuming more is present than just code, but I'm not sure how to go about figuring out the format.
Post 03 Oct 2006, 21:50
View user's profile Send private message Reply with quote
HyperVista



Joined: 18 Apr 2005
Posts: 691
Location: Virginia, USA
HyperVista
you can look here, but not sure there are disassembers listed for ARM.
http://www.thefreecountry.com/programming/disassemblers.shtml
Post 03 Oct 2006, 22:00
View user's profile Send private message Visit poster's website Reply with quote
zaltekk



Joined: 03 Oct 2006
Posts: 3
zaltekk
Nope. None of the lists like that seem to have anything for ARM. I couldn't find any free ones with Google either.
Post 03 Oct 2006, 22:08
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
I am porting my OS to arm (including DS) with fasmarm and it works very well, as for disassemblers most DS emulators have them built in.
http://www.dex4u.com/images/gbademo.jpg
Post 09 Oct 2006, 01:48
View user's profile Send private message Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32
how do you transfered your OS to the Gameboy?
Post 09 Oct 2006, 05:09
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
sylwek32 wrote:
how do you transfered your OS to the Gameboy?


Either use an emulator, or get one of the flash kits...

_________________
Image - carpe noctem
Post 09 Oct 2006, 10:44
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
pelles C has suport for ARMs, no idea what it has. also there is "free" (I think) "embedded visual C" by microsoft
Post 09 Oct 2006, 11:33
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
sylwek32 wrote:
how do you transfered your OS to the Gameboy?

Things like GBA SP/DS do not have a OS as such, you directly talk to the hardware.
To do anything like get button press, change mode etc, is as simple as read or writing differant bits, at a certain address.
But to run you code you get a M3 Adapter that lets you use a CF card, this is formated fat,
So all you need is a card reader on your PC to add your OS.
To run code on a DS is harder, you need a thing called a passme, with this you can run as is ( must have a real game in it) or you can flash your firmware.
I am also porting my OS to gp2x, which is also arm for this i am using a boot loader called
u-boot http://u-boot.sourceforge.net/
Heres my setup
http://www.dex4u.com/etc/DS.jpg
Heres a screenshot of using X86 Dex4u OS to debug Dex4u OS ARM port (gp2x)
http://jas2o.forthworks.com/dexforum/index.php?action=dlattach;topic=142.0;attach=80;image

See here for simple GBA program:
http://board.flatassembler.net/topic.php?t=4191&start=160
Post 09 Oct 2006, 16:42
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.