User Tools

Site Tools


de:doc:dev_setupfirmware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
de:doc:dev_setupfirmware [2014/09/03 21:26] wsauerde:doc:dev_setupfirmware [2014/09/13 22:31] (current) wsauer
Line 47: Line 47:
 ==== Installationsprozedur von Sourcery G++ Lite Edition für ARM EABI ==== ==== Installationsprozedur von Sourcery G++ Lite Edition für ARM EABI ====
  
-  - Starte den Webbrowser (z.B. Firefox von KDE => All Applications => Internet) und wähle Sourcery CodeBench Lite Edition für ARM EABI – ARM Crosscompiler \\ Lade die letzte Sourcery G++ Lite Version und NICHT irgendeine “CodeBench” Version, z.B.: \\ Release Date 2011-05-02 - Sourcery G++ Lite 2011.03-42 \\ https://sourcery.mentor.com/GNUToolchain/release1802 \\ Release Date 2010-11-10 - Sourcery G++ Lite 2010.09-51 \\ https://sourcery.mentor.com/GNUToolchain/release1592 \\ **Hinweis:** \\ Nutze nicht eine neuere Version CodeBench weil sie nicht nach einfacher Installation direkt funktioniert, z.B.: \\ Release Date 2013-05-07 - Sourcery CodeBench Lite 2013.05-23 \\ https://sourcery.mentor.com/GNUToolchain/release2449 \\ Release Date 2011-12-19 - Sourcery CodeBench Lite 2011.09-69 \\ https://sourcery.mentor.com/GNUToolchain/release2032 \\ **Hint:** \\ Target OS... \\ EABI => IA32 GNU/Linux Installer \\ ... und NICHT... \\ GNU/Linux +  - Starte den Webbrowser (z.B. Firefox von KDE => All Applications => Internet) und wähle Sourcery CodeBench Lite Edition für ARM EABI – ARM Crosscompiler \\ Lade die letzte Sourcery G++ Lite Version und NICHT irgendeine “CodeBench” Version, z.B.: \\ Release Date 2011-05-02 - Sourcery G++ Lite 2011.03-42 \\ https://sourcery.mentor.com/GNUToolchain/release1802 \\ Release Date 2010-11-10 - Sourcery G++ Lite 2010.09-51 \\ https://sourcery.mentor.com/GNUToolchain/release1592 \\ **Hinweis:** \\ Nutze nicht eine neuere Version CodeBench weil sie nicht nach einfacher Installation direkt funktioniert, z.B.: \\ Release Date 2013-05-07 - Sourcery CodeBench Lite 2013.05-23 \\ https://sourcery.mentor.com/GNUToolchain/release2449 \\ Release Date 2011-12-19 - Sourcery CodeBench Lite 2011.09-69 \\ https://sourcery.mentor.com/GNUToolchain/release2032 \\ **Hinweis:** \\ Target OS... \\ EABI => IA32 GNU/Linux Installer \\ ... und NICHT... \\ GNU/Linux 
-  - Install Sourcery CodeBench Lite Edition for ARM EABI by start Terminal \\ KDE => All applications => System => Terminal \\ ''<hostname>:~$ cd Downloads/'' \\ ''<hostname>:~/Downloads$ chmod 755 arm-2011.03-42-arm-none-eabi.bin'' \\ ''<hostname>:~/Downloads$ sudo dpkg-reconfigure –plow dash'' \\ Configuring dash => Select “No” \\ ''<hostname>:~/Downloads$ sudo ./arm-2011.03-42-arm-none-eabi.bin'' \\ {{ :doc:dev_vm_p19.png?300 |}} \\ Installation procedure: \\ Select… \\ “Next” => \\ “I accecpt the terms of the Licencse Agreement” => “Next” => \\ “Next” => \\ “Minimal” => “Next” => \\ “Choose Install Folder” => change prefix folder to “/opt/CodeSourcery/Sourcery_G++_Lite“ => “Next” => \\ “Modify PATH for current user” => “Next” => \\ “Choose Link Folder” => change prefix folder to “/opt/CodeSourcery/Sourcery_G++_Lite“ => “Next” => \\ “Install” \\ Select “Next” => “Next” \\ {{ :doc:dev_vm_p20.png?300 |}} \\ Installer will be closed automatically now+  - Installiere Sourcery CodeBench Lite Edition für ARM EABI durch das Starten des Terminals \\ KDE => All applications => System => Terminal \\ ''<hostname>:~$ cd Downloads/'' \\ ''<hostname>:~/Downloads$ chmod 755 arm-2011.03-42-arm-none-eabi.bin'' \\ ''<hostname>:~/Downloads$ sudo dpkg-reconfigure –plow dash'' \\ Konfiguriere dash => Wähle “No” \\ ''<hostname>:~/Downloads$ sudo ./arm-2011.03-42-arm-none-eabi.bin'' \\ {{ :doc:dev_vm_p19.png?300 |}} \\ Installations Prozedur: \\ Wähle… \\ “Next” => \\ “I accecpt the terms of the Licencse Agreement” => “Next” => \\ “Next” => \\ “Minimal” => “Next” => \\ “Choose Install Folder” => wähle den Präfix Ordner zu “/opt/CodeSourcery/Sourcery_G++_Lite“ => “Next” => \\ “Modify PATH for current user” => “Next” => \\ “Choose Link Folder” => wähle den Präfix Ordner zu “/opt/CodeSourcery/Sourcery_G++_Lite“ => “Next” => \\ “Install” \\ Wähle “Next” => “Next” \\ {{ :doc:dev_vm_p20.png?300 |}} \\ Die Installationsroutine wird sich nun automatisch beenden
-  - Set PATH in home directory ~/.profile \\ ''sudo vi ~/.profile'' \\ ---add at the end of the file--- \\ ''# set PATH so it includes CodeSourcery bin if it exists'' \\ ''if [ -d "/opt/CodeSourcery/Sourcery_G++/bin" ] ; then'' \\ ''PATH="/opt/CodeSourcery/Sourcery_G++/bin:$PATH"'' \\ ''fi'' +  - Setze die Variable PATH im home Directory auf ~/.profile \\ ''sudo vi ~/.profile'' \\ ---füge ans Ende der Datei--- \\ ''# Setze PATH so das das Binary CodeSourcery falls es existierte'' \\ ''if [ -d "/opt/CodeSourcery/Sourcery_G++/bin" ] ; then'' \\ ''PATH="/opt/CodeSourcery/Sourcery_G++/bin:$PATH"'' \\ ''fi'' 
  
-==== Install GNU Arm Eclipse - Manged build extension for GNU ARM Toolchains ====+==== Installiere GNU Arm Eclipse - Manged build extension für GNU ARM Toolchains ====
  
  
 http://gnuarmeclipse.livius.net/blog/ http://gnuarmeclipse.livius.net/blog/
-  - Start Eclipse \\ KDE => All applications => Development => Eclipse +  - Starte Eclipse \\ KDE => All applications => Development => Eclipse 
-  - Add source to Available Software \\ Eclipse menu: Help => Install software \\ Work with: http://gnuarmeclipse.sourceforge.net/updates \\ Press “Add” \\  {{ :doc:dev_vm_p21.png?300 |}} \\ Add Name and Press “OK” \\ Press “Select All” \\ Press “Next” \\ Press “Next” \\ Select “I accept the terms of the license agreement” \\ Press “Finish” \\ “Security Warning” => Press “OK” \\ After installation is finished => “Software Updates” => Press “Yes” => Eclipse will be restarted+  - Füge eine neue Quelle zur verfügbaren Software \\ Eclipse menu: Help => Install software \\ Arbeite mit: http://gnuarmeclipse.sourceforge.net/updates \\ Press “Add” \\  {{ :doc:dev_vm_p21.png?300 |}} \\ Füge Namen hinzu und Drücke “OK” \\ Drücke “Select All” \\ Drücke “Next” \\ Drücke “Next” \\ Wähle “I accept the terms of the license agreement” \\ Drücke “Finish” \\ “Security Warning” => Drücke “OK” \\ Nachdem die Installation abgeschlossen ist => “Software Updates” => Drücke “Yes” => Eclipse wird erneut gestartet
  
  
 ==== Installation “VBoxGuestAdditions.iso” ==== ==== Installation “VBoxGuestAdditions.iso” ====
  
-  - Rechter Mausklick auf das CD Symbol Right mouse click on CD symbol on tray right bottom corner +  - Rechter Mausklick auf das CD Symbol in der rechten Ecke der Ablage 
-  - Mark entry “VBoxGuestAdditions.iso” +  - Markiere den Eintrag “VBoxGuestAdditions.iso” 
-  - Press “Strg-Alt-F1” to leave KDE and start Terminal+  - Drücke “Strg-Alt-F1” um KDE zu verlassen und starte das Terminal
   - ''cd /media/<username>/VBOXADDITIONS_4.2.12_84980$''   - ''cd /media/<username>/VBOXADDITIONS_4.2.12_84980$''
-  - ''sudo ./VBoxLinuxAdditions.run'' \\  {{ :doc:dev_vm_p22.png?300 |}} \\ Restart Virtual machine to use the Guest Additions+  - ''sudo ./VBoxLinuxAdditions.run'' \\  {{ :doc:dev_vm_p22.png?300 |}} \\ Starte erneut die Virtuelle Maschine um die Guest Additions zu nutzen
  
-==== Mount Shared Folder to Host OS (here: Windows) ====+==== Richte den Shared Folder zum Host Betriebssystem (hier: Windows) ein ====
   - ''sudo mount –t vboxsf V_DRIVE /mnt''   - ''sudo mount –t vboxsf V_DRIVE /mnt''
  
