Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - FAQ - Zum CC1-Forum - Zum CC-Pro-Forum

Wichtig: Bevor Du wegen einem Problem mit der CC2 postest, stelle sicher, daß Du
die neueste OS-Version, die neuseste Compiler-DLL und die neuesten Modulversionen benutzt!
Beachte, daß sich auf der CD zur CC2-Unit/Station auch jetzt noch die ältesten Dateien befinden!
Es gelten folgende Anleitung und Regeln: Regeln CC2Net.de-Forum
Zurück zum Artikel  (Blaue Felder sind Pflichtfelder)


Name:   UserID: 
 E-Mail:
Kategorie
Betreff
Homepage:
Link-Titel:
Link-URL:
Cookie für Name, UserID, E-Mail, Homepage-URL setzen
(Erspart die Neueingabe bei Beiträgen und Antworten)
(Zum Löschen des Cookies hier klicken)
Ich nutze:
C-Control II Unit
C164CI-Controllerboard
C-Control II Station
CCRP5 mit CC2-Unit (Conrad Roboter)
CC2-Application-Board
CC2-StarterBoard
CC2-ReglerBoard
eigenes Board
original OS     OSOPT_V2     OSOPT V3.0 OSOPT V3.1

Kommentar:
Einfügen von HTML im Kommentar:

Link einfügen: <a href="LINKURL" target="_blank">LINKTITEL</a>
Bild einfügen: <img src="BILDURL">
Text formatieren: <b>fetter Text</b>  <i>kursiver Text</i> <u>unterstrichener Text</u>
Kombinationen sind auch möglich z.B.: <b><i>fetter & kursiver Text</i></b>
C2 Quellcode formatieren: <code>Quellcode</code>
ASM Quellcode formatieren: <asm>Quellcode</asm>
(Innerhalb eines Quellcodeabschnitts ist kein html möglich.)
Wichtig: Bitte mache Zeilenumbrüche, bevor Du am rechten Rand des Eingabefeldes ankommst !  

> For all of you who want to program the C-Control II in C, on the site of Hightec (www.hightec-rt.com) you can download a free Gnu C-compiler package for the C16x. This compiler is not crippled like the Tasking compiler on the Conrad CD. It generates code for the large memory model needed if you want to work with more than one segment. However, no C libray is supplied for the large memory model. This is not a big problem since you can write your own library functions ( I&#39;ve already written string manipulation functions and 32-bit divide functions). > > I&#39;ve converted my application from C2 to C and the speed difference is HUGE. The C-code is loaded in segment 3 and called from a C2 dummy progam. I&#39;ve rewritten the C2 functions I needed in C. The following C2 functions are available: > > - I2C access (output only for the moment), > - Internal LCD, > - ADC converters, > - Digital I/O, > - PLM outputs, > - Beep, > - Serial port (output only for the moment), > - 1 ms timer. > > Still to to: > - Add interrupt support, > - rewrite all C2 library functions to C, > - floating point routines (if needed), > - Adapt (replace) the OS to use more (all) segments for c-code. > > Please note there are a few drawbacks: no multi tasking (-yet-) and you need to be familiar with C and makefiles. So if you don&#39;t need (much) more speed you might want to stick with the C2 language. But I you need the full speed of the C164 with using assembly code thismight be very useful. > > Maybe Andre H. can reserve some room on this site to collect new functions for use with > the C-compiler. If there any interrest I can mail the files (makefile & .bat file) I use to this forum.
Dateianhang: (.gif, .png., .jpg, .zip, .rar)
max. 256kB
max. 256kB