29. Troubleshooting

29.1. Error “2nd stage bootloader rejected (-105)” on Connect or Booter

Should the following messages Could not connect to device. read from QSPI failed: 2nd stage bootloader rejected (-105) been noticed while executing SmartSnippets Toolbox commands, using the UART interface on a Basic DK, please follow the next steps to resolve the issue.

Step 1 : Install SEGGER Jlink v6.12i or later and Run JLink Configurator

Step 2 : Right click on the Jlink product detected and update firmware (if needed) Right click on the Jlink product detected and select “Configure”. In the pop up window select “Enable” in the Virtual Com Port options

Step 3 : Start J-Link Commander –> Confirm the firmware update Enter “wconf 0x8E 0xFB” in order to change the TX drive behavior Power-Cycle the hardware in order to apply the change

29.2. Error message on not supporting ARMv8-M architecture

This appeared on DA1469x but may appear on other families too. User tries to open a connection with JTAG and the following message occur:

_images/jlink_error_armv8-m.png

Figure 121 Error connecting with JTAG

If user press OK Toolbox opens with errors reading specific addresses.

  • Close SmartSnippets Toolbox application
  • From command prompt move into JLink installation folder and run JLink executable (JLink.exe for windows)
  • A popup message requesting formware update should occur.
  • Press yes to procees with firmware upgrade
  • Close command prompt and try to connect with Toolbox again.

29.3. Warning on CLI interface running from windows: WARNING: Could not open/create prefs root node SoftwareJavaSoftPrefs at root 0x80000002. Windows RegCreateKeyEx...

This is a known Java issue https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6790382

It does not affect the SmartSnippets™ Toolbox functionality.

However, to get rid of this warning the user can follow these steps:

  • From Start Menu type regedit into the run search field.
  • Navigate to path HKEY_LOCAL_MACHINESoftwareJavaSoft (on Windows 10 the path seems to be here: HKEY_LOCAL_MACHINESoftwareWOW6432NodeJavaSoft)
  • Right click on the JavaSoft folder and click on New -> Key
  • Name the new Key Prefs