Tool/software: Code Composer Studio
I used CSS to debug CC1310 in contiki-ng v4.3,and found the device locks up at :
cmd_rx_handle = RF_scheduleCmd();in sched.c, and RF_scheduleCmd() in RFCC26X2_multiMode.c
The printf function is used to output debugging information, as follows:
printf("working 0 \n");
CMD_STATUS(netstack_cmd_rx) = PENDING;
printf("working 1 \n");
cmd_rx_handle = RF_scheduleCmd(
&rf_netstack,
(RF_Op *)&netstack_cmd_rx,
&sched_params,
cmd_rx_cb,
RF_EventRxEntryDone | RF_EventRxBufFull); // CC1310 crashed here.
printf("over up\n"); / / no output
How to solve this problem ?
PS: The CC1310 I used is version A, is it related?