Programming
The Osmium MIMU22BT / MIMU22BTP
With AVR Dragon
Committed to Innovate
© 2016, GT Silicon Pvt Ltd, Kanpur, India
Revision 1.3
28 January 2016
www.gt-silicon.comwww.inertialelements.com 1
2
Revision Revision Date Updates
1.0 15 Sep 2014 Initial Release of Programming Instruction Manual
1.1 27 Dec 2014 Minor changes in layout; Included details on connectors on AVR Dragon
1.2 14 Sep 2015 Updated with latest JTAG programming cable
1.3 28 Jan 2016 Updated for the firmware source
Revision History
www.inertialelements.com
3
Purpose & Scope
This document carries all the necessary instructions, in
extremely simple and interactive way, required to program (i.e.
update the embedded code of) Osmium MIMU22BT /
MIMU22BTP using Atmel Studio 6.2 and AVR Dragon.
www.inertialelements.com
4
Hardware & Software Requirement
• 64 bits computer with 4 GB SRAM and Windows 7 OS
• Atmel Studio 6.2 installed on computer
• AVR Dragon
• Osmium MIMU22BT / MIMU22BTP
• Osmium MIMU22BT’s JTAG cable
www.inertialelements.com
Osmium MIMU22BT / MIMU22BTP
USB Micro B Connector
- For USB communication
- For powering up & battery charging
Power Slide Switch
ONOFF
JTAG
Connector
5
www.inertialelements.com
3. Click here to select
OpenShoe_runtime_framework
2. Dropdown menu
1. Go to home page of OpenShoe on SourceForge
6
www.inertialelements.com
Click here to Download Snapshot
7
www.inertialelements.com
Save the downloaded zip file in a separate directory
8
www.inertialelements.com
[28Jan2016] We recommend downloading the zip folder from
our website inertialelements.com  Support Resources
1. Dropdown menu
2. Click here to select
Navitation_algorithms
9
www.inertialelements.com
Click here to Download Snapshot
10
www.inertialelements.com
Save the downloaded zip file in the same
Directory where the earlier one is saved
11
www.inertialelements.com
[28Jan2016] We now recommend downloading the zip folder
from our website inertialelements.com  Support Resources
Extract from zip files
(You may change folders’ names)
12
www.inertialelements.com
Open Atmel Studio 6.1
13
www.inertialelements.com
This is how Atmel Studio appears on opening
14
www.inertialelements.com
Click here to open Project/Solution
15
www.inertialelements.com
Go to folder openshoe_algorithms*
16
www.inertialelements.com
1. Select Navigation_algorithms
2. Click here to Open
17
www.inertialelements.com
Note
18
www.inertialelements.com
Click here to select
Existing project
Select & right click on
Solution ‘Navigation _algorithms’
2. Click here
to add project
19
www.inertialelements.com
1. Go to this openshoe-framework*
2. Click here to Open
20
www.inertialelements.com
1. Select OpenShoe_runtime_framework
2. Click here to Open
21
www.inertialelements.com
The project
(OpenShoe_runtime_framework)
will appear in the right window pane
22
www.inertialelements.com
2. Click here to
edit Properties
1. Select
OpenShoe_runtime_framework
and right click
23
www.inertialelements.com
3. Select this path
4. Click here to edit path
1. Select
Toolchain
2. Select
Directories
24
www.inertialelements.com
Click here to update path
25
www.inertialelements.com
2. Select this folder
1. Go to this folder (src)
26
www.inertialelements.com
2. Click to confirm
1. Note the updated path
27
www.inertialelements.com
3 Click here to edit path
1. Click here to
select Libraries
2. Click here to select path
28
www.inertialelements.com
Click here to update path
29
www.inertialelements.com
2. Select this folder
1. Go to this folder (Debug)
30
www.inertialelements.com
2. Click to confirm
1. Note the updated path
31
www.inertialelements.com
Don’t forget to save !
32
www.inertialelements.com
Now include calibration file
3. Click here
to add
1. Select &
right click
Config
2. Select to Add
33
www.inertialelements.com
Note: Name of the file must be
user_calibration_MIMU22BT.h
2. Click here
1. Select calibration file from
appropriate location
34
www.inertialelements.com
Calibration file
appears here
35
www.inertialelements.com
Select & right click
OpenShoe_runtime_framework
2. Click here
to build
36
www.inertialelements.com
You will be asked to save the
build. Ignore it by clicking
Cancel.
37
www.inertialelements.com
1. Note this on completion of build.
3. Click here to build complete solution
38
2. Ignore this particular error at this stage.
www.inertialelements.com
You will be asked once again to save the build.
Ignore it by clicking Cancel.
39
www.inertialelements.com
Note 0 Errors
Ignore Warnings
40
www.inertialelements.com
This is also worth your attention
41
www.inertialelements.com
42
1. Connect AVR Dragon with your computer
2. Connect MIMU22BT / MIMU22BTP with AVR Dragon using JTAG cable.
JTAG Cable
www.inertialelements.com
AVR Dragon
Note: Power switch must be switched ON.
MIMU22BT / MIMU22BTP
Note that black
wire (GND) is
on your right.
Note JTAG
connector’s
position
Note JTAG connector’s Position
(details in the following slide)
Programming MIMU22BT / MIMU22BTP
43
Note the orientation
Note JTAG
connector’s
Position
Details of Connectors on AVR Dragon
www.inertialelements.com
1. Click on Tools
2. Click on Device Programming
44
www.inertialelements.com
1. Select
AVR
Dragon
2. Select AT32UC3C2512C
from the dropdown menu
45
www.inertialelements.com
1. Click here to Read JTAG id
2. Note
46
www.inertialelements.com
1. Click on
Memories
2. Select the .elf file
by clicking here
47
www.inertialelements.com
3. Click here to Open
1. Note the directory path
2. Select .elf
48
www.inertialelements.com
Click here to start programming
Note: Click on ‘Program’ programs MIMU22BT
49
www.inertialelements.com
Programming under progress
50
www.inertialelements.com
Verification under progress
51
www.inertialelements.com
Programming
Successful !
You have successfully
programmed MIMU22BT !
Click here to close the window52www.inertialelements.com
Thank You
53
Email: info@inertialelements.com
R&D Centre: D-201, Type 1, VH Extension, IIT Kanpur, Kanpur (UP), India, PIN – 208016
Committed to Innovate
www.gt-silicon.comwww.inertialelements.com 53
Osmium MIMU22BT / MIMU22BTP
JTAG Programming Cable
54
2-pins JST Connector
10-pins FRC Connector
www.inertialelements.com
55
Pin-out of 10-pins FRC Connector
www.inertialelements.com

