Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

new version 2087

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6173
Location: Holland

blank.gif
PostPosted: Sun Apr 20, 2025 1:19 pm    Post subject: new version 2087 Reply with quote

This Easter we are a happy to report that version 2087 is released.
Because of the ever growing supported processors the testing time was very long.
We hope all bugs were removed. But if not, report them to support@

Here is a list of changes.

- DAT Files : all pin variants of Xtiny, MX, DA, DB,DD and EA added
- Encryption add on : bug fixed.
- options, programmer shows an image (when available) of the selected programmer
- config varptrMode added to change behavior of Varptr()
- TYPE support added (the example uses an xtiny but it works for other processors too)
- xtiny low IO registers would not paint red/blue in the simulator.
- print fusing with a single array would fail because of a bug.
- new $USER directive added for creating .usr files for the Xtiny platform. This is a user signature data. Using $USER and DATA you can create the .usr file
- config TCDx changed so CTRLA is written last and the the status.0 bit is checked. without this the timer would not initialize properly
- readsig() for xtiny uses a named constant since the address might be different for other xtiny platforms.
- 1wread(bts , PinE , 3) failed when bts was a variable.
- config printX has an additional parameter : DELAY=time. This is an optional parameter that can be used to delay for the specified time before the data direction pin is switched
- Options, Environment, IDE, new method has an updated description.
- When using new method and wrong syntax for $regfile, the setting from the config file was used. Now you will get an error so it is clear you use the wrong DAT file.
- when storing project prj file in a different folder than the source, source code errors reported by the compiler were not jumped to when double clicked in the Error window.
- alert window position is saved
- STOP WATCHDOG bug fixed for Xtiny platform.
- simulator IO grid improved for speed. Other grids in simulator are improved as well since they use the same improved code.
- simulator SRAM grid improved for speed and displaying options. See help.
- i2cinit bug fixed for xtiny 8 pin devices which have a different port for i2c
- when updating from an old version and keeping settings files, the options, Compiler , LCD could have a value of nothing(not selected)
this could cause the compilation to end without creating bin/hex files.
- Microchip SNAP/EDBG programmer support added. Xtiny Add on is required for this. (this release also adds beta ISP and PDI support)
- config DMXSLAVE bug fixed for COM4. Also COM5 and COM6 added.
- search and replace in files added.
- find, search and replace button added to clear the history. this replaces the right click menu.
- alternative rename added using References, right click menu : RENAME. This will rename the selected item in the whole project, including the files on disk that are not loaded.
- readSig() added to Xtiny.
- _XTINY constant set to 4 for EA series.
- EEPROM writing updated and modified since all series handle this different in the NVM.
_EPROM_PAGESIZE is now an internal constant since it is used in the xtiny.lib
- pulseout did not work on normal AVR extended ports.
- using INPUT on XMEGA with a software uart would result in stack loss caused by code intended for the HW UART.
- using .\ for include files could load the file twice in the IDE when clicking the Error window and the code explorer. While this is fixed now, to include files that reside in the same folder as the main application, do not prefix the file.
- $programmer additional COMPORT option did not work for MCS Bootloader
- GETRC fix for xmega and Xtiny. While XMega would work with passing DDR register, the Xtiny passed the wrong register. Now all platforms can pass PINx register.
- CONFIG XPIN accepts both OUTPULL and PULLUP as a parameter to activate pullup. While normal AVR only supports pullup for input mode and the Xtiny also can only pullup in input mode, the Xmega supports various modes in output mode as well.
Since XMEGA was the first chip with pullup and atmel named it outpull we used this term too. But as it will be confusing for Xtiny/normal AVR, PULLUP is added.
- MCS UPDI programmers supports P3 protocol too as found in the EA series.
- simulation of xmega eeprom did not work.
- READ statement did not support multidim arrays. the optional num of bytes parameter was not described in the help.
- room for labels and other data increased in order to fix error 337.
- MCS UPDI programmer write counter added. It keeps track how many times a processor is programmed based on its serial number.
- SAFE option for DIM had a bug for one usage case. also optimized the code for multiple safe access.
- the simulator memory handling had a bug for LD reg,X so depending on used platform this could result in wrong simulation.
- HW register color could not be changed anymore.
- bigbuffers added for COM1/USART0
- config-kbd extended in DAT file with possible options
- CANSEND statement added. this statement does not wait/blocks the code. see help.
- watchdog documentation improved for xtiny. also added example watchdog-avrx128da28.bas
- splash window adjusted to show new xtiny processors
- some DAT files had the wrong flash_size value which results in programming problems
- find window lost right click copy,past,cut options when 'clear history' was added.
- config comx new options RX and TX enabled/disabled were reversed. (tx would disable rx and vice versa)

