Mikroe Codegrip User Manual Download Page 25

P A G E  25

C O D E 

G R I P   U S E R   M A N U A L

OPTIONS

Vendor

Options: 

a list of supported MCU vendors.

The 

Vendor

 dropdown menu allows the MCU vendor to be selected. If 

All

 is 

selected the vendor filtering will not be applied.

MCU

Options: 

a list of all the supported MCUs from the selected vendor.

This dropdown menu allows the target MCU to be selected. It contains a list 
of MCUs available from the selected vendor. 

Typing in this textbox will dynamically filter the MCU list, showing only the 
MCU names containing the characters typed so far.

Protocol

Options: 

SWD, JTAG

This  dropdown  menu  is  used  to  select  the  programming  protocol.  Note 
that  the 

SWD

  programming  protocol  must  be  selected  when  using  the 

SWO Trace.

Speed

Options: 

500 kHz, 1 MHz, 2 MHz, 3 MHz, 4 MHz

This  dropdown  menu  allows  the  link  communication  clock  frequency 
(communication speed) to be selected.

Halt on Connect

Options: 

Disabled, Enabled

This option is used to pause (halt) the execution of the program on the 
target MCU.

If 

Enabled

, the MCU software execution will be halted after the connection 

to the target MCU is established.

If 

Disabled

, the program will continue running on the target MCU freely, 

regardless of the connection.

Connection

Options: 

Normal, Under Reset

The 

Normal

 option will set CODEGRIP Suite to attempt the detection of the 

target MCU, without modifying the state of the RESET line.

The 

Under Reset

 option will set CODEGRIP Suite to hold the target MCU in 

reset whenever the connection is attempted.

Reset Type

Options: 

Hardware Reset, System Reset, Vector Reset

 

There  are  typically  three  types  of  reset  on  the  ARM

®

  core-based  MCUs: 

Hardware  Reset

System  Reset

,  and 

Vector  Reset

.  However,  there  are 

some specific MCUs that have these options implemented differently. For 
a detailed explanation of the reset options, please consult the datasheet 
or the reference manual of the specific MCU.

N O T E

Enabling the Halt on Connect option, combined with the Connection 
option set to Under Reset, can be useful to prevent the MCU from 
altering the function of the programming pins, which might interfere 
with communication with the CODEGRIP Suite.

Summary of Contents for Codegrip

Page 1: ...P A G E 1 C O D E G R I P U S E R M A N U A L U S ER MAN UAL...

Page 2: ...you the ultimate debugger and programmer over USB WiFi solution for embedded development Elegant on the surface yet extremely powerful on the inside we have designed it to inspire outstanding achievem...

Page 3: ...CODEGRIP adapters 11 2 5 LED indicators 13 3 CODEGRIP Link structure 14 2 1 Link types 14 2 2 Link states 14 4 CODEGRIP Suite overview 16 4 1 Menu section 17 4 2 Menu item section 17 4 3 Shortcuts ba...

Page 4: ......

Page 5: ...ireless connectivity and USB C connector the task of programming of a huge number of various ARM Cortex M based microcontrollers becomes seamless and effortless providing users with both the mobility...

Page 6: ...n folder 1 Start the installation 1 Installing CODEGRIP Suite The installation process is easy and straightforward Download CODEGRIP Suite software application from the link www mikroe com setup codeg...

Page 7: ...P A G E 7 C O D E G R I P U S E R M A N U A L 6 Start the installation process 5 Select the start menu shortcuts I N STALLAT ION 7 Installation progress 8 Finish the installation process...

Page 8: ...clude wireless programming and debugging power monitoring advanced debugging options with the SWO support and more The CODEGRIP device comes in two different types as a stand alone device and an integ...

Page 9: ...s some unique usage scenarios currently not available on any other programming debugging solution in the world The WiFi connectivity option offers a complete autonomy of the development system Running...

Page 10: ...ffortless and easy On the bottom of the CODEGRIP device there is the sticker which contains additional information Supported MCU family architecture Unique serial number Unique WiFi MAC address SWDIO...

Page 11: ...ugging headers may vary across different hardware applications To ensure compatibility with various header configurations there is a set of different adapters available as an additional purchase optio...

Page 12: ...C O D E GRIP C O D E GRIP...

Page 13: ...ce is in the bootloader mode Steady ON LED state indicates the normal operation of the CODEGRIP device DATA Indicates the data transfer between the target MCU and the CODEGRIP device 2 5 LED indicator...

Page 14: ...link Each link has several different states recognized by the CODEGRIP Suite The link is Closed the CODEGRIP device is not available over the communication interface USB or WiFi Either it is disconne...

Page 15: ......