Programming Osmium MIMU22BT Using AVR Dragon

  • 1.
    Programming The Osmium MIMU22BT/ MIMU22BTP With AVR Dragon Committed to Innovate © 2016, GT Silicon Pvt Ltd, Kanpur, India Revision 1.3 28 January 2016 www.gt-silicon.comwww.inertialelements.com 1
  • 2.
    2 Revision Revision DateUpdates 1.0 15 Sep 2014 Initial Release of Programming Instruction Manual 1.1 27 Dec 2014 Minor changes in layout; Included details on connectors on AVR Dragon 1.2 14 Sep 2015 Updated with latest JTAG programming cable 1.3 28 Jan 2016 Updated for the firmware source Revision History www.inertialelements.com
  • 3.
    3 Purpose & Scope Thisdocument carries all the necessary instructions, in extremely simple and interactive way, required to program (i.e. update the embedded code of) Osmium MIMU22BT / MIMU22BTP using Atmel Studio 6.2 and AVR Dragon. www.inertialelements.com
  • 4.
    4 Hardware & SoftwareRequirement • 64 bits computer with 4 GB SRAM and Windows 7 OS • Atmel Studio 6.2 installed on computer • AVR Dragon • Osmium MIMU22BT / MIMU22BTP • Osmium MIMU22BT’s JTAG cable www.inertialelements.com
  • 5.
    Osmium MIMU22BT /MIMU22BTP USB Micro B Connector - For USB communication - For powering up & battery charging Power Slide Switch ONOFF JTAG Connector 5 www.inertialelements.com
  • 6.
    3. Click hereto select OpenShoe_runtime_framework 2. Dropdown menu 1. Go to home page of OpenShoe on SourceForge 6 www.inertialelements.com
  • 7.
    Click here toDownload Snapshot 7 www.inertialelements.com
  • 8.
    Save the downloadedzip file in a separate directory 8 www.inertialelements.com [28Jan2016] We recommend downloading the zip folder from our website inertialelements.com  Support Resources
  • 9.
    1. Dropdown menu 2.Click here to select Navitation_algorithms 9 www.inertialelements.com
  • 10.
    Click here toDownload Snapshot 10 www.inertialelements.com
  • 11.
    Save the downloadedzip file in the same Directory where the earlier one is saved 11 www.inertialelements.com [28Jan2016] We now recommend downloading the zip folder from our website inertialelements.com  Support Resources
  • 12.
    Extract from zipfiles (You may change folders’ names) 12 www.inertialelements.com
  • 13.
    Open Atmel Studio6.1 13 www.inertialelements.com
  • 14.
    This is howAtmel Studio appears on opening 14 www.inertialelements.com
  • 15.
    Click here toopen Project/Solution 15 www.inertialelements.com
  • 16.
    Go to folderopenshoe_algorithms* 16 www.inertialelements.com
  • 17.
    1. Select Navigation_algorithms 2.Click here to Open 17 www.inertialelements.com
  • 18.
  • 19.
    Click here toselect Existing project Select & right click on Solution ‘Navigation _algorithms’ 2. Click here to add project 19 www.inertialelements.com
  • 20.
    1. Go tothis openshoe-framework* 2. Click here to Open 20 www.inertialelements.com
  • 21.
    1. Select OpenShoe_runtime_framework 2.Click here to Open 21 www.inertialelements.com
  • 22.
    The project (OpenShoe_runtime_framework) will appearin the right window pane 22 www.inertialelements.com
  • 23.
    2. Click hereto edit Properties 1. Select OpenShoe_runtime_framework and right click 23 www.inertialelements.com
  • 24.
    3. Select thispath 4. Click here to edit path 1. Select Toolchain 2. Select Directories 24 www.inertialelements.com
  • 25.
    Click here toupdate path 25 www.inertialelements.com
  • 26.
    2. Select thisfolder 1. Go to this folder (src) 26 www.inertialelements.com
  • 27.
    2. Click toconfirm 1. Note the updated path 27 www.inertialelements.com
  • 28.
    3 Click hereto edit path 1. Click here to select Libraries 2. Click here to select path 28 www.inertialelements.com
  • 29.
    Click here toupdate path 29 www.inertialelements.com
  • 30.
    2. Select thisfolder 1. Go to this folder (Debug) 30 www.inertialelements.com
  • 31.
    2. Click toconfirm 1. Note the updated path 31 www.inertialelements.com
  • 32.
    Don’t forget tosave ! 32 www.inertialelements.com
  • 33.
    Now include calibrationfile 3. Click here to add 1. Select & right click Config 2. Select to Add 33 www.inertialelements.com
  • 34.
    Note: Name ofthe file must be user_calibration_MIMU22BT.h 2. Click here 1. Select calibration file from appropriate location 34 www.inertialelements.com
  • 35.
  • 36.
    Select & rightclick OpenShoe_runtime_framework 2. Click here to build 36 www.inertialelements.com
  • 37.
    You will beasked to save the build. Ignore it by clicking Cancel. 37 www.inertialelements.com
  • 38.
    1. Note thison completion of build. 3. Click here to build complete solution 38 2. Ignore this particular error at this stage. www.inertialelements.com
  • 39.
    You will beasked once again to save the build. Ignore it by clicking Cancel. 39 www.inertialelements.com
  • 40.
    Note 0 Errors IgnoreWarnings 40 www.inertialelements.com
  • 41.
    This is alsoworth your attention 41 www.inertialelements.com
  • 42.
    42 1. Connect AVRDragon with your computer 2. Connect MIMU22BT / MIMU22BTP with AVR Dragon using JTAG cable. JTAG Cable www.inertialelements.com AVR Dragon Note: Power switch must be switched ON. MIMU22BT / MIMU22BTP Note that black wire (GND) is on your right. Note JTAG connector’s position Note JTAG connector’s Position (details in the following slide) Programming MIMU22BT / MIMU22BTP
  • 43.
    43 Note the orientation NoteJTAG connector’s Position Details of Connectors on AVR Dragon www.inertialelements.com
  • 44.
    1. Click onTools 2. Click on Device Programming 44 www.inertialelements.com
  • 45.
    1. Select AVR Dragon 2. SelectAT32UC3C2512C from the dropdown menu 45 www.inertialelements.com
  • 46.
    1. Click hereto Read JTAG id 2. Note 46 www.inertialelements.com
  • 47.
    1. Click on Memories 2.Select the .elf file by clicking here 47 www.inertialelements.com
  • 48.
    3. Click hereto Open 1. Note the directory path 2. Select .elf 48 www.inertialelements.com
  • 49.
    Click here tostart programming Note: Click on ‘Program’ programs MIMU22BT 49 www.inertialelements.com
  • 50.
  • 51.
  • 52.
    Programming Successful ! You havesuccessfully programmed MIMU22BT ! Click here to close the window52www.inertialelements.com
  • 53.
    Thank You 53 Email: info@inertialelements.com R&DCentre: D-201, Type 1, VH Extension, IIT Kanpur, Kanpur (UP), India, PIN – 208016 Committed to Innovate www.gt-silicon.comwww.inertialelements.com 53
  • 54.
    Osmium MIMU22BT /MIMU22BTP JTAG Programming Cable 54 2-pins JST Connector 10-pins FRC Connector www.inertialelements.com
  • 55.
    55 Pin-out of 10-pinsFRC Connector www.inertialelements.com