(BASCOM-AVR version : 2.0.8.7 )

_________________
Mark
Back to top
View user's profile Visit poster's website
JC

Bascom Member



Joined: 15 Dec 2007
Posts: 623
Location: Cleveland, OH

usa.gif
PostPosted: Sun Apr 20, 2025 5:07 pm    Post subject: Reply with quote

Happy Easter!

Wow!
What an impressive list of updates and bug fixes!

Your continued support and improvement of Bascom is truly appreciated!

JC
Back to top
View user's profile Visit poster's website
ok1hdu

Bascom Member



Joined: 10 Sep 2018
Posts: 15

czechrepublic.gif
PostPosted: Sun Apr 20, 2025 9:44 pm    Post subject: Reply with quote

Thank you Mark.
So I installed it and made the necessary settings. I'll start testing it tomorrow.
Jaroslav.
Back to top
View user's profile
sielcon

Bascom Member



Joined: 16 Mar 2006
Posts: 82
Location: Argentina

argentina.gif
PostPosted: Thu Apr 24, 2025 7:06 pm    Post subject: Version 2.0.8.7 installation problem Reply with quote

Hello everyone, I installed version 2.0.8.7 via the 2.0.8.6 update. When I run it, I get the error below. I want to reinstall, always using 2.0.8.6, but when I tell it to check for updates, it gives me an error message saying "Check for updates." I also tried updating from the MCS website, but clicking "sound=bre download" does absolutely nothing.
Also, the website often gives me a timeout error and doesn't open, which only happens to me on the MCS website. Has anyone had a similar problem?
Thank you very much, and best regards to everyone.
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6173
Location: Holland

blank.gif
PostPosted: Thu Apr 24, 2025 8:46 pm    Post subject: Reply with quote

the error is because some usb device (probably mouse) is not hid compatible. you can try plug the mouse in a different usb port.
i created a work around for this which i will release in another update.

about the server : we get lot of 'bad' traffic from some countries which we blocked for now.

_________________
Mark
Back to top
View user's profile Visit poster's website
sielcon

Bascom Member



Joined: 16 Mar 2006
Posts: 82
Location: Argentina

argentina.gif
PostPosted: Fri Apr 25, 2025 3:06 pm    Post subject: Reply with quote

I'll try it, thank you very much.
Back to top
View user's profile Visit poster's website
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 1197
Location: France

france.gif
PostPosted: Sun Apr 27, 2025 6:00 pm    Post subject: Reply with quote

I finally got 8087 working without error like Sielcon: My development PC is a DELL Inspiron 3881 Windows11 . I changed the mouse, it was still the same thing, I changed the keyboard, I took a horrible It.works keyboard very noisy but it works. the culprits [/img]

Thank you Mark , you said "i created a work around for this which i will release in another update. " I'm waiting for it Wink

JP

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6173
Location: Holland

blank.gif
PostPosted: Wed Apr 30, 2025 7:17 pm    Post subject: Reply with quote

if you want to test, write to support. i can give access to a test version.
but you can also wait for the official release which will be there soon too.

_________________
Mark
Back to top
View user's profile Visit poster's website
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 1197
Location: France

france.gif
PostPosted: Thu May 01, 2025 8:16 pm    Post subject: Reply with quote

don't be worry Mark, I will wait. I'm retired and I have time.
Many Many thanks for your works
JP Wink

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum