This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex R8 axi unaligned transfer

I have an issue in my retarget printf study

AXI master port have not any transfer when I change address to unaligned address

There is my C code

volatitle int *tube = (volatile int *)0xfc000000;

*tube = ch;

I change the address to 0xfc000001;

I not sure this usage is legal or not in Cortex-r8.

Or my C program has not recommended style.

Thank for your help!

Parents
  • Thank for your reply. I check our design SCTLR.A is zero.

    I send two accesses  One is normal access and the other is unaligned access.

    Final only first access in my waveform

    I think somthing is wrong in my program or design will auto mask not supported access

    1.  *(volatile int *) 0xfc000000 = 0xffff; 

    2.   *(volatile int *) 0xfc000001 = 0xffffff00;

    Thank you!

Reply
  • Thank for your reply. I check our design SCTLR.A is zero.

    I send two accesses  One is normal access and the other is unaligned access.

    Final only first access in my waveform

    I think somthing is wrong in my program or design will auto mask not supported access

    1.  *(volatile int *) 0xfc000000 = 0xffff; 

    2.   *(volatile int *) 0xfc000001 = 0xffffff00;

    Thank you!

Children
No data