Disponibile la versione 2.0.7.7 di Bascom-AVR

Sezione dedicata al sistema di sviluppo BASCOM-AVR per i micro AVR
At90s, Attiny, Atmega e Xmega

Disponibile la versione 2.0.7.7 di Bascom-AVR

Postby deluca » 31 Jan 2014, 18:36

ecco gli aggiornamenti:

Code: Select all
2.0.7.7 public release
- special tool tip added. When SHIFT is pressed and the cursor is moved over a variable/constant it will show information. But only when code explorer is visible.         
- attiny441 and attiny841 dat files added. Not test with a sample chip yet.         
- Base64dec and Base64enc depended on tcpip.lbx which would give an error for the w5100/5200 and 5300         
- tiny828 dat file added            
- xmega com5-com8 did not support RS-485.            
- START DMACHx start will now wait till the DMA channel is ready before the DMA channel is started.            
- missing bit defs added to m32m1 and m64m1            
- SHIFTIN range check (when number of bits is specified) did not took arrays into account.            
- added pulsein.lib which has option for custom timeout and variable input delay.            
- background RC5 received : When you include a CONST=_RC5_TOGGLE=1 you get the toggle bit in the address byte.5            
- MOD on DWORDS gave a wrong result because a signed MOD for LONGs was used.            
  ###########################################################################
- CRC32 returned the data in the reversed order.
  This has been corrected BUT it will have impact on your code. In mcs.lib you will find the old code.
  You move this to a lib and use that for compatibility.             
  ###########################################################################
- m165Adef.dat added            
- plain AVR : disable JTAG fixed so it will set the JTD bit.            
- multi 1wire bus with xmega 1wwrite failed.            
- setting a bit in an array failed in 2077 beta build 1.            
- SEROUT works with internal pull up. By defining a constant named SEROUT_EXTPULL there is no internal pullup.            
- glcdKS108.lib updated to support higher clock frequencies.            
- xmega twi slave support added to i2c addon            
- added xmega twi sample.            
- added option to draw indention lines for easy visual grouping of structures.            
- CONFIG ACx1 , OUTPUT option will set AC1OUT, providing the xmega has this option bit.            
- Config OSC will wait till all activated oscillators are ready.            
- CONFIG DCF77 has a new option : DCFPULSE with a default value of 150.            
- config graphlcd has a new setting for custom libs : config graphlcd=custom, cols=x,rows=x,kind=z,lcdname="somename"            
- config usi=twislave added for i2cslave addon            
- spimove() has optional parameter to specify the amount of bytes.            
- for baud rate calculation the double speed mode is used when possible.            
- new alternative soft i2c master lib added i2cv2.lib. this is an improved library.            
- editor has an option to remove blank lines when pasting from the clipboard.       
- toggle a bit on a passed parameter in a sub did not work
- case (select case) can accept multiple lines now, delimited by :


- 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)

 
Ciao
Il mio sito: http://www.delucagiovanni.com ......e la chat: chat/
User avatar
deluca
Site Admin
 
Posts: 1104
Joined: 19 Jun 2011, 10:44
Location: 95123 - Catania (Italy)

Return to BASCOM-AVR

Who is online

Users browsing this forum: No registered users and 21 guests

cron