Hi Colin
"aligned byte address" doesn't make a lot of sense since a byte is always aligned.
I checked in some existing projects and found one reading from an edge port via DMA (EPPDR0 is at the address (IPSBAR + 0x130005)) so this does suggest that there should be no problems reading from an odd address.
The DMA controller doesn't however automatically have full rights to access parts of memory, therefore you may be seeing access violations due to this. Make sure that you have given the controller adequate rights by doing:
GPACR0 = SUP_USER_FULL_ACCESS; // enable peripheral SRAM access (value is 0x4)
others which may be useful are:
PACR1 = 0x04; // enable DMA to access FLASH
GPACR1 = 0x04;
Regards
Mark
www.uTasker.com
- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "Embedding it better..."