Page 16: ...used to display and organize all information tools and options in a consistent and comprehensible manner Besides the very informative Help system CODEGRIP Suite also offers a short description for th...

Page 17: ...u item that does not include the Shortcuts bar is the Programming Menu item since all the shortcut commands are already included there Icons on the Shortcuts bar are used to speed up the workflow prov...

Page 18: ...it yellow indicating that it is clickable Two actions will be performed when clicking the message in the Selected Device field If the message None is displayed the Scanning Menu item will be activate...

Page 19: ...nformation on these tools and options 5 1 Target MCU Menu items used to interact with the target MCU the selected MCU upon which the CODEGRIP device performs various programming debugging tasks are fo...

Page 20: ...5 1 1 Programming The Programming Menu item displays all the commands parameters and other information related to the programming process itself When the Programming Menu item is clicked a quick summa...

Page 21: ...verify the MCU RESET button RESET button will perform a reset of the target MCU WRITE button WRITE button performs programming of the target MCU It will upload the program from the loaded source file...

Page 22: ...ry content The Loaded Source tab displays the content of the loaded bin or hex source file Note that if there is no source file loaded the Loaded Source tab will reflect this condition by changing its...

Page 23: ...speed up the software development The library is available for download from the Libstock at libstock mikroe com Monitoring Interval The monitoring interval can be specified in this text field The co...

Page 24: ...displayed The categories are color coded Info messages are displayed with the light blue letters Warning messages are displayed using the yellow color while the Error messages are displayed in red Th...

Page 25: ...the program on the target MCU If Enabled the MCU software execution will be halted after the connection to the target MCU is established If Disabled the program will continue running on the target MCU...

Page 26: ...sed to define the minimum and the maximum value for the range MCUs with the flash memory capacity outside of the Flash Size range will be hidden from the search list The RAM Size kB field works simila...

Page 27: ...Dark or Light it s your choice...

Page 28: ...s more than one device connected to a host PC The user can modify the device name Serial number This is a unique serial number associated with the CODEGRIP device Every device has its own serial numbe...

Page 29: ...address from the Remote Address fields will be included in the device scan process Otherwise only the local network will be scanned The CODEGRIP device uses the UDP port 49001 and TCP port 49002 for t...

Page 30: ...5 2 2 Configuration When Configuration Menu item is clicked a set of four tabs will be displayed in the Menu item section Device General WiFi General WiFi Mode and Licenses each with its own set of o...

Page 31: ...ated and are in use The Available Licenses subsection displays all licenses currently available for purchase The license activation process itself is explained in the in the chapter 5 2 3 Licenses can...

Page 32: ...e enabled or disabled by selecting an option from this dropdown menu The Enabled option will enable the integrated WiFi module allowing it to be used The Disabled option will disable the integrated Wi...

Page 33: ...plays the strength of the WiFi network signal in dBm Values around 60dBm are considered as good and reliable signal reception while values less than 80dBm will probably result in lost packets WiFi and...

Page 34: ...uired to provide a password that matches the string in this field Secure type Options Open WEP WPA WPA2 The Security protocol of the wireless network can be selected from this dropdown menu Country Co...

Page 35: ...l used on a WiFi network to which the connection is attempted IP Settings Options Use following static IP addresses Obtain IP address automatically Use following static IP addresses allows the user to...

Page 36: ...it User Information subsection Name A user name can be entered in this field Email An email address can be entered in this field Only a valid email address format is accepted Repeat Email This field i...

Page 37: ...to add a new registration code Clicking this button opens a new dialog window that allows the registration code to be entered When a valid code is entered it can be confirmed and stored by clicking th...

Page 38: ...ialog window which allows to set up the voltage that will be applied to the target MCU The voltage can be set from 0 to 3 3V in 0 1V steps Once set the voltage can be applied by switching the button n...

Page 39: ...ication Type Options Verify by CRC Verify by Readback If the Verify after Write option is Enabled the verification method can be selected from the dropdown menu There are two possible options Verify b...

Page 40: ...DEGRIP along with the CODEGRIP Suite update and firmware update tools 5 5 1 About By clicking on About Menu item some general information that covers the current version of the release the development...

Page 41: ...s clicked CODEGRIP Suite will check if there is a more recent version available A new window will pop up displaying whether the CODEGRIP Suite is up to date or there is a new version available In the...

Page 42: ...h differs from the contents of the source file Make sure the MCU is not read protected WW Operation failed VERIFY READ Check the communication with the CODEGRIP device and the connection between the C...

Page 43: ...roElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in this manual at any time without prior notice if necessary TRADE...

Page 44: ...www mikroe com If you are experiencing some problems with any of our products or just need additional information please place your ticket at www mikroe com support If you have any questions comments...

Reviews: