Difference between revisions of "Qorvo device specifics"

From SEGGER Wiki
Jump to: navigation, search
Line 1: Line 1:
  +
=Connect=
By default, the debug interface and flash programming ROM API of Qorvos Cortex-M4 based devices is disabled and needs to be enabled by executing a special sequence. Unfortunately, it cannot be detected if the sequence needs to be executed or not so the DLL must always perform it on connect.
 
  +
By default, the debug interface and flash programming ROM API of Qorvos Cortex-M4 based devices is disabled and needs to be enabled by executing a special sequence. It cannot be determine if the device is already in programming mode or not thus the DLL has to always perform the special sequence in order to make sure that flash programming always works out-of-the-box. Unfortunately, using this method, no attach is possible by default. This affects all supported Cortex-M4 based families (Qorvo GP570, GP870, UE878 and QPG6095)
   
'''Attach to a running system'''
+
=Attach to a running system=
  +
In case of the target application already enables the debug interface, the DLL must not perform the special sequence but as this cannot be detected, the default behavior needs to be overwritten in this case. This can be done by using the J-Link script file below.
Due to the
 
   
  +
'''Affected families''':
 
  +
*GP570
 
  +
*GP870
 
  +
//
*UE878
 
  +
// The "EnableDebugInteface" sequence needs to be performed to
*QPG6095
 
  +
// a) get access to the device and
  +
// b) to enter programming mode (required for flash programming)
  +
//
  +
// Unfortunately, we cannot determine if the device is already in programming mode or not
  +
// thus we have to perform the sequence by default to make sure that flash programming always
  +
// works out-of-the-box. Unfortunately, using this method, no attach is possible by default.
  +
// We have created an wiki-article regarding this.

Revision as of 10:34, 8 October 2019

Connect

By default, the debug interface and flash programming ROM API of Qorvos Cortex-M4 based devices is disabled and needs to be enabled by executing a special sequence. It cannot be determine if the device is already in programming mode or not thus the DLL has to always perform the special sequence in order to make sure that flash programming always works out-of-the-box. Unfortunately, using this method, no attach is possible by default. This affects all supported Cortex-M4 based families (Qorvo GP570, GP870, UE878 and QPG6095)

Attach to a running system

In case of the target application already enables the debug interface, the DLL must not perform the special sequence but as this cannot be detected, the default behavior needs to be overwritten in this case. This can be done by using the J-Link script file below.



 //
 // The "EnableDebugInteface" sequence needs to be performed to
 //   a) get access to the device and
 //   b) to enter programming mode (required for flash programming)
 //
 // Unfortunately, we cannot determine if the device is already in programming mode or not
 // thus we have to perform the sequence by default to make sure that flash programming always
 // works out-of-the-box. Unfortunately, using this method, no attach is possible by default.
 // We have created an wiki-article regarding this.