13 #ifndef RTLDEVICE2613XX_H 14 #define RTLDEVICE2613XX_H 16 #define DUMMY_FREQUENCY_OFFSET 999999 21 class DALRfDevice26xx;
31 int addDynamicOverride(
const QString &devId,
const QString &type,
const QString &value,
const QString &
id);
32 int connect(
const QString rfDevName,
const QString &devId);
37 int eraseFlash(
const QString &devName,
const QString &devId,
EraseInfo_t *pEraseInfo = NULL, FPLFile *pFile = NULL);
38 int executeCmd(
const QString &devId, quint8 *pCmd,
const quint16 &cmdLength, quint32 *pCmdResult);
40 int programFlash(
const QString &devName,
const QString &devId,
41 const quint32 &address,
const quint32 &length, quint8 *pBuffer);
45 int readMcuReg(
const QString &devId,
const quint32 &address, quint32 *pValue);
46 int readMemory(
const QString &devName,
const QString &devId,
47 const quint32 &address, quint32 *pLength, quint8 *pBuffer);
48 int readRfReg(
const QString &devId,
const quint32 &address, quint32 *pValue);
50 int writeMemory(
const QString &devName,
const QString &devId,
51 const quint32 &address,
const quint32 &length, quint8 *pBuffer);
52 int writeMcuReg(
const QString &devId,
const quint32 &address,
const quint32 &value);
53 int writeRfReg(
const QString &devId,
const quint32 &address,
const quint32 &value);
54 int runCpu(
const QString &devName,
const QString &devId,
bool debugMode);
55 int haltCpu(
const QString &devName,
const QString &devId);
56 int writeCpuReg(
const QString &devName,
const QString &devId,
58 int readCpuReg(
const QString &devName,
const QString &devId,
65 int getMedianFrequencyOffset(DALRfDevice *pDalRfDeviceRx,
double *pFreqOffset);
66 int setCmixnValue(DALRfDevice *pDalRfDeviceRx);
67 int readFrequencyOffsetAndSaveInList(DALRfDevice *pDalRfDeviceRx);
68 int readRfReg(DALRfDevice *pDalRfDevice,
const quint32 &address, quint32 *pValue);
69 int writeRfReg(DALRfDevice *pDalRfDevice,
const quint32 &address,
const quint32 &value);
70 int getDeviation(DALRfDevice *pDalRfDevice);
71 int getDeviationCC13xxPG1(DALRfDevice *pDalRfDevice);
72 int getDeviationCC13xxPG2(DALRfDevice *pDalRfDevice);
73 int initDALApi(
const QString &devId);
74 void convertPacketDataToString(QByteArray pktRxData, QString& qsPacketData);
75 int sendPacketsTargetControlled(DALRfDevice26xx *pDalRfDevice26xx,
void* pPacketSequenceConfig, QString &qsError,
const bool &asynchTx =
false);
77 int rfcMdmRegDemmafc0;
78 int rfcMdmRegDemswqu1;
79 int rfcMdmRegDemmisc0;
80 int rfcMdmRegDemmisc3;
81 int rfcMdmRegDemmafi0;
82 int rfcMdmRegDemmafi1;
83 int rfcMdmRegDemmafi2;
84 int rfcMdmRegDemmafi3;
85 int rfcMdmRegDemfife2;
87 int rfcFscaRegSynthreganadiv;
int startPacketTx(const QString &txId)
Start a packet transmission with pre configured packets, interval and number of packets.
Definition: rtl_device_26_13xx.cpp:688
This structure is used as input to RTLDevice::programFlash() and RTLDevice::verifyFlash().
Definition: rtl_flash_handler.h:84
int eraseFlash(const QString &devName, const QString &devId, EraseInfo_t *pEraseInfo=NULL, FPLFile *pFile=NULL)
Erase Flash (FPL Feature)
Definition: rtl_device_26_13xx.cpp:1931
int writeCpuReg(const QString &devName, const QString &devId, const CM3_CPU_REGISTERS ®Number, const uint32_t &value)
Write CPU register (FPL Feature)
Definition: rtl_device_26_13xx.cpp:2236
Definition: rtl_device.h:29
Definition: rtl_device.h:63
int verifyFlash(const QString &devName, const QString &devId, FPLFile *pFplFile, ProgramInfo_t *pProgInfo=NULL)
Verify Flash (FPL Feature)
Definition: rtl_device_26_13xx.cpp:2054
This structure is used as input to RTLDevice::eraseFlash().
Definition: rtl_flash_handler.h:58
int readCpuReg(const QString &devName, const QString &devId, const CM3_CPU_REGISTERS ®Number, uint32_t *pValue)
Read CPU register (FPL Feature)
Definition: rtl_device_26_13xx.cpp:2268
int executeCmd(const QString &devId, quint8 *pCmd, const quint16 &cmdLength, quint32 *pCmdResult)
Execute Command.
Definition: rtl_device_26_13xx.cpp:1838
RTLDevice26_13xx(void)
Definition: rtl_device_26_13xx.cpp:71
int readCmdSettingsFromFile(const QString &devId, TestConfig_t &testConfig)
Read command settings from file.
Definition: rtl_device_26_13xx.cpp:162
CM3_CPU_REGISTERS
The XDS debug interface uses an offset of 512 to address the CPU registers.
Definition: rtl_flash_handler.h:90
int connect(const QString rfDevName, const QString &devId)
Connect to target device.
Definition: rtl_device_26_13xx.cpp:2358
int runCpu(const QString &devName, const QString &devId, bool debugMode)
Run CPU (FPL Feature)
Definition: rtl_device_26_13xx.cpp:2178
int readMcuReg(const QString &devId, const quint32 &address, quint32 *pValue)
Read MCU Register.
Definition: rtl_device_26_13xx.cpp:1648
int readFrequencyOffset(const QString &devId, TestResult_t *pTestResult)
Read frequency offset value from given device.
Definition: rtl_device_26_13xx.cpp:1001
Definition: rtl_device.h:71
virtual ~RTLDevice26_13xx(void)
Definition: rtl_device_26_13xx.cpp:81
int readFrequencyOffsetCW(const QString &devId, TestResult_t *pTestResult)
Read frequency offset value from given device when receiving CW.
Definition: rtl_device_26_13xx.cpp:1086
int programFlash(const QString &devName, const QString &devId, FPLFile *pFplFile, ProgramInfo_t *pProgInfo=NULL)
Program Flash from file (FPL Feature)
Definition: rtl_device_26_13xx.cpp:1971
int setCapArrayDelta(const QString &devId, const qint16 &value)
Set Cap Array Delta.
Definition: rtl_device_26_13xx.cpp:2429
int removeDynamicOverride(const QString &devId, const QString &id)
Remove Dynamic Override.
Definition: rtl_device_26_13xx.cpp:1785
int readMemory(const QString &devName, const QString &devId, const quint32 &address, quint32 *pLength, quint8 *pBuffer)
Read memory (FPL Feature)
Definition: rtl_device_26_13xx.cpp:2103
Definition: rtl_device_26_13xx.h:23
int writeMemory(const QString &devName, const QString &devId, const quint32 &address, const quint32 &length, quint8 *pBuffer)
Write memory (FPL Feature)
Definition: rtl_device_26_13xx.cpp:2146
int writeRfReg(const QString &devId, const quint32 &address, const quint32 &value)
Write RF core Register.
Definition: rtl_device_26_13xx.cpp:1511
int doLinkTest(const QString &txId, const QString &rxId, TestResult_t *pTestResult)
Run link test.
Definition: rtl_device_26_13xx.cpp:351
int addDynamicOverride(const QString &devId, const QString &type, const QString &value, const QString &id)
Add Dynamic Override.
Definition: rtl_device_26_13xx.cpp:1726
int writeMcuReg(const QString &devId, const quint32 &address, const quint32 &value)
Write MCU Register.
Definition: rtl_device_26_13xx.cpp:1684
int readRfReg(const QString &devId, const quint32 &address, quint32 *pValue)
Read RF core Register.
Definition: rtl_device_26_13xx.cpp:1476
int haltCpu(const QString &devName, const QString &devId)
Halt CPU (FPL Feature)
Definition: rtl_device_26_13xx.cpp:2205