Part Number: MSP430F6659
Other Parts Discussed in Thread: MSP430WARE
Other Parts Discussed in Thread: MSP430WARE
Tool/software:
Using file:
C:\ti\msp\MSP430Ware_3_80_14_01\driverlib\examples\MSP430FR5xx_6xx\tlv\tlv_ex2_readTLVDescriptors.c
main() calls readPeripheral() which calls TLV_getPeripheral().
In TLV_getPeripheral on line 166: if(pPDTAG[count + 1] == tag)
the program goes off and never returns.
The last time thru the for-loop I see:
count=76, pcount=330, tag=0x98, pPDTAG[0x3f, 0xff], pPDTAG=0x1abc
so this seems correct.
What might be going on here?
You view the contents of TLV_getPeripheral() here: github.com/.../tlv.c
Line 336 is where the program is hanging.