Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
DMA problems, again   Message List  
Reply | Forward Message #13207 of 15019 |
RE: [gbadev] Thought this might be of interest


Well, I have been playing with microsofts eMbedded Visual C (evc) 3.0 and 4.0.

Its not going to work as-is as its targeted for WinCE. What I have done is
use it to compile modules to obj, hack the obj into an asm file, assemble it
with ADS tools and link it (with ADS) tools as a replacement for the
complementary
ADS compiled module.

First EVC3.0 appeared to me at first look to generate better code than EVC4.0
so I went with EVC3.0. Granted its another 300mb download, once its all
said and done and installed what you really need is only 6mb or less
(uncompressed).

Using the queens benchmark in ARM mode, EVC3 ran 4 times FASTER than
ADS. I am still blown away.

Moving to the dhrystone, EVC3 started to get slower than ADS before I got to
a point where it stopped working. Not sure why, the "last thing" I moved over
to EVC was a trivial function, 4 lines of asm. Dont understand yet.

This is all very preliminary, but it should be possible to use this
compiler for the GBA,
"all you have to do" is port newlib and write your own linker. - OR - do
what I did
and "simply" write a program to diassemble the obj files and replace modules
from your favorite tool.

David

At 10:24 AM 11/2/2002 +0000, you wrote:
>I have to say I'm extremely impressed with the ADS tools - never did get on
>well with CodeWarrior though. I'm much more of an UltraEdit and GnuMake fan
>to be honest. After stripping the installation back to compilers, armulator
>and symbolic debugger (command line version) I have it down to 46.7 megs. I
>wonder if they'd consider an ADS lite :)
>
>I just found this on the ARM site though for education and non profit
>organisations.
>
>SDT 2.02u Free, but registration required (Windows 95, Windows NT/x86 and
>SunOS 4.1.3)
>
>http://www.arm.com/hr.nsf/html/edu_pricing?OpenDocument&style=HR
>
>might be handy for those still at uni ;)
>
>Dave
>(cross posted to GP32 dev & GBA dev)
>
> >-----Original Message-----
> >From: David Welch [mailto:gba@...]
> >Sent: Monday, October 28, 2002 6:50 AM
> >To: gbadev@yahoogroups.com
> >Subject: RE: [gbadev] Thought this might be of interest
> >
> >
> >
> >http://www.dwelch.com/gba/dhry.htm
> >
> >The ARM tools are pretty damn good once you learn to control them.
> >When you pay for a copy and support, for a certain period of time
> >you get free upgrades. I guess that continues of you maintain
> >your support
> >contract (which is not free certainly), without the support contract
> >upgrades to a previously purchased version are much less than
> >a full license (which is what started this thread I think). The
> >prices change with time apparently, when 1.2 came out an upgrade from
> >1.1 was $250 if I remember correctly.
>
> >$500 for an academic version is still steep, they should be giving this
> >stuff away IMO, with their goal of everyone touching an ARM every hour
> >minute or second...Next time I get to whisper in the ear of someone
> >high up at ARM (it happens), I will put a few words in for the cause.
>
>
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





Sun Nov 3, 2002 4:59 pm

dwelchgba
Offline Offline
Send Email Send Email

Forward
Message #13207 of 15019 |
Expand Messages Author Sort by Date

Hi everybody, i've read almost every thread about DMA, and i'm having a problem that's giving me headaches and that i think nobody encountered, . I'm using dma...
i7hermes
Offline Send Email
Oct 27, 2002
6:09 pm

... interesting, do you have prefetch enabled and is this on hardware or emulator? If emulator it may be a bug. It's possible that it is a hw bug - the...
Dave Murphy
gameboy_dave
Offline Send Email
Oct 27, 2002
7:40 pm

... from ... the ... probably find ... I tried this on visualboyadvance, but i get the same results on other emulators. I don't know what's the result on...
i7hermes
Offline Send Email
Oct 27, 2002
8:52 pm

... or ... loop ... Ok it seems that you were right about the while loop preventing the DMA transfer to finish. As a matter of fact, i tried to use that code: ...
i7hermes
Offline Send Email
Oct 27, 2002
9:03 pm

http://cmp.imag.fr/ARMProducts.html $500 for an academic license for ADS - might be useful to those at uni or something. not sure what's going on here though -...
Dave Murphy
gameboy_dave
Offline Send Email
Oct 27, 2002
10:37 pm

