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

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

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 #13201 of 15019 |
Re: [gbadev] Thought this might be of interest


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 Files\Microsoft eMbedded C++ 4.0\EVC\WCE400\BIN\

Which includes clarm.exe, clthumb.exe and support files. I dont think I/we
will have much luck
with the linker as its determined to build for WinCE. To disassemble with
dumpbin you need an
additional dll from ...4.0\Common\EVC\Bin I think (just search for
it)...The output so far is
more like an lcc arm port I have found rather than other leading arm compilers

This sort of thing:

unsigned long myfun ( unsigned long x )
{
return(x+13);
}

myfun:
00000000: E1A0C00D mov r12, sp
00000004: E92D0001 stmdb sp!, {r0}
00000008: E92D5000 stmdb sp!, {r12, lr}
$M98:
0000000C: E59D0008 ldr r0, [sp, #8]
00000010: E280000D add r0, r0, #0xD
00000014: E89DA000 ldmia sp, {sp, pc}

I dont understand the overuse of the stack...very slow and painful...


When you compile for speed it is at least smart enough to know that r0
already holds r0 and
doesnt reload it, it still wastes quite a bit of time storing r0 on the
stack though...

myfun:
00000000: E1A0C00D mov r12, sp
00000004: E92D0001 stmdb sp!, {r0}
00000008: E92D5000 stmdb sp!, {r12, lr}
$M180:
0000000C: E280000D add r0, r0, #0xD
00000010: E89DA000 ldmia sp, {sp, pc}

I will keep playing...

I am running on Win2k btw, dont have anything but handy to try these exes
on. This dir with
clarm, etc is <15mb uncompressed...

David





At 12:49 PM 10/31/2002 -0800, you wrote:
>From: "Mat" <matth@...>
> > 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 Microsoft Windows XP Professional.
>
>Actually, this is only partially true.
>
>These packages contain a lot more than just the IDE/compiler. They also
>contain just
>about everything you need to develop for the Pocket PC. I know for
>certain that the
>IDE of eVC v3 will work on Win98 systems because I've done so in the
>past. What
>will not run on lesser OSes is the Windows CE emulator.
>
>I have not personally tried running eVC4 on anything other than Win2K, so
>I don't know
>for certain that it runs on Win98, but I suspect it will.
>
>Oh, BTW, it's also a 300MB+ download. You can also get either version on CD
>directly from Microsoft for something like $12.
>
>- John
>
>
>
>
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





Fri Nov 1, 2002 9:17 pm

dwelchgba
Offline Offline
Send Email Send Email

Forward
Message #13201 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
Online Now 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
Online Now 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
Online Now 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
Online Now 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
Online Now 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
Online Now 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