This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
RM48L940: ESM Error Channel for VIM Selftest
Part Number: RM48L940
When I attempt to read ESM Grp 3 status register (address 0xFFFFF520) I get garbage content from RAM (stack location). I'm able to read Grp 1 and Grp 2 status registers as well as other registers from the ESM module without a problem. Is there anything special I need to do before I can read Grp 3 register?
There should be no problem when reading ESM Status register 3 (esmREG->SR1).
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Miro:
That's what I thought and hence my question.
When I read esmREG->SR1 I get content of RAM from my stack. It doesn't matter if I use the esmREG struct or hard coded address 0xFFFFF520.
I can read esmREG->SR1 and esmREG->SR1 and other ESM modules registers without a problem. Any suggestions about what to check?
In reply to Guy Tadi:
OK. I narrowed this down some more. When I call SL_SelfTest_Flash() then in sl_selftest.c, after the line
flashread = *(volatile uint32 *)flashBadECC1;
I'm not able to read sl_esmREG->SR1
Before that reading SR1 is OK, but the test requires reading esmREG->SR1 after flashread to determine PASS/FAIL condition. What could be going on?
Unfortunately I don't have the same MCU and I made tests with 2 other MCUs that I have at my place but I am not able to replicate this issue.
Do you have some progress with this issue?
Did you solve this issue?
I assume you have solved this issue and I'll close this thread for now. You can always reopen it with writing at the end or you can open new thread.
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. 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.