Difference between revisions of "Nn embedded work"

From Wiki at Neela Nurseries
Jump to: navigation, search
m (^ Project Options)
m (^ Sensirion Sensors)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
  
  
== [[#top|^]] IAR Workbench Project Renaming ==
+
== IAR ==
 +
 
 +
=== [[#top|^]] IAR Workbench Project Renaming ===
  
 
Looks like workspace and project renaming may not be supported by the development environment itself . . .
 
Looks like workspace and project renaming may not be supported by the development environment itself . . .
Line 19: Line 21:
 
<!-- comment -->
 
<!-- comment -->
  
== [[#top|^]] Project Options ==
+
=== [[#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:
 
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:
Line 57: Line 59:
 
</pre>
 
</pre>
  
AP's example code has:
+
 
 +
=== [[#top|^]] IARWB project settings ===
 +
 
 +
AP's example code project has among its target controller and flash programming settings:
 
<ul>
 
<ul>
 
under General Options -> Target -> [*] Device set to "NXP LPC1114FBD48_302".<br />
 
under General Options -> Target -> [*] Device set to "NXP LPC1114FBD48_302".<br />
Line 63: Line 68:
 
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 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".<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>
 
</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 -->
 +
 +
 +
 +
== [[#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
 +
  
  

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 - - -