background image

P A G E  26

 U N I  C O D E G R I P

  U S E R  M A N U A L

S

WO

To use the SWO Tracing, the programming protocol must be set 
to SWD. Not all ARM® MCUs support the SWO Trace. For more 
information about the SWO Trace capabilities, please consult the 
datasheet or the reference manual of the used MCU.

N O T E

Set Filters

This button opens a new window, which contains five checkboxes, used to 
manage the incoming SWO messages. There are three message categories, 
depending on the SWO port they are sent through: 

Info

Warning

, and 

Error 

messages. When the specific checkbox is ticked, messages corresponding 
to that category will be 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.

The 

Default

 category is used to manage messages sent over any other 

SWO port that is not either 

Info

Warning

, or 

Error

 port. These messages 

are displayed in grey color. 

The last checkbox labeled as 

Port

 is used to show or hide the port number 

and the category of the specific incoming message. If multiple messages 
are received over the same port, the port number and the category 
message will be displayed only before the first message, respecting the 
previously explained color coding scheme.

5.1.3 Options

The 

Options Menu item

 displays a set of options, which are used to select 

and configure the target MCU.

Summary of Contents for CODEGRIP UNIVERSAL

Page 1: ...P A G E 1 U N I C O D E G R I P U S E R M A N U A L U S E R MAN UAL U N I V E R S A L Time saving embedded tools...

Page 2: ...mate programmer debugger over WiFi USB solution for embedded development Elegant on the surface yet extremely powerful on the inside we have designed it to inspire outstanding achievements And now it...

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

Page 4: ......

Page 5: ...some advanced and unique features such as wireless connectivity and USB C connector the task of programming of a huge number of microcontrollers becomes seamless and effortless providing users with bo...

Page 6: ...P Suite 2 Select the destination folder 1 Start the installation The installation process is easy and straightforward Download CODEGRIP Suite software application from the link www mikroe com setup co...

Page 7: ...P A G E 7 U N I 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: ...amming 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 integrated on board modul...

Page 9: ...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 a toxic gas sensor...

Page 10: ...h the connector used to interface the device with the target MCU The connector allows it to perform programming and debugging operations to provide the power supply for the target MCU and to be used a...

Page 11: ...RESERVED GND RESERVED GND RESERVED GND TARGET CONNECTOR FOR ARM AND RISC V ISP_MOSI JTAG_TDI VCC TGT ISP_CLK JTAG_CLK GND ISP_MISO PDI_DATA UPDI_DATA JTAG_TDO GND JTAG_TMS RESERVED RESET PDI_CLK DW_D...

Page 12: ...ERVED GND RESERVED GND RESERVED GND RESERVED GND RESERVED GND TARGET CONNECTOR FOR PIC AND dsPIC ETJTAG_TMS VCC TGT EJTAG_CLK PGEC GND EJTAG_TDO PGED GND EJTAG_TDI RESERVED MCLR PROG MUX GND RESERVED...

Page 13: ...ng 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 option 2...

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

Page 15: ...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 16: ...iFi 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 disco...

Page 17: ......

Page 18: ...are 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...

Page 19: ...Menu 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 p...

Page 20: ...ght 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 activ...

Page 21: ...d information 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...

Page 22: ...s manual in the Troubleshooting section 5 1 1 Programming The Programming Menu item displays all the commands parameters and other information related to the programming process itself When the Progra...

Page 23: ...to 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 fi...

Page 24: ...emory 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...

Page 25: ...astically 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 fie...

Page 26: ...be 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...

Page 27: ...target MCU is established If Disabled the program will continue running on the target MCU freely regardless of the connection Connection ARM RISC V Options Normal Under Reset The Normal option will se...

Page 28: ...s used 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 sim...

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

Page 30: ...e is 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 nu...

Page 31: ...IP 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 fo...

Page 32: ...ged 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 o...

Page 33: ...tivated 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...

Page 34: ...n be 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...

Page 35: ...letely disabled by unchecking the checkbox next to the Filter MAC Address field WiFi and SSL licenses are bought separately from the MIKROE online store Once entered the password for the specific CODE...

Page 36: ...required 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...

Page 37: ...ocol 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...

Page 38: ...te 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 fiel...

Page 39: ...ed 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...

Page 40: ...GE button opens a dialog window which allows to set up the voltage that will be applied to the target MCU The voltage can be set from 0 to 5V in 0 1V steps Once set the voltage can be applied by switc...

Page 41: ...rify 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 by CRC uses the Cyclic R...

Page 42: ...CODEGRIP 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 developm...

Page 43: ...m is 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 t...

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

Page 45: ...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 46: ...m 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 or business p...

Reviews: