|
|
Line 1: |
Line 1: |
− | '''Beta version 2079'''
| + | - [[|tiny461]] and [[|tiny861]] only did set pcie0 when you enable the PCINT because there is just one interrupt in the chip. In 2080, both PCIE0 and PCIE1 are enabled/disabled. |
| | | |
− |
| + | - added m48PB, m88PB, 168PB and m328PB dat files. |
| | | |
− | - Support for WS2812 RGB led : [[CONFIG_RAINBOW|CONFIG RAINBOW]]. This is the rainbow lib from Galahat, see : [http://bascom-forum.de/mediawiki/index.php/Rainbow_Lib http://bascom-forum.de/mediawiki/index.php/Rainbow_Lib] | + | - new Rainbow functions : [[RB_COLOR|RB_Color]] and [[RB_COPY|RB_Copy]] added by Galahat |
| | | |
− | - [[SETATTR]] and [[CLEARATTR]] added to AVR-DOS, by Josef. | + | - simulator did not show maximum values of DWORD correct. |
| | | |
− | - shift & rotate left/right did not work for xmega port registers | + | - [[RB_GETCOLOR]] and [[RB_LOOKUPCOLOR]] functions did return false result when index was a variable. |
| | | |
− | - IDE : improved speed for showing deadcode/unused variables | + | - some font problems solved. |
| | | |
− | - IDE : stacktrace speed up. big projects made the stacktrace slow. | + | - simulator could crash for xmega processors. |
| | | |
− | - included FT801 support. See [[CONFIG_FT800|CONFIG FT800]]. Notice that the INC files have been renamed into FT80x | + | - when using non-mono font like Arial, text selection does not work properly. Use a font like CONSOLAS. |
| | | |
− | - fixed attiny261,461 and 861 interrupt entries. this chip has only 1 pcint. | + | - Added option 'Use Monofont' for backwards compatibility |
| | | |
− | - added check when [[$LOADERSIZE|$loadersize]] and [[$BOOT|$boot]] are combined. | + | - Some new atmel PDF files could not be loaded with the PDF viewer. Viewer is rewritten and requires a new DLL named BASPDF.DLL |
| | | |
− | - [[File:file:///D:/TRANSFER/AVRHELPHTML/15062015/HTML/dim.htm|Dim]] supports a list ; dim a,b,c,d as byte. It also supports identifiers like %,#,& and ! | + | - [[GETADC|getadc]]() on m640.m1280/m2560 or any other processor with 6 mux bits did not set mux5 bit for getadc(32) and higher. |
| | | |
− | - Font Editor plugin is replaced by integrated Font Editor: [[Tools_Font_Editor|Tools, Font Editor]] | + | - generic byte [[COMPARE|compare]]() function added, based on code and idea from MWS. (Magic White Smoke) |
| | | |
− | - Sample added for [[I2C_USI_SLAVE|USI Slave lib]] | + | - varexist() did not support ALIAS. |
| | | |
− | - fonts contributed by Adam Siwek included. You can find them in the Samples\LCDgraph\Fonts folder. | + | - XMega64A1-SRAM 4-Port-Sample.bas sample added for setup EBI 4 port on XMega. See also [http://avrhelp.mcselec.com/adding_sram_4_port_non_multipl.htm Adding XRAM to XMEGA using EBI] |
| | | |
− | - [[Program_Show_Result|report]] can be opened in IDE as text file. | + | - when bascom-avr.xml options file exists in the bascom application folder, that option file will be used. |
| | | |
− | - [[MySmartUSB_Light|mySmartUSB light]] programmer support added. | + | - [[FORMAT|format]] is extended to use a variable for the mask. |
| | | |
− | - support added for [[CONFIG_TCPIP|W5500]] tcp/ip chip | + | - [[CONFIG_XPIN|config xpin]] did not support alias for the pin. |
| | | |
− | - W5500 [[SOCKETCONNECT|socketconnect]] has a 4-th parameter : nowait. When you make it 1, there is no wait for connection. | + | - [[BUFSPACE|bufspace]]() did not support UART 5-8 |
| | | |
− | - [[$ROMSTART]] added : $romstart = &H8000 , will let the code start at &H8000. Default is 0. | + | - [[INSERTCHAR]] and [[DELCHAR]] use Z pointer which must be cleared for XMEGA. fixed in mcs.lib |
| | | |
− | - jtag ice mkII programmer new firmware 7.26 from AVR studio resulted in signoff problem. Workaround implemented. | + | - programmer did not fetch correct chip from editor when code was not saved. this would give a chip mismatch. |
| | | |
− | - editor can show unused code in conditional compilation. [[Edit_Show_Excluded_Code|Edit, Show Excluded Code]] menu option. | + | - assigning a negative value to a dword did not throw an error. |
| | | |
− | - usbasp programmer updated. chosen clock frequency will work. | + | - [[View_Code_Explorer|code explorer]] can show estimated stack usage. |
| | | |
− | - makemodbus() did not support locals/passed parameters properly. | + | - higher standard baud rates added to terminal emulator |
| | | |
− | <span style="font-size: 11pt; font-family: Calibri;">- </span>[[CRC16|crc16]] <span style="font-size: 11pt; font-family: Calibri;">can now directly read a range from eeprom memory to calculate a checksum for you. To enable it, just add const CRC16_EEPROM=1 to the beginning of your code.</span>
| + | - added support for EDMA in xmega8/16/32 E5. See [[CONFIG_EDMA|config EDMA]] |
| | | |
− | - simulator fix for xmega low IO registers. registers were simulated with a 32 byte offset as in plain AVR. | + | - [[VERSION|version]]() function did not append to string but would overwrite existing string data. |
| | | |
− | - [[CONFIG_LCD|config lcd ]]has 2 new options : BEFORE and AFTER. with a parameter value of 1 a sub will be called _lcdBefore and _lcdAfter | + | - [[RIGHT|right]]() adds an additional null byte when a numeric constant is used for the number of characters to copy. |
| | | |
− | just before the LCD is used. This allows for example to turn off interrupts when executing LCD code.
| + | - new [[DIM|dim]] option to specify multiple items : dim a,b,c,d as byte failed when using multiple indexed items. |
| | | |
− | Only text LCD is supported.
| + | - all dat files updated with CONFIG information. |
| | | |
− | - [[GETADC|getadc]]() when used on normal AVR with offset parameter, and both parameters numeric will give an error when MUX5 bit must be set. | + | - printing values from multi index variables failed : print index(index1,index2) |
| | | |
− | Use getadc() with just the channel parameter.
| + | - m1284pdef.dat updated with missing TIFR3 register. |
| | | |
− | - multi dim arrays, added ERAM byte support, and used registers are saved now. | + | - more fonts in various sizes from Adam Siwek. |
| | | |
− | - saving programming buffer as HEX file created wrong HEX files which would not load in AVR Studio. This would occur for chips with multiple segments like xmega128 | + | - [[POWER|power()]] function for doubles did not work correct when assigned to a function |
| | | |
− | - Full Kamprog support added. | + | - some new atmel PDF files can not be loaded with the PDF viewer. Viewer is rewritten. |
| | | |
− | - multi dim arrays had no check on invalid index value (non dimmed) | + | - SSD1306 i2c oled driver updated for Xmega. |
| | | |
− | - using a constant float without leading 0 resulted in an error message : var= var + .12344 | + | - m649A and m649P dat files added. |
| | | |
− | - INPUT did not support DWORD. | + | - [[LCDFONT]] prm, added. prm selects the font table (0-3) of a text LCD. |
| | | |
− | - added user definable command buttons to [[Tools_Terminal_Emulator|terminal emulator]]. | + | - [[CONFIG_POWER_REDUCTION|CONFIG POWER_REDUCTION]] set register to 0 in some conditions. Also added LCD and other new Xmega power reduction options. |
| | | |
− | - using {} in constants was not working as expected : Const Cmd_suffix_ver1 = Asc( "{013}") was not interpreted as 13 but 123 (the { sign) | + | - CONFIG OSC extended with calibration register settings and DFLL. |
| | | |
− | - changed [[Tools_PDF_Update|PDF download]] from HTTP to FTP. This is quicker and better for the load of the server. PORT 211 is used for FTP. So you need to have port 211 open on your firewall. | + | - val() for doubles has a bug for XMega >64KB chips |
| | | |
− | - atxmega128c3 added. | + | - added [[FLIP|flip]](byte) function to mirror bits in a byte |
| | | |
− | - [[FT800]], vertex2ii , the X is clipped. Change call in sub vertex2II into Cmd32 _vertex2ii(___wtmpb , R18 , R17 , R16) | + | - xmega128B3 dat file added |
| | | |
− | - support for [[GLCDEADOGMXL240-7-I2C|EADOGXL240-7 I2C]] added, see eadogxl240-7.bas. This is a customer sponsored lib. | + | - [[READSIG|readsig]] also works for normal AVR processors. |
| | | |
− | - added support for [[GLCDdSSD1306-I2C|SSD1306 I2C]] OLED, see SSD1306-I2C.BAS. | + | - inputbin and printbin load 1 element too many with arrays using base 0. |
| | | |
− | - i2c multi bus lib did not clear ERR bit correctly. | + | - [[CONFIG_INPUT|config inputbin]] added to allow reading packets of up to 64 KB |
| | | |
− | - when a multi dim array is only used within sub/functions and submode=new is used, an error was raised since the index table was not written at that stage. | + | - added support for LCD text OLED RS0010 lcd4_anypin_oled_RS0010.lib |
| | | |
− | - multi dim arrays can only be used to read/assign variables. Using them in functions and statements will not work. | + | - [[Getting_Started_-_FT800|FT81x]] support added |
| | | |
− | - [[STR|str]]() can have an optional parameter to specify the amount of digits. This works for double, but now also for singles. | + | - M324PB dat file added. |
| | | |
− | - [[MOD]] for singles changed in fp_trig.lib so it uses the same algorithm as excel/VBA. | + | - [[I2CINIT]] enhanced for multiple TWI |
| | | |
− | - FOR..NEXT with WORD data type and STEP with values other than 1 failed : for w=1 to 10 step 2 | + | - [[I2C_TWI-MULTI.lib]] added to support multiple TWI busses. |
| | | |
− | - when opening a single file in non-project mode, the code explorer does not get updated until you set the cursor on the code. | + | - second SPI on m328PB added : [http://avrhelp.mcselec.com/spi1init_spi1in_spi1out_spi1mo.htm INIT1SPI], SPI1OUT, SPI1MOVE, SPI1IN |
| | | |
− | This also resulted in not updating the pinout viewer.
| + | - user donated library [[LCD_DOGS104A_I2C|I2C DOGS104]] driver, SSD1803A included. |
| | | |
− | - R0-R31 internal variables are now exposed as byte variables. This is simpler than using getreg/setreg. | + | - [[URL2IP]](url) function added to W5100 to do DNS lookup using google DNS server |
| | | |
− | - added option to skip eeprom cell test. This allows to write all FF to the EEPROM whithout erasing the chip. | + | - when defining a const [[WRITEEEPROM|Updateeprom]] , the eeprom will be updated. which means that the value will only be written when it differs |
| | | |
− | - terminal emulator font color could not be selected from the font dialog. | + | - [[BASE64ENC]] and [[BASE64DEC]] can work on byte arrays too. |
− | | + | |
− | - various programmers : added chip name to info panel when chip does not match. no match will result in a red font, a match will show in green.
| + | |
− | | + | |
− | - added an error message when $hwstack,$swstack and $framesize are missing from the source. Also put back compatibility to 2077 when these directives are not specified.
| + | |
− | | + | |
− | - hovering the indention line will show the begin of the structure in the tool tip (just try it).
| + | |
− | | + | |
− | - [[Tools_Terminal_Emulator|Terminal emulator]] has 8 user definable buttons
| + | |
− | | + | |
− | - [[SEROUT]] defaults to CONST SEROUT_EXTPULL=1 to be in Hi-Z mode. In this mode a pull up resistor is required. To use PORT output mode, set the constant to 0 : CONST SEROUT_EXTPULL=0
| + | |
| | | |
| | | |
| | | |
− |
| + | 2017, 2080 release |
| | | |
− | '''2.0.7.8.001 public release'''
| + | - [[SGN]] extended to byte, integer, word, dword and long |
− | | + | |
− |
| + | |
− | | + | |
− | - changing a bit on a passed array inside a sub/function gave a bit index error. | + | |
− | | + | |
− | - while moving all single FP code to fp_trig.lib, some double (but WRONG) functions were moved to the top. It causes various problems.
| + | |
− | | + | |
− | - clear buffer did not reset the RST pin in case CTS/RTS was used.
| + | |
− | | + | |
− | - val()/asc2float contained a bug for converting big values not fitting into the mantissa. The exponent was not increased.
| + | |
− | | + | |
− | - [[ASC|asc]]() can have an additional index parameter : byte=Asc(string|string constant[,index]). Use this instead of asc(mid(
| + | |
− | | + | |
− | - user functions/subs can have a custom color
| + | |
− | | + | |
− | - added support for i2c lcd display RX1602A5. Use : config lcd = 16x2 , chipset = st7032. See sample LCD-RX1602A5.bas
| + | |
− | | + | |
− | - using overlay pointing to a string array resulted in a wrong overlay address.
| + | |
− | | + | |
− | - additional XTEA2.LIB added. This lib complies with the original standard.
| + | |
− | | + | |
− | - Tab order can be changed with drag and drop.
| + | |
− | | + | |
− | - USI master TWI mode added.
| + | |
− | | + | |
− | - when config submode=new was used, the syntax check could give false errors.
| + | |
− | | + | |
− | - mkII programmer would give a warning about chip mismatch when atmel chip ID was the same.
| + | |
− | | + | |
− | - pulsein.lib was missing from distribution.
| + | |
− | | + | |
− | - documented beta switches [[$NOTYPECHECK]], [[$TYPECHECK]] and [[$REDUCEIVR]]
| + | |
− | | + | |
− | - when using a serial boot loader compiled with an older version, and when calling it from code (not after a reset) you need to reset the u2x flag in ucsrxA.
| + | |
− | | + | |
− | Or you can compile both the bootloader and main code with the new version. When you want the old behaviour, you can remark the u2x constant in the dat file.
| + | |
− | | + | |
− | - FLIP programmer will not erase EEPROM anymore.
| + | |
− | | + | |
− | - use ALT key to select blocks of text in the editor.
| + | |
− | | + | |
− | - hint window location fixed for multi monitors systems.
| + | |
− | | + | |
− | - [[RGB8TO16|rgb8to16]]() function added to convert RGB8 to RGB16.
| + | |
− | | + | |
− | - xmega, config OSC : when using external osc, the oscillator ready test was not working properly. enable the internal osc as a workaround in 2077. fixed in this release.
| + | |
− | | + | |
− | - arduino leonardo can be programmed with myAVR MK2/AVR910. You need to give a manual reset before pressing F4.
| + | |
− | | + | |
− | - attiny87 dat file contained an error : INTADR = 1 ; it was 2 but must be 1
| + | |
− | | + | |
− | - xmega spi length parameter supported globals only. now it supports locals and parameters as well.
| + | |
− | | + | |
− | - syntax check gave errors when config submode=new was used in some cases.
| + | |
− | | + | |
− | - 1wirecount returned with ERR set, even when sensors were found.
| + | |
− | | + | |
− | - [[Program_Simulate|simulator]] has trace log option to dump all executed lines to a file.
| + | |
− | | + | |
− | - error list content can be copied to clipboard with right mouse popup menu
| + | |
− | | + | |
− | - xmega uarts 5-8 serial buffered output enable the wrong uart.
| + | |
− | | + | |
− | - indention line colors can be customized.
| + | |
− | | + | |
− | - [[Edit_Proper_Indent|proper indent ]]will not indent comment
| + | |
− | | + | |
− | - [[GETKBD|getkbd]]() required change for xmega. (xmega does not use port register for pull up)
| + | |
− | | + | |
− | - added dword support to lookup()
| + | |
− | | + | |
− | - [[CONFIG_RND|config rnd]]=16|32 added to support bigger random numbers.
| + | |
− | | + | |
− | - attiny441 stk500 settings changed. attiny441 and attiny841 verified with real chips. some mods made to the dat files.
| + | |
− | | + | |
− | - increased internal constant string storage length to 1024. for cases like : s="some very long constant". previously the max size was 256.
| + | |
− | | + | |
− | - xmegaE5 timers 4/5 support added.
| + | |
− | | + | |
− | - xmegaE timer4/5 OVF bit need a manual reset, writing a 1 to intflags register. it is not cleared automatically.
| + | |
− | | + | |
− | - xm128a1U dat file added
| + | |
− | | + | |
− | - code folding added to editor. Press F11 to fold a sub/function
| + | |
− | | + | |
− | - all project files can be placed in an [[File_ZIP|archive]] (zip) file.
| + | |
− | | + | |
− | - AVR-DOS, GET and PUT support [[$BIGSTRINGS|$bigstrings]]
| + | |
− | | + | |
− | - [[$BOOT|$boot]] extended to support >64KB processors. $boot can be used together with $inc to include a boot loader in your code.
| + | |
− | | + | |
− | - FM25C256 example with BMA.bas sample added which demons xmega ramtron lib with shared bus.
| + | |
− | | + | |
− | - baudX=value added for Xmega. This will change the baud rate on an xmega at run time.
| + | |
− | | + | |
− | - special multi bus i2c added for normal AVR processors. See [[CONFIG_I2CBUS|config i2cbus]].
| + | |
− | | + | |
− | - muli dimensional array support added like : dim ar(10,50,3,5,2).
| + | |
− | | + | |
− | - long/dword data types added to SORT statement.
| + | |
− | | + | |
− | - report extended with bit position in memory and length of dimensioned strings
| + | |
− | | + | |
− | - [[LOOKUP|Lookup]] supports a numeric variable too for the label : novar = LOOKUP( value, label|address).
| + | |
− | | + | |
− | - soft spi supports DATA ORDER LSB and MSB
| + | |
− | | + | |
− | - [[STR|str]]() second optional parameter added to help. It specifies number of digits after the DP. Only for doubles.
| + | |
− | | + | |
− | - m324/m164/m644/m1280 config timer0, disconnect option fixed.
| + | |
− | | + | |
− | - settings xml file can be passed as parameter to allow different settings files and versions.
| + | |
− | | + | |
− | - added option to show invisible characters.
| + | |
− | | + | |
− | - added support for DWORD to [[SWAP]]
| + | |
− | | + | |
− | - added insertionsort.bas sample
| + | |
− | | + | |
− | - m64C1 and M32C1 dat files added.
| + | |
− | | + | |
− | - History Backup option added : it will create a unique copy of the source file each time you save a file.
| + | |
− | | + | |
− | - code explorer can show INC files under their own branch ([[Options_Environment|options, environment, IDE]])
| + | |
− | | + | |
− | - [[QSIN|Qsin]] and [[QCOS|Qcos]] integer trig added.
| + | |
− | | + | |
− |
| + | |
- [[|tiny461]] and [[|tiny861]] only did set pcie0 when you enable the PCINT because there is just one interrupt in the chip. In 2080, both PCIE0 and PCIE1 are enabled/disabled.
- added m48PB, m88PB, 168PB and m328PB dat files.
- simulator did not show maximum values of DWORD correct.
- some font problems solved.
- simulator could crash for xmega processors.
- when using non-mono font like Arial, text selection does not work properly. Use a font like CONSOLAS.
- Some new atmel PDF files could not be loaded with the PDF viewer. Viewer is rewritten and requires a new DLL named BASPDF.DLL
- varexist() did not support ALIAS.
- when bascom-avr.xml options file exists in the bascom application folder, that option file will be used.
- programmer did not fetch correct chip from editor when code was not saved. this would give a chip mismatch.
- assigning a negative value to a dword did not throw an error.
- all dat files updated with CONFIG information.
- printing values from multi index variables failed : print index(index1,index2)
- m1284pdef.dat updated with missing TIFR3 register.
- more fonts in various sizes from Adam Siwek.
- some new atmel PDF files can not be loaded with the PDF viewer. Viewer is rewritten.
- SSD1306 i2c oled driver updated for Xmega.
- m649A and m649P dat files added.
- CONFIG OSC extended with calibration register settings and DFLL.
- inputbin and printbin load 1 element too many with arrays using base 0.
- M324PB dat file added.