Bascom-AVR - 2085 (reg)

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 - 2085 (reg)

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

A regisztrált Bascom-AVR 2.0.8.5 állapota 2022-10-29-én:
(Demo jelenleg a 2.0.7.5 verziónál jár!)

-----------------------------------------------------
BASCOM-AVR History
(c) 1995-2021 MCS Electronics
the history items are very short descriptions of changes. it is only intended
to allow you to find the info in the help.
-----------------------------------------------------
2085.004
- start/stop tcd0 worked only for xtiny. for xmega it would create wrong code.
- xtiny writeeprom modified for DB/AVRX series
- insertchar did not insert a character when it was the last character in the string
- com5/com6 problem with xmega when using rs485.

2085.003 : PUBLIC RELEASE
- getadc() checks data type for xmega/xtiny. data type should be integer/word
- $SIM -> _SIM was not properly colored when using 'show excluded code' option
- simulator gave overflow error when kept running for a long time.
- lookdown() support added for dword/long
- _num2str rewritten so it does not use frame data
- new join() function which is the counterpart of split()

2085.002
- movw code replaced by mov when the processor does not have the movw instruction. only applies to old processors
- xtiny platform config SPI has an additional option SPIPIN to specify which port pins must be used for the SPI bus
- since some xtiny(megaX,AVRX) have multiple SPI, config SPI1 is added to configure the second SPI bus. This works for SPI1IN, SPI1OUT, SPI1MOVE.
- mid function and mid statement rewritten. the start position is not simply added but checked so it can not be placed beyond the end of the string
use the byte variant to terminate the string like : mid(somestring,index)=0. Both MID statement and function support bigstrings
- instr() function updated to be more safe. since you can specify an offset, this offset is checked so it will not read beyond the string.
- space() and string() functions moved to mcs.lib and also added support for bigstrings
- delchar/insertchar support bigstrings
- bascomp command line utility now accepts the devicename as a parameter. if you have tools that use the ID you need to check this !
bascomp "yourfile.bas" would be the syntax you use when the settings are stored in the source
bascomp "yourfile.bas" can have parameters like DEVICE=devicename where devicename is for example ATMEGA88 or ATMEGA88PB
The old parameters like FR,SS and HW still work too. When you provide a parameter other than the filename, it will override the setings from the source code !
This allows to compile for diffrent processors with different settings. See also the help.
- assigining a long in binary notation without leading zero would result in -1
- lookdown() supports long and dword too now.
- software uart has an additional mode parameter.
- simulator did not simulate the xtiny virtual mapped port registers.

2085.001 beta
- make sure to read about PRESERVE and OVERWRITE in the CONFIG options.
- lcd_i2c_PCF8574.LIB updated version included.
- mega16M1,32M1 and 64M1 corrected for LIN/USART
- rainbow libs rolled back. the automatic platform code had the disadvantage of requiring a call instead of rcall
- font editor fixed. The width of the font was not properly saved when it wasn't a multiple of 8.
- various fonts changed in IDE. There is also a new option to override the windows system settings.
- m48pb dat file modified. DDRE entry was invalid
- a number of icons are changed. Also new bigger icons included which can be selected in the options. This is intended for high resolution DPI. The icons are still in the ICO format however which mean that they do not scale perfect as SVG would do. This is in the works as well.
- DB/AVRX support. The xtiny add on is required. You need to update the add on lib.
- selecting external programmer with the {CHIP} parameter would crash the IDE on start up.
- XTINY low baud rate like 1200 baud overflowed the register : double speed can not be used for low baud.
- bascomp.exe command line utility changed since some DAT files share the same chip ID
http://www.tavir.hu - a gazda :)
Válasz küldése