284 - Lattice Mico System: How can I compile and link LatticeMICO32 code so that it is position independent?
The code created from the Software Programming Environment (SPE) in LatticeMico System Builder (MSB) is always statically linked. Position independent code (PIC) depends on having an underlying operating system capable of performing relocation operations. The firmware written in SPE is not targeted or managed by an underlying operating system. The only available code relocation feature present in MSB is a simple code deployment function that copies your compiled and linked binary from non-volatile memory to volatile bulk memory locations.
Related Articles
958 - Lattice Mico System: Can user deploy LatticeMico32 code to a non-volatile memory with the JTAG UART active?
Lattice Mico System: The LatticeMico32 Software Project Environment (SPE) provides a framework for interfacing to functions defined in the stdio.h library. Functions like fopen, fread, printf, and fclose are, by default, tied to the JTAG UART. The ...
7009 - LatticeMicoSystem: Why does Lattice Mico System unable to find stdint.h library?
The version of gcc upon which Lattice Mico System is based is gcc 4.3.0 which is too old to include stdint.h. The only workaround is for user to create their own stdint.h file containing the typedefs and macros that the user's code require.
1295 - Lattice Mico System: Does Lattice provide TCP/IP network stack support for the TSMAC and MICO32?
Lattice Mico System: A TCP/IP network stack is not directly included with the TriSpeed MAC IP or Mico32 software. A software-based TCP/IP network stack called lwIP has been used in some Mico32 reference designs. lwIP is a light-weight implementation ...
3337 - Lattice Mico32 System: Can I integrate third party plugins ;like Tortoise Svn with LatticeMico System?
Currently LatticeMico System doesn’t support third party plugins. TortoiseSVN, is a third party plugin tool used with some main tools (such as Eclipse, Microsoft visual studio), but LatticeMico System is customized version of the Eclipse which ...
4419 - Mico System Builder: error occurs while debugging the C code: "Malformed response to offset query, timeout"
Description: While debugging the C code in Mico System Builder, the following error can occur: "Malformed response to offset query, timeout". Solution: To resolve this, users can try changing the TCK Low pulse width delay value under the Hardware ...