Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 241165

Forum Post: RE: TMS320F28388D: Debugging Hwi_unPluggedInterrupt being called during Task_restoreHwi

$
0
0
Hi Whitney, Thanks for pointing me towards the ITRAP interrupt. I captured some more data for you. This picture below has a lot of data. To summarize, it shows my current breakpoint right after we set IntNum inside of Hwi_unPluggedInterrupt() in Hwi.c. The value of intNum is still 3367, which you pointed out to be the address of the ITRAP interrupt. Looking at the value of the PC register, I can see that its currently at 0x0A7CB2. I pulled up the memory location in the memory browser and can see that it looks like valid data is there. In the second picture below is a snippet of the relevant section in my memory map (.map). It looks like that address should be in this function: 000a7c8e 00000052 sysbios.ae28FP64 : BIOS.obj (.text:ti_sysbios_family_c28_Hwi_unPluggedInterrupt__I). Let me know if I am debugging that wrong, but I thought after an ITRAP interrupt was generated, the memory location from where it was generated from would be stored in the PC register? ROV is not reporting any error. My stack sizes all appear to be normal, as you can see in the bottom right in my ROV View in the first picture. Please let me know if you have any other ideas. I'm wondering if I should think about upgrading my version of SYS/BIOS, as I am using one from a few years ago. Thanks!

Viewing all articles
Browse latest Browse all 241165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>