background image

P A G E  14

C O D E 

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

LINK S

TRUCTURE

3. CODEGRIP link structure

CODEGRIP  Suite  can  detect  multiple  CODEGRIP  devices.  In  addition,  a 
single CODEGRIP device can be operated by multiple software applications. 
To avoid any ambiguity, CODEGRIP utilizes the concept of links. 

CODEGRIP Suite uses a link to the specific CODEGRIP device, in order to send 
commands  and  receive  responses.  The  link  can  be  created,  opened,  and 
destroyed by the user, employing some specific functions of CODEGRIP Suite.

Based on the link and its state, CODEGRIP Suite can always unambiguously  
know which CODEGRIP device to use, and if the specific CODEGRIP device 
is currently available. A single CODEGRIP device can have links to multiple 
CODEGRIP Suite applications, while CODEGRIP Suite can have a link to only 
a single CODEGRIP device at time. Still, it can easily switch the link to any 
CODEGRIP device detected during the scanning process. 

3.1 Link types

3.2 Link states

Depending on what type of interface is used to establish the link, there are 
two types of links available: the USB link, and the WiFi 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  disconnected, 
nonresponsive, turned OFF, or otherwise unavailable.

The  link  is 

Available

:  the  CODEGRIP  device  is  available  over  the 

communication  interface  (USB  or  WiFi).  Communication  packets  can 
reach the CODEGRIP device, and it is able to send back the response. 

The link is 

Blocked

: this state indicates that the link was blocked because 

the specific CODEGRIP device is busy servicing another link.

When CODEGRIP Suite actively uses the link for issuing commands to a 
linked CODEGRIP device, other applications linked to the same CODEGRIP 
device  will  have  their  links  in  a  blocked  state.  As  soon  as  the  task  is 
complete, those links will revert to the available state.

The  indicator  showing  the  current  state  is  visible  at  the  status  bar  at 
the  bottom  of  the  Suite.  More detailed description about the Shortcut bar 
commands find in the Chapter 4.

 

N O T E

USB  link  is  the  primary  link  and  it  has  the  highest  priority.  Some 
operations, such as the firmware update, are exclusively used with 
the USB link. When the USB link is active, all the WiFi links to that 
specific CODEGRIP device will be forced to a closed state.

Содержание Codegrip

Страница 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...

Страница 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...

Страница 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...

Страница 4: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 12: ...C O D E GRIP C O D E GRIP...

Страница 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...

Страница 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...

Страница 15: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 27: ...Dark or Light it s your choice...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: