Article Details

ID: 7268
Case Type: faq
Category: Propel (RISC-V)
Related To:
Family: MACHXO3

Search Answer Database

Search Text Image

Propel: What is the workaround for the OpenOCD Debugger Error - Err: can not found the device from device family database, use default value to access this device?

Description:

When you perform an OpenOCD debug session with the MachXO3LF Evaluation Kit, you may encounter the error message below, where the debugger is unable to identify the device family from the database.



Device List:

LCMXO3LF-9400C:0x612BE043

Err: can not found the device from device family database, use default value to access this device

 


Solution:

 

To workaround this issue, in your project debug configuration, set the hardcode "channel" and "cmdlength" values to 0 and 21 respectively.

 

-c 'echo "DEBUG_ENABLE=${DEBUGENABLE}"' -c "set target ${DEVICE}" -c "set tck ${TCKDIV}" -c "set port ${PORT}" -c "set channel 0" -c "set cmdlength 21" -c "set loc ${LOCATION}" -f interface/lattice-cable.cfg -c "set RISCV_SMALL_YAML {${ProjDirPath}/src/cpu0.yaml}" -f target/riscv-small.cfg


This issue is scheduled to be fixed in a future release of the Lattice Propel Software.