Skip to content

Troubleshooting

james edited this page May 20, 2022 · 2 revisions

Notes

  • UART is used for GPS
  • ADC is used to read photo resistor
  • supercap is used to power up
  • maximum RF power would be 14
  • increase delay between commands can reduce packet loss

Bugs

Description : succeed sending and decoding in debug mode, but lost packet in normal mode

Discuss

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1050936/cc1310-packet-loss-when-directly-executing-the-program-in-flash-it-disappeared-when-we-run-in-debug-mode/3888162#3888162

tried methods

  • remove command chain and use delay (not worked)
  • try TRIG_NOW for command trigger mode (not worked)
  • try with different delays between commands(not worked)
  • reduce the sending data at a time (work, but can not be presented as a final solution)

Error: unable to access DAP

debug

see the RF command status

reason

RF command skipped ?

solved

clear watchdog ?

Error :can't print out or only print out part in ccs

solved : go into debug mode and use printf

printf("start sending data..."); // fflush(stdout);

Error: connecting to the target launchpad

debug

first try to reset the launchpad second try to remove chipsat and plug all jumpers (test launchpad) if second works, it is the chipsat problem

solved

hardware problem

Error: (Error -1170 @ 0x0) Unable to access the DAP. Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status

solved

Error :, bug "unistd.c" and about "sprite.out" not built (hunter's code)

solved

first: in the project property, select build/ARM compiler/Include options change "${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/kernel/tirtos/packages/ti/sysbios/posix"
to "${COM_TI_SIMPLELINK_CC13X0_SDK_INSTALL_DIR}/source/ti/posix/ccs"

second : see the new errors, there are several messages like "/home/phoenix/ti/simplelink_cc13x0_sdk_2_30_00_20/source/ti/drivers/pdm/lib/pdm_cc13x0.aem3" null: cannot find file
in the project property, select build/ARM Linker/File Search Path
delete all library files corresponding to the not found errors