Hi,Test fails to first expected ok-return, based on register content the Region 0 error is found:if(sl_dmaSoftwrTestConfig(&dma_test_varA, &dma_test_varB, DMA_PERMISSION_READ_ACCESS, &dmaCTRLPKT))After some code inspection and careful TRM reading I found that end-region is set like thissl_dmaREG->DMAMPR0E = (uint32)(srcAddr) + sizeof(uint32);This resulted the DMAPR0S to be ....240 and DMAPR0E be +4 so .....244.The variables A & B used in testing are stack variables and for me those addresses are after each other ..240 and ...244 respectively. After I changed end region setting like this (-1) the test started to worksl_dmaREG->DMAMPR0E = (uint32)(srcAddr) + sizeof(uint32)-1U;Based on TRM the PR0E is end address of the region so the initial code is wrong and sets region 1 byte too far, I this interpretation correct? Just wondering is this test tested at all because I would like to say that most likely those the stack variables are in a row despite which compiler is used...When is the next scheduled SafeTI release, current one is quite old and multiple bugs and 'features' are found after that?
Thanks and Regards,
In reply to Chuck Davenport:
In reply to Jarkko Silvasti:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.