V1.0910 Release Notes

netX Studio CDT V1.0910 is a maintenance release with bug fixes and enhancements for V1.0900.

Debugging changes and fixes (netX 90)

Validate hardware configuration when starting a debug session

A new step is added to the debug launch sequence, which validates the hardware configuration found on the target device. The hardware config validation performs checks in order to avoid common mistakes such as:

  • Invalid or missing hardware config
  • Hardware config does not enable the application CPU
  • Hardware config does not enable the external SQI Flash and/or SDRAM

When starting a debug session in Run mode, netX Studio will automatically detect and validate the hardware config from the target flash memory:

If a problem is detected, the debug session will be paused and you will be prompted to Proceed or Cancel:

From the prompt dialog you can also choose to disable the hardware config validation by unchecking the option Validate hardware configuration before starting a debug session. This will make netX Studio skip the hardware validation step entirely, which may be desired in order to speed up the debug session startup time.

The Validate hardware configuration before starting a debug session option is a global setting which can be changed at any time from Edit > Preferences > Run/Debug > Launching > General:


OpenOCD now verifies that the application CPU is enabled

The netX 90 application side can only be debugged when the application CPU is enabled. This requires that the netX 90 is reset into normal booting mode, there is a valid hardware configuration that enables the application CPU and there is valid communication firmware and application firmware on the device internal flash. If any of these conditions are not met, then the application CPU cannot be debugged and OpenOCD would fail with a generic error and display the following message in the console: Info : netx90.app: hardware has 0 breakpoints, 0 watchpoints

The OpenOCD scripts will now verify if the application CPU is enabled and fail with a more specific error message which can easily be recognized:

Removed extra resets when starting a debug session

When starting a debug session in Run mode, netX Studio would execute more than one 'reset' command via OpenOCD. The extra resets have been removed and now only a single 'reset' command is executed, after which the application CPU is halted and ready to be debugged.

See also Unexpected resets when debugging netX 90 with netX Studio - how to fix this?

Fixed unexpected reset on Attach

It has been observed that with the netX 90 evaluation boards using the on-board FTDI chip, there was a spike at the JTAG SRST signal, which caused an unexpected reset on attach with OpenOCD. The spike was caused by using the wrong parameters for the ftdi_layout_init command, which resulted in an unexpected reset when OpenOCD attaches and starts the communication over the JTAG interface. The ftdi_layout_init parameters were adjusted and the spike issue was fixed.

See also Unexpected resets when debugging netX 90 with netX Studio - how to fix this?

Added J-Link debug interface

Debugging with J-Link is now supported via OpenOCD.

A new 'J-Link' entry has been added to the list of debug interfaces:

Please note that to use J-Link with OpenOCD the standard J-Link USB driver must be replaced with the WinUSB driver, using 3rd party utility tool such as Zadig.

There are several limitations that apply when using J-Link with OpenOCD instead of the SEGGER J-Link software - https://wiki.segger.com/OpenOCD

Hardware configuration changes (netX 90)

Updated the hardware configuration overlay files to V1.0.0.6.

Changes to the hardware configuration tool and editor:

  • For RST_OUT_N allow enabling the output driver and setting the output level
  • Add RST_OUT_N pin to Dual Phy XM0 MP (AIFX V2) peripheral
  • Add RST_OUT_N pin to XM0 peripheral in CAN and DeviceNet configurations

  • Add DCDC_LX_OUT, allow disabling internal voltage regulator

  • Restrict the SQI XIP frequency to frequencies that can be generated

  • Add Shared SQI peripheral on App side (Use case A)

  • Renamed SQI FLASH to Shared SQI FLASH

  • Renamed firewall settings

Updated tools

Notable fixes and enhancements

  • Integrated XML editor
  • Increased available memory for running netX Studio (see How to increase the available memory used by netX Studio?)
  • Detect WAF build errors from the build output (missing linker script, missing include folder, missing source file, etc.)
  • Display the name of the current perspective to the netX Studio title bar
  • Added Window > Perspective menu with options to switch between perspectives manually
  • Added Tools > FDL Editor and Tools > Tag List Editor shortcuts to the main menu
  • Fixed debug toolbar bug caused by PyDev plug-ins (see How to fix missing toolbar buttons?)
  • Fixed "project was not configured" error when build directory was deleted