-==== Start and Configuration of Eclipse ====+==== Starten und Konfiguration von Eclipse ====
  
-  - Start Eclipse from the KDE-Menu and use/confirm the default workspace directory in your home directory +  - Starte Eclipse vom KDE-Menu und nutze/bestätige das Default Arbeitsverzeichnis in deinem Homeverzeichnis 
-  - Import OOBD firmware project \\ File => Import \\  {{ :doc:dev_vm_p23.png?300 |}} \\ General => Existing Projects into Workspace => Next \\  {{ :doc:dev_vm_p24.png?300 |}} \\ Select Directory where the firmware is located (Hint: SVN checkout) => Finish  \\ After import of project is finished => Right click on project “DXM1_Firmware” => Build Configurations => Set Active => Release_STM32 \\ \\  {{ :doc:dev_vm_p25.png?300 |}} \\ Right click on project “DXM1_Firmware” => Clean Project (before first build process) \\ Right click on project “DXM1_Firmware” => Build Project \\ If firmware is finished successfully you’ll get a result like: \\  {{ :doc:dev_vm_p26.png?300 |}} \\ The “OOBD_Firmware_CRC.bin” file is located here… \\ ''..\trunk\interface\Designs\CORTEX\STM32F103C8_Eclipse_GCC\D2\app\Release_STM32\'' \\ +  - Import OOBD firmware project \\ File => Import \\  {{ :doc:dev_vm_p23.png?300 |}} \\ General => Existing Projects into Workspace => Next \\  {{ :doc:dev_vm_p24.png?300 |}} \\ Wähle das Verzeichnis in dem die Firmware abgelegt ist (Hinweis: SVN checkout) => Finish  \\ Nachdem der Import des Projekt abgeschlossen ist => Rechtsklick auf das Projekt “DXM1_Firmware” => Build Configurations => Set Active => Release_STM32 \\ \\  {{ :doc:dev_vm_p25.png?300 |}} \\ Rechtsklick auf das Projekt “DXM1_Firmware” => Clean Project (vor dem ersten Buildprozess) \\ Rechtsklick auf das Projekt “DXM1_Firmware” => Build Project \\ Wenn die Firmware erfolgreich abgeschlossen wurde erhälst Du ein Ergebnis wie: \\  {{ :doc:dev_vm_p26.png?300 |}} \\ Die “OOBD_Firmware_CRC.bin” liegt hier… \\ ''..\trunk\interface\Designs\CORTEX\STM32F103C8_Eclipse_GCC\D2\app\Release_STM32\'' \\ 
-after the build process is finished.+nachdem der Buildprozess abgeschlossen ist.
  
 ---- ----
  
-===== Off TopicWhat Eclipse files to check in with a new project =====+===== Abseits des Themas:Welche Eclipsedateien mit einem neuen Projekt eingecheckt werden müssen =====
  
  
-A small notecopied from http://digitaldumptruck.jotabout.com/?p=767+Eine kleine Notizkopiert von http://digitaldumptruck.jotabout.com/?p=767
  
-What Eclipse files to check in with a new project +Welche Eclipsedateien mit einem neuen Projekt eingecheckt werden müssen 
-By Michael Portuesi | Published: November 17, 2010+Von Michael Portuesi | Publiziert: November 17, 2010
  
-This info is available elsewhere on the netbut I am including it here because I have to look it up every time and I’m tired of it.+Diese Information ist überall verfügbar im Netzaber ich binde es hier ein weil ich es immer nachschauen muss und ich bin gelangweilt von Diesem...
 Check in Check in
  
     * ''.project''     * ''.project''
     * ''.classpath''     * ''.classpath''
-    * ''.settings'' Check in these files if you wish to share with the rest of the team+    * ''.settings'' Checke diese Dateien ein wenn Du sie mit dem Rest des Teams teilen möchtest
-          * ''.settings/org.eclipse.jdt.ui.prefs'' – it contains the settings for the import ordering +          * ''.settings/org.eclipse.jdt.ui.prefs'' – es enthält die Einstellungen für den Importvorgang 
-          * ''.settings/org.eclipse.jdt.core.prefs'' – it contains the settings for the compiler version+          * ''.settings/org.eclipse.jdt.core.prefs'' – es enthält die Einstellungen für die Compilerversion
  
-Do not check in+Checke nicht ein
  
-    * ''.metadata'' It contains a bunch of state information for your Eclipse workspacewhich is changing all the time.+    * ''.metadata'' Es enthält eine Reihe von Statusinformationen für deinen Eclipse Arbeitsbereichwelcher sich jederzeit ändert.
  
-When setting up the project on the new machine use File > Import … > General > Existing Project Into Workspace.+Wenn das Projekt auf einer neuen Maschine aufgesetzt wird benutze File > Import … > General > Existing Project Into Workspace.
de/doc/dev_setupfirmware.1409772369.txt.gz · Last modified: 2014/09/03 21:26 by wsauer