Changes between Version 5 and Version 6 of Hardware/jCM/cCM2/cSoftware


Ignore:
Timestamp:
Jul 23, 2008, 12:51:20 AM (16 years ago)
Author:
Joseph F. Miklojcik III
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Hardware/jCM/cCM2/cSoftware

    v5 v6  
    1313Software used for debugging and internal flash programming is [http://openfacts.berlios.de/index-en.phtml?title=Open_On-Chip_Debugger OpenOCD] (standard Debian package - {{{ apt-get isntall openocd }}} ).
    1414
     15The file openocd.cfg, included in the source repository, has an appropriate configuration for programming the CM2 hardware, although you can experiment with different scripts to automate erasing the flash, verifying the image, and so forth.
     16
    1517=== Cross-compiler ===
    1618
     
    2022}}}
    2123
     24You can also get the latest version of gcc, binutils, and newlib, and compile these as {{{configure --target=arm-elf}}}.  Both the Makefile and the loader know (at least in theory) how to deal with ELF format CM2 images.  In this case tools are prefixed with "arm-elf", so for example an appropriate value for {{{CC}}} in the {{{Makefile}}} would be {{{CC=/usr/local/arm-elf-gcc}}}
     25
     26== newlib ==
     27
     28Routines with entry points referenced by the GCC compiler, such as the ones for integer division, are provided by newlib, a library designed just for this sort of purpose.  Impact on the size of the executeable from newlib is minimized.
     29
    2230== STR71X Library ==
    2331
    24  The ST's firmware library is used for peripheral management.
    25 
     32 The ST's firmware library is used for peripheral management.  We have made light modifications to ensure it works perfectly with GCC or other fully C99 compliant compilers.  The source is included with the rest of the CM2 repository.
    2633
    2734== TCP/IP Library ==
    2835
    29  We are using [http://www.sics.se/~adam/uip/index.php/Main_Page uIP TCP/IP stack] developed by Adam Dunkels.
     36 We are using [http://www.sics.se/~adam/uip/index.php/Main_Page uIP TCP/IP stack] developed by Adam Dunkels.  Significant modifications have been made to the upstream uIP library to get it to support multiple protocols at the application layer.
     37Source to this library is also include in the CM2 source repository.