as I read it this mean ... ... If you have a valid support licence then this product is free for you (you've already paid) your support licence is not extended...
Mike Wynn
mike.wynn@...
Send Email
Oct 28, 2002
12:04 am

... that's kind of what I figured. It does look as if you only have to pay once for a license to use the product though. This is why I was looking at the ...
Dave Murphy
gameboy_dave
Offline Send Email
Oct 28, 2002
1:44 am

http://www.dwelch.com/gba/dhry.htm The ARM tools are pretty damn good once you learn to control them. When you pay for a copy and support, for a certain period...
David Welch
dwelchgba
Offline Send Email
Oct 28, 2002
1:24 pm

For those that might care I have done yet another compiler test: I found this on the ARM website: "The ARM and Thumb C and Embedded C++ (EC++) compilers are...
David Welch
dwelchgba
Offline Send Email
Oct 30, 2002
10:05 am

um, I did a little rearrangement of David's tests & got this I wanted to compare the absolute basic options of the 3 compilers Speed Space size pre no pre...
Dave Murphy
gameboy_dave
Offline Send Email
Oct 30, 2002
5:39 pm

Yes ARM does a good job in getting those CDs out, another CD you should get from them is the Technical Publications cd, among other things you get an...
David Welch
dwelchgba
Offline Send Email
Oct 31, 2002
8:45 am

I have to say I'm extremely impressed with the ADS tools - never did get on well with CodeWarrior though. I'm much more of an UltraEdit and GnuMake fan to be...
Dave Murphy
gameboy_dave
Offline Send Email
Nov 2, 2002
2:04 pm

Well, I have been playing with microsofts eMbedded Visual C (evc) 3.0 and 4.0. Its not going to work as-is as its targeted for WinCE. What I have done is use...
David Welch
dwelchgba
Offline Send Email
Nov 3, 2002
5:14 pm

I have taken Microsoft's eMbedded Visual C Tools (3.0 and 4.0) and used them to re-compile portions of programs (couldnt get everything yet, c library calls...
David Welch
dwelchgba
Offline Send Email
Nov 6, 2002
9:37 am

Ewww, well thats a weeks worth of lost sleep. Looks like the ms compiler isnt all its cracked up to be. I got the gcc thumb stuff working and evc and gcc are...
David Welch
dwelchgba
Offline Send Email
Nov 6, 2002
9:06 pm

Hi David, ... RomImage 0x08000000 0x2000000 { RomImage 0x08000000 { Boot.o (Init, +First) * (+RO) } FastRam 0x03000000 0x7f00 { your_dhrystone_object.o *...
Alex Ganea
alex_toresh
Offline Send Email
Oct 30, 2002
4:39 pm

You can get eMbedded Visual C++ v.4 (yes, that's Microsoft being cute with the name) free for the download at ...
John Seghers
johnse98072
Offline Send Email
Oct 31, 2002
12:18 pm

You forgot to mention that you need one of the following OS's to use it: Microsoft Windows® 2000 Professional SP2, Microsoft Window 2000 Server SP2, or...
Mat
matth@...
Send Email
Oct 31, 2002
5:13 pm

From: "Mat" <matth@...> ... Actually, this is only partially true. These packages contain a lot more than just the IDE/compiler. They also contain...
John Seghers
johnse98072
Offline Send Email
Oct 31, 2002
10:04 pm

Yes eMvc4 is a painful download (large), and a painful install (large), and painful to use (gui ide). Then I found where the magic files were: C:\Program...
David Welch
dwelchgba
Offline Send Email
Nov 1, 2002
9:35 pm

... I don't know ... I can confirm that it doesn't work on anything less than W2K as it is the sole reason I baught XPpro earlier this year when I had to write...
Theory
gbtheoryuk
Offline Send Email
Nov 5, 2002
10:39 pm

update on the educational pricing for ARM tools http://www.arm.com/hr.nsf/html/edu_pricing?OpenDocument&style=HR Software Development Toolkit 2.02u Free, but...
Dave Murphy
gameboy_dave
Offline Send Email
Dec 10, 2002
9:14 am

And another note on the ARM tools, the RVCT (Real View Compiler tools) is the ARM ADS minus the debuggers, minus the ide, plus the new RealView debugger. For...
David Welch
dwelchgba
Offline Send Email
Dec 10, 2002
5:02 pm

... Putting DMA in a non-inline function has always worked for me, as it takes a couple cycles for the CPU to change the program counter. -- Damian...
yerricde
Offline Send Email
Oct 27, 2002
10:39 pm

it may be caused by bad order of writing registers. try this macro: #define DmaCopy(s,d,c)\ {\ REG_DMA3SAD=(u32)s;\ REG_DMA3DAD=(u32)d;\ REG_DMA3CNT_L=c;\ ...
porneL
pornelkurna
Offline Send Email
Oct 27, 2002
8:05 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help