Search found 20 matches

by edisn
29 Mar 2011, 10:29
Forum: Mindstorms Software
Topic: Howto Download from IAR using USB?
Replies: 4
Views: 5862

Re: Howto Download from IAR using USB?

For my projekt it will be the better choice to download manually,
because in my actual Firmware i have cut the whole Communication and Command Part,
so i have to sendthe NXT to downloadmode manually.
by edisn
25 Mar 2011, 08:03
Forum: Mindstorms Software
Topic: Howto Download from IAR using USB?
Replies: 4
Views: 5862

Re: Howto Download from IAR using USB?

Sems like i am worse in EMB-SYS programming than i ever thought. How do i configure the tool to get a .a79 File? >> OK, Found it: Changing Project to "BIN OUTPUT" +change some of the include and lib Paths << >> because for some reason the automatic with $Value (like $PROJ_DIR$\..\Include\)...
by edisn
24 Mar 2011, 09:13
Forum: Mindstorms Software
Topic: Howto Download from IAR using USB?
Replies: 4
Views: 5862

Howto Download from IAR using USB?

At the moment i am searching a way to download a Programm to the NXT from the IAR Tool. (Provided at: http://www.iar.com/website1/1.0.1.0/1483/1/) At the moment I am working with the NXTGCC Project, but the IAR Compiler is said to produce better Code for the Processors. The original Communication dr...
by edisn
24 Mar 2011, 09:05
Forum: Mindstorms Software
Topic: Compile C++ files For Firmware?
Replies: 5
Views: 7743

Re: Compile C++ files For Firmware?

The Most interesting point at the time is:
>If someone can download a firmware from the IAR-chain (Downloaded fropm IAR-Webside, Lego-Version for free!).

But i think i Will start a new Thread on this!
(With a more Apropriate name)
by edisn
13 Mar 2011, 15:37
Forum: Mindstorms Software
Topic: Compile C++ files For Firmware?
Replies: 5
Views: 7743

Re: Compile C++ files For Firmware?

I have found a way to use classes with virtual finctions using NXTGCC: 0) Dont forget to change the Legodownloaddir. 1) Write .cpp and .h using the clases intern, and linket to the outside by a function to be called. The hesder must include C-linkage like deskribed in my last post: #ifdef __cplusplu...
by edisn
11 Mar 2011, 14:43
Forum: Mindstorms Software
Topic: Compile C++ files For Firmware?
Replies: 5
Views: 7743

Re: Compile C++ files For Firmware?

OK, i have found how to compile a c++ file: I just neded to change the Headerfile to: #ifdef __cplusplus extern "C" { #endif void function(void); #ifdef __cplusplus } #endif but now I am searching for a way to use "virtual" functions in a class. (normal functions work fine, but i...
by edisn
11 Mar 2011, 10:42
Forum: Mindstorms Software
Topic: Compile C++ files For Firmware?
Replies: 5
Views: 7743

Compile C++ files For Firmware?

Ok, i am stil trying to use NXTGCC, ... But here is a problem which i encounterd on another part: I compile using an Arm elf compiler, in the eclipse environment. The compilation from .c/.cpp files to .o works fine. But the linkung step (generate .elf file) everytime says that it dont find the funct...
by edisn
09 Mar 2011, 16:19
Forum: Mindstorms Software
Topic: Problems Using NXTGCC
Replies: 17
Views: 17571

Re: Problems Using NXTGCC

Another Question to the Use OF NXTGCC, and Eclipse make Files... NXTGCC has a posibility to include .cpp sourcefiles, i have tryed to include one, but if i call a function i have definet in it, th compiler says doething like umknown element, and there is no objectfile for the cpp data. Do someone kn...
by edisn
05 Mar 2011, 10:25
Forum: Mindstorms Software
Topic: Information on how to write firmware
Replies: 7
Views: 9239

Re: Information on how to write firmware

This Links May Help You: Lego Webside (Has a version of the Firmware code and sone descriptions on the Comands the firmware can interpret "Executable File Specification".) http://mindstorms.lego.com/en-us/support/files/default.aspx Some Thechnical Drawings and the comunication specificatio...
by edisn
02 Mar 2011, 09:26
Forum: Mindstorms Software
Topic: Information on how to write firmware
Replies: 7
Views: 9239

Re: Information on how to write firmware

I havent found any real help on how to write firmware til now. But since i have sen some Hardware related things in some Blogs (like "Greysale Images"), i want to post a own question here (since it fits much beter than in my Blog): Does someone Know where to get informations about the inte...