Difference between revisions of "Nn embedded work"

From Wiki at Neela Nurseries
Jump to: navigation, search
m
m (^ Sensirion Sensors)
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
  
  
IAR Workbench
+
== IAR ==
 +
 
 +
=== [[#top|^]] IAR Workbench Project Renaming ===
 +
 
 +
Looks like workspace and project renaming may not be supported by the development environment itself . . .
  
 
*  https://renesasrulz.com/synergy/f/synergy---forum/8275/move-iar-project-to-another-computer-files-to-save-in-version-control
 
*  https://renesasrulz.com/synergy/f/synergy---forum/8275/move-iar-project-to-another-computer-files-to-save-in-version-control
Line 14: Line 18:
 
*  https://stackoverflow.com/questions/22020845/renaming-in-iar-embedded-work-bench
 
*  https://stackoverflow.com/questions/22020845/renaming-in-iar-embedded-work-bench
  
 +
 +
<!-- comment -->
 +
 +
=== [[#top|^]] Project Options ===
 +
 +
Right clicking on project name in left pane tree navigator, an IAR pop-up menu appears whose first item is named 'Options'.  Click on this to open a detailed dialog with a text list of some ___ (thirty?) configuration areas.  Each configuration area then to the right in this dialog box has a tabbed widget with each tab opening up to specific optiond and settings.  General configuration "areas" include:
 +
 +
<ul>
 +
<pre>
 +
General Options
 +
Statis Analysis
 +
Runtime Checking
 +
  C/C++ Compiler
 +
  Assembler
 +
  Output Converter
 +
  Custom Build
 +
  Linker
 +
  Debugger
 +
    Simulator
 +
    CADI
 +
    CMSIS DAP
 +
    GDB Server
 +
    I-jet/JTAGjet
 +
    J-Link/J-Trace
 +
    TI Stellaris
 +
    Nu-Link
 +
    PE micro
 +
    ST-LINK
 +
    Third-Party Driver
 +
    TI MSP-FET
 +
    TI XDS
 +
</pre>
 +
</ul>
 +
 +
Under 'General Options' there are tabs:
 +
 +
<pre>
 +
  Library Options 2        MISRA-C:2004        MISRA-C:1998
 +
  Target    Output    Library Configuration    Library Options 1
 +
</pre>
 +
 +
 +
=== [[#top|^]] IARWB project settings ===
 +
 +
AP's example code project has among its target controller and flash programming settings:
 +
<ul>
 +
under General Options -> Target -> [*] Device set to "NXP LPC1114FBD48_302".<br />
 +
 +
under C/C++ Compiler -> Language 1, Language set to 'C', C dialect set to 'C11', Language conformance set to [*] Standard with IAR extensions<br />
 +
 +
under Debugger, tabs 'Setup' and 'Download' express important settings.  One of these is 'Device description file' which has a box checked to "Override default" with the file located at "$TOOLKIT_DIR$\CONFIG\debugger\NXP\LPC1114FBD48_302.ddf".  Note:  downloading utility expressed on this config area's next tab named 'Download'.<br />
 +
 +
</ul>
 +
 +
 +
Category 'Debugger' -> tab 'Download' -> checkbox 'Use flash loader(s)' -> child checkbox 'Override default .board file' holds the text string:
 +
 +
$TOOLKIT_DIR$\config\flashloader\NXP\FlashNXPLPC32K_CortexL.board
  
  
 
<!-- comment -->
 
<!-- comment -->
 +
 +
 +
 +
== [[#top|^]] Sensirion Sensors ==
 +
 +
*  https://cdn.sparkfun.com/assets/d/c/0/7/2/SCD30_Interface_Description.pdf
 +
 +
 +
 +
<!-- comment -->
 +
 +
== [[#top|^]] References ==
 +
 +
https://www.iar.com/contentassets/554f673197f74bfa9059dd4094d61bee/how-to-link-several-bin-files-and-flash-them.pdf IAR link several files and flash program
 +
 +
 +
 +
<!-- comment -->
 +
 +
<center>
 +
[[#top|- - - top of page - - -]]
 +
</center>
 +
 +
<!-- EOF -->

Latest revision as of 21:18, 29 April 2020

Embedded Topics
started 2018-11-09


IAR

^ IAR Workbench Project Renaming

Looks like workspace and project renaming may not be supported by the development environment itself . . .


^ Project Options

Right clicking on project name in left pane tree navigator, an IAR pop-up menu appears whose first item is named 'Options'. Click on this to open a detailed dialog with a text list of some ___ (thirty?) configuration areas. Each configuration area then to the right in this dialog box has a tabbed widget with each tab opening up to specific optiond and settings. General configuration "areas" include:

    General Options
    Statis Analysis
    Runtime Checking
      C/C++ Compiler
      Assembler
      Output Converter
      Custom Build
      Linker
      Debugger
        Simulator
        CADI
        CMSIS DAP
        GDB Server
        I-jet/JTAGjet
        J-Link/J-Trace
        TI Stellaris
        Nu-Link
        PE micro
        ST-LINK
        Third-Party Driver
        TI MSP-FET
        TI XDS
    

Under 'General Options' there are tabs:

   Library Options 2        MISRA-C:2004        MISRA-C:1998
   Target     Output     Library Configuration     Library Options 1


^ IARWB project settings

AP's example code project has among its target controller and flash programming settings:

    under General Options -> Target -> [*] Device set to "NXP LPC1114FBD48_302".
    under C/C++ Compiler -> Language 1, Language set to 'C', C dialect set to 'C11', Language conformance set to [*] Standard with IAR extensions
    under Debugger, tabs 'Setup' and 'Download' express important settings. One of these is 'Device description file' which has a box checked to "Override default" with the file located at "$TOOLKIT_DIR$\CONFIG\debugger\NXP\LPC1114FBD48_302.ddf". Note: downloading utility expressed on this config area's next tab named 'Download'.


Category 'Debugger' -> tab 'Download' -> checkbox 'Use flash loader(s)' -> child checkbox 'Override default .board file' holds the text string:

$TOOLKIT_DIR$\config\flashloader\NXP\FlashNXPLPC32K_CortexL.board



^ Sensirion Sensors



^ References

https://www.iar.com/contentassets/554f673197f74bfa9059dd4094d61bee/how-to-link-several-bin-files-and-flash-them.pdf IAR link several files and flash program



- - - top of page - - -