I am using adsp sc 589 ez kit and IDE CCES 2.8.0. I am running the attached project on the mentioned kit. It is having some issue with printf statement printf("\n address after increment is %x",pMUTWrite); (line no 55) in main.c file . While commenting the line 55 console is showing Test Passed... ( string of printf statement in line 72) and without commenting line 55, console is showing Test Failed... ( string of printf statement in line 76) .
Hello,We could able to replicate your issue in our side. While looking into your project, it seems that you defined the value of DMC0_START_ADDRESS is 0x8FFFFFFD. While stepping the code you have shared, the "DestBuff" buffer is not filled with expected data.We modified the value of DMC0_START_ADDRESS as 0x8FFFFFFA and it works as expected with or without the printf statement available in the "line: 55".
Can you please confirm that, Is there any specific reason for defining the value of DMC0_START_ADDRESS is 0x8FFFFFFD. Regards,Processor Application Support.
This code is just a DDR test program. In ADSP SC 589 ez kit DMC0 address range is 0x80000000 to 0x8FFFFFFF since it is of 256 MB. I have created a source buffer of size 4 byte. Then started writing the source buffer values in the DDR memory starting from 0x8FFFFFFD. So while writing the data from source buffer to DDR, only one byte will be missed out. I just want to know where the 1 byte data will be written.
Also if the data won’t be written in DDR, the failcount must increase. So why that printf statement in line 55 giving such behaviour?
Please give a solution for the above problem. Its already one month
Hi,Apologies for the delay.I am checking this and will get back to you as soon as possible.Regards,Lalitha.S