Bascom-AVR 2.0.7.7.

Bascom, Wiring és Arduino frissítések, hátterei esetleges hibái
Avatar
Robert
Elektronbűvölő
Hozzászólások: 10191
Csatlakozott: 2005. december 9. péntek, 7:00

Bascom-AVR 2.0.7.7.

Hozzászólás Szerző: Robert »

Megjelent és az UpdateWizard állománnyal letölthető a regisztrált felhasználóknak a Bascom 2.0.7.7 verzió.

Az újdonságok (angolul):

- usb1286.dat file added. usb1286 and usb1287 both have the same chip id.
- waitus was optimized for some case but for a low frequency the accuracy became less, so this has been adjusted.
- using rnd() in a sub/function with config submode=new, would raise an error.
- setting a bit in a single failed.
- updated the MMCSD_HC.LIB. Some cards do require CS to be deselected. Add a const named SHIELD to your code when using W5200
shield.
For a proper designed MMC/SD interface you do not need to add anything.
- attiny1634.dat used wrong names for uart.
- user contributed lib added for ATMEGA128, PORTF, 1wire. PORTF is not grouped on this chip but split.
The special lib named "M128-1wire-PortF.Lib" is only intended for the M128 PORTF !
- CANRECEIVE support for strings introduced an error when CANRCEIVE is used with PORT variable or registers.
- added framecheck.bas sample for $framecheck, also optimized memory routines.
- MAK3 updated the XMEGA and Newbies topics in the help.
- mid() statement enhanced. a length check has been added to prevent overwriting too short strings.
- using xor like : If output_1 = 1 Xor output_2 = 1 Then , resulted in an error message.
- mid() statement (not the function), when writing shorter data, the string would be terminated with a 0-byte.
Buf = "1234567890123456789012345678901234567890" : MID(Buf,1,4) = "abc". In this sample 4 is specified but the actual new string is only
3 characters.
- $loadersize is taken into account when reporting the free flash space
- attiny43U dat file added.
- when using instr() with $bigstrings, and with the optional start value specified (instr(start,string,search)) register R25 was not set.
- programmers stk500, usbasp, jtag, mkII did not gave a warning when a different chip was detected. the chip was not programmed but there was
no warning message.
- M1280/M2560 and other processors with MUX5 bit : getadc() when used with the optional parameter will write to ADLAR for some values.
Use the channel instead. You can combine the channel and offset when not using the optional offset.
Thus Getadc(32) will read ADC8 in single ended mode.
- vaprtr() used with CONST did not work for internal registers : const abc=varptr(portG)
- added missing pinout files.
- the supplied bigstring.lbx was not the right one
- memcopy() function does not return correct amount of copied bytes when a local variable is used.
- added user modified/supplied lib for dipslay (NHD-C12832A1Z-FSW-FBW-3V3) on the Xmega-A3BU board
- attiny4313 : corrected bit name for pcint2. also added alias pcint0,pcint1 and pcint2
- m324A dat file added.
- xmega wdt_ctrl register was not properly initialized at startup.
- toggle on a local variable toggled the whole byte, not just the bit.
- xmega384C3 added.
- LAC, LAT, LAS and XCH mnemonics added to assembler. These are xmega commands found in some new models.
- BREAK statement added,this will generate a BREAK instruction for the debugger.
- x10receive() function added.
- m164PAdef.dat added.
- M169Pdef.dat and M169PAdef.dat added.
- AVR-DOS did not support dword variables with PRINT #file.
- optional LPT driver did not install correct on win7-64 bit.
- $bootvector directive added : will add the interrupt vector table to the boot loader area.
- when using ON value label, using a hardware register would load a word value(the next following register).
- assembler : lpm,elpm, muls, fmul,fmuls,mulsu,movw,lpm,elpm check added for proper register usage.
- $version will create 3 internal constants : _VERSION_MAJOR , _VERSION_MINOR and _VERSION_BUILD
- cpeek() will give a range error when an invalid address is used (>&HFFFF)
- cpeekh(adr) without out the explicit page parameter will load from the specified address. Thus calculating and loading of RAMPZ is handled
automatic.
- increased accuracy of WAITUS when used with a variable
- M6450P support added.
- xmega base address added for UART/SPI since the E-series uses different addresses.
- Config Xpin added for plain AVR. Syntax : Config Xpin = Portc|portc.0 , Outpull = Pullup|OFF
The reason is that some AVR have a dedicated PUEx register to set the pull up.
- CONFIG INTVECTORSELECTION added to select interrupt vector. See also $bootvector
- config graphlcd changed the whole data direction of the control port.
- config OSC extended with : PLLSOURCE[rc2mhz,rc32mhz,extclock], PLLDIV2[enabled,disabled], PLLMUL[1-32]

- Search dialog, auto complete can be turned on / off.
- new samples for ramtron libs overriding internal EEPROM
- tiny167/tiny87 LIN-UART mode supported. See attiny167.bas sample from the SAMPLES folder.
- baud rate calculation takes double baud switch into account(when processor supports it)
- the first uart also supports $timeout in buffered mode.
- config input now supports all uarts
- INPUT supports $bigstrings, thus allowing more than 255 characters to be read.
- IDE has shortcut button to the MCS wiki.
- windows can be vertically arranged.
- split editor window can be changed from horizontal to vertical
- xmega16E5 and xmega32E5 added. some hardware like new timers/edma is unsupported by CONFIG
- dat file load the PDF from mcselec.com. previous they were downloaded from atmel but since atmel keeps changing locations and file names
they are now store on mcselec.com. We also store files atmel no longer offers.
All files are kept up to date by mcs support.
- bin() used on a double byte hardware register would return the wrong value in some cases.
this was caused by the wrong reading order of the bytes. as a work around you can read a word HW register into a temp word variable.

- proper indent option added to reformat code with proper indention.

- ON Interrupt can now use a sub too instead of a label.
- M64M1.dat file added.
- cursor statement changed. use both on|off and blink|noblink
- xmega8E5 and M169A added.
- $reduceivr will use a small as possible interrupt vector table. Use only when your project is working and test for side effects. (no help available
yet)
Avatar
Robert
Elektronbűvölő
Hozzászólások: 10191
Csatlakozott: 2005. december 9. péntek, 7:00

Re: Bascom-AVR 2.0.7.7.

Hozzászólás Szerző: Robert »

A Bascom már az új felületet használja.

Pár új funkció is megtalálható:
- CodeExplorer a belső mindenféle változók/regiszterek kezelésére,
- függőleges ablakosztás,
- Projektkezelés
- pdf-ek letöltéskezelése (2.0.7.6-ban kezdődött)
Nincs meg a kellő jogosultságod a hozzászóláshoz csatolt állományok megtekintéséhez.
znoopy
Újonc
Újonc
Hozzászólások: 1
Csatlakozott: 2015. július 9. csütörtök, 13:37

Re: Bascom-AVR 2.0.7.7.

Hozzászólás Szerző: znoopy »

köszi a megosztást
Válasz küldése