Tool/software: Linux
We have a custom AWR1243 application and I am attempting to implement the mmw_example.c functionality on our embedded host.
I used as a starting point for my port the function stubs in rls_studio.c and implemented the SPI open/read/write as well as the OS function callbacks, etc. This is all from DFP release 01.02.00.01
I can communicate with the AWR1243 reliably and I'm able to reset the device and the the 0x5000 RL_MSS_POWERUP_COMPLETE message comes through..
Interestingly I do get a set bit in the second to last byte of the MSS_POWERUP_STATUS field and all 0's in the BOOTTEST_STATUS field. Depending on the endian swaps for the MSS_POWERUP_STATUS field that flag is either CERT FIELD VALIDITY FAILURE or CERT FIELD INVALID DECRYPT KEY INDEX. I'm not sure as table 6.3 has 30 bits in a bitfield that map to an 8 byte with whatever weird 16 bit endian swap is going on.
I am able to successfully download the metaimage patches from the above refernced DFP release and I then get a 5005 message
AWR AE MSS BOOTERRORSTATUS SB with all 0's, the mmw_example code treats this as MSS boot success, so I assume this is ok. It is concerning to me that none of the BOOTTEST_STATUS bits are set as the ICD says bits set indicates passed.
The mmw_example next sets the CRC which succeeds.
So far so good.
The next step is where the probelem is. MMWL_rfEnable is called which calls rlDeviceRfStart.
I can see the ack come back from rlDeviceRfStart, but I never see the async message from the BSS system. If I bypass the application exit, all subsequent messages meant for the BSS read back nothing but 0xFF's, but other messages destined for the MSS succeed.
Is there some step I'm missing?
Are there some other messages I could pull to query status of the BSS?
Any suggestions at all at this point would be appreciated.
Thanks.