Bascom 2.0.5.0 released - supports XV-GDM128X64 display modules

Dirk

Administrator
Teammitglied
28. Jan. 2007
4.328
166
63
Mittelhessen, Giessen
Sprachen
  1. ANSI C
  2. C++
  3. C#
  4. Java
  5. Kotlin
  6. Pascal
  7. Assembler
  8. PHP
Hallo BascomAVR-Gemeinde,

die neue Bascom-Version 2.0.5.0 ist veröffentlicht.

Für die beiden Grafikdisplay-Module XV-GDM128X64 und XV-GDM128X64-RGB, die ich hier im Forum bereits vorgestellt habe, ist in dieser Bascom-Version eine neue Library enthalten (XV-GDM128X64.lib).



XV-GDM128X64b.jpg

XV-GDM128X64
(Hier geht es zum Onlineshop: www.mikrocontroller-praxis.de)

XV-GDM128X64_02.jpg

XV-GDM128X64-RGB
(Hier geht es zum Onlineshop: www.mikrocontroller-praxis.de)


Dirk

2.0.5.0

  • simulator tooltip will show alias and constants too. (if compiled with 2050)
  • xmega buffered input and output were not using the buffers.
  • tcpip chip reset time extended to 200 ms.
  • m164P,324P and 644P did not have uart2=5 in the ini file, so UBRRHI was not set.
  • changed help about LIBUSB. Most important : new libusb supports all windows versions including Win7-64 !!!
  • str2digits added, converts a string into an array of numeric digits s="12345" : str2digits s, ar(1) : ar(1) contains number of digits, ar(2) = 5, ar(3)=4, etc.
  • XV-GDM128X64 Graphic Display Library for 128 * 64 from avr-praxis added. See http://mikrocontroller-praxis.de/de/Display/Monochrom-Grafik-FSTN/XV-GDM128X64-RGB.html
  • Arduino bootloader support added. Select 57600 baud and the com port. flash/eeprom is supported, but arduino does not support fuse/lock bytes. Tested with arduino mega and arduino nano v3.
  • STK600 now also works in ISP mode for non xmega/pdi chips. also, the clock frequency was not calculated properly for the stk600.
  • there was no error when assigning too big string constants to strings in subs/function. if you do not specify the size of a parameter, you still will not get an error. declare sub test(s as string * 10) : here the length is defined. this is the maximum allowed length. since you can call a sub from multiple places/subs, you need to define the maximum.
  • TIMER4, TIMER5 supported added to the LOAD statement.
  • m1280/2560/644p,m2561,m1281 did not use the proper register when using START TIMER.
  • xmega 256xxx chips bootloader space was not addressed with the proper page loaded in rampz.
  • dword type added. a dword is a double word and uses 4 bytes just as a long just as like a word, it can not hold/show negative numbers. Notice that this is a first release, some function/statements might not support it. Inform support if there is a problem.
  • at90pwm216 dat file added.
  • when a string is passed with byval, a string with the required length is passed. So when passing "abc" it will pass a string with length of 3. When you alter the string, like adding spaces, you will overwrite the length. There is no way to know how long it can be/become. To override this, you may specify the length of the string in the declaration. normally you declare only the string type : dim test(byval s as string) But an optional length will set the maximum size. dim test(byval s as string * 20) will set the string to a length of 20.
  • local variables may now have the same name as global variables.
  • simulator changed so it requires less cpu time when pauzed
  • charpos() used with an offset of 0 did not work. also new option/parameter added.
  • quote() did append to the end of string.
  • programming xmega 256 chips, programmed the full memory, not the project size.
  • checksumXor() added
  • simulator support added for config base=0
  • xmega printbin did not support printing constants.
  • xmega config print/2/3/4 for RS485 support added.
  • if useing WR pin with LCD in pin mode, the lib lcd4busy_anypin will be used. This lib is based on Luciano's LUC_lcd4busy lib. the lib will be automatically used when using the WR pin, so there is no need to include it. Example : Config Lcdpin = Pin , Db4 = Portb.2 , Db5 = Portb.3 , Db6 = Portb.4 , Db7 = Portb.5 , E = Portb.1 , Rs = Portb.0 , Wr = Portb.6
  • sort added for byte,integer and word arrays
  • modded rnd() so it returns a larger number(a word)
  • $crypt option added to use crypted code, this is an add on, not enabled by default.
  • m8515 prescale value for 64 and up was incorrect.
  • tiny48/88, timer0 configured non existing register. also removed all options that are not present in timer0.
  • tiny24/45/85 Config timer0 = timer , Prescale = 1 , Compare A = Toggle , Clear Timer = 1 would set up portb.3 instead of portb.0
  • simulator supports xmega interrupts.
  • $notransform opion added. while the compiler by default changes code depending on the chip, you might want to get an error. When you set $notransform ON, the compiler will not transform IN into an LDS when needed. You will get an error. Intended for asm programmers.
  • avr-dos changed to xmega.
  • fm24c64_256.lib added for replacing eeprom with ramtron eeprom.
  • glcdEADOGM128x6 , rotate option added by MWS to rotate screen by 180 degrees. use CONFIG parameter ROTATE=180
  • glcdRA6963.lib added for RA6963 chip which replaces the T6963C
  • AVR910/MYAVR MK2 programmer, blockmode support added for quicker programming. Also timeout added to options.
  • $bigstring gave a problem with big dimensioned strings because of the stack frame correction
  • improved stack clean up code, depending on the size different code will be called eliminating the loading of R25 in most cases
  • config BASE will create _BASE constant. Also changed compiler and a number of libs to use the proper base. Code using elemtn (1) was replaced by (_BASE)
  • fixed a bug in glcdEADOGM128x6.lib where big non-TT fonts were not displayed correct.
 
Hallo BascomAVR-Gemeinde,

die neue Bascom-Version 2.0.5.0 ist veröffentlicht.

Für die beiden Grafikdisplay-Module ist in dieser Bascom-Version eine neue Library enthalten (XV-GDM128X64.lib).


Hallo Dirk!

Das sind ja seeeehr gute Neuigkeiten! :D

Dann wird die LIB für die GLCD`s also gleich von BASCOM mitgeliefert?
Das ist natürlich eine feine Sache!

Ein Grund mehr, dass ich gleich mal auf die neue 2.0.5.0 Version updatete......
So ein GLCD habe ich hier ja glücklicher Weise schon liegen. ;)


Danke dir also, für den Hinweis!

Cassio :ciao:
 
Hallo Dirk!

Habe das Update eben mal schnell durchgeführt.......
und der LIB-Manager zeigt mir nun auch den neuen Eintrag an:
BASCOM-2050_XV-GDM-LIB.gif

Damit wird die Ansteuerung ja nun noch einfacher und um das Initialisieren muss ich mir nun auch keine Gedanken mehr machen. :)

Sobald ich Zeit habe, werde ich mal einen Test machen.... und den hier natürlich auch wieder einstellen.


Grüße,
Cassio
 
Hallo Cassio,

dann mal viel Erfolg beim Testen :)

Für alle, die in C programmieren, werde ich sicherlich auch noch ein Include-File für die Displaymodule herausbringen ... so wie es meine Zeit eben zuläßt.

Grüße,
Dirk :ciao:
 

Über uns

  • Makerconnect ist ein Forum, welches wir ausschließlich für einen Gedankenaustausch und als Diskussionsplattform für Interessierte bereitstellen, welche sich privat, durch das Studium oder beruflich mit Mikrocontroller- und Kleinstrechnersystemen beschäftigen wollen oder müssen ;-)
  • Dirk
  • Du bist noch kein Mitglied in unserer freundlichen Community? Werde Teil von uns und registriere dich in unserem Forum.
  •  Registriere dich

User Menu

 Kaffeezeit

  • Wir arbeiten hart daran sicherzustellen, dass unser Forum permanent online und schnell erreichbar ist, unsere Forensoftware auf dem aktuellsten Stand ist und der Server regelmäßig gewartet wird. Auch die Themen Datensicherheit und Datenschutz sind uns wichtig und hier sind wir auch ständig aktiv. Alles in allem, sorgen wir uns darum, dass alles Drumherum stimmt :-)

    Dir gefällt das Forum und unsere Arbeit und du möchtest uns unterstützen? Unterstütze uns durch deine Premium-Mitgliedschaft!
    Wir freuen uns auch über eine Spende für unsere Kaffeekasse :-)
    Vielen Dank! :ciao:


     Spende uns! (Paypal)