Администрация форума не несёт ответственности за достоверность информации и оставляет за собой право редактировать или в особых случаях даже удалять посты без предупреждения. Спасибо за понимание.

Программирование ATMEL в BASCOM.

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.



Bascomavr 2.0.0.0!

Сообщений 181 страница 210 из 259

181

Пётр написал(а):

Марк собрался банить по IP или я что-то не правильно понял?

Перевод Google:

Новая запись в истории BASCOMT his на самом деле не очень хорошая запись. В настоящее время существует больше незаконных пользователей, чем лицензированных пользователей.
Если вы больше не можете связаться с этой страницей / сервером, мы, вероятно, заблокировали ваш IP-номер.

Мы также начнем запрещать все IP-номера с VPN-серверов. Поэтому убедитесь, что вы используете обычную запись IPA в истории BASCOM. Это не очень хорошая запись. В настоящее время существует больше незаконных пользователей, чем лицензированных пользователей.
Если вы больше не можете связаться с этой страницей / сервером, мы, вероятно, заблокировали ваш IP-номер.

Мы также начнем запрещать все IP-номера с VPN-серверов. Поэтому убедитесь, что вы используете

Если я правильно понял, то речь идет о дополнениях (библиотеки и т.п.), а так же о форумной поддержке.
Думаю, владельцам лицензии трепещать не стоит, а "крякнутые" и так как-то существовали...

0

182

Демку обновили. http://www.mcselec.com/index.php?option … amp;id=386

0

183

Угу и новая версия 2.0.8.1

0

184

Ага и вместо демки скачивается полная версия. :D  :)

0

185

Появилась версия BASCOM-AVR 2.0.8.2. https://www.mcselec.com/index2.php?opti … mp;t=14440

Код:
- log files are stored user\appdata\roaming\mcs electronics
- xml settings file is also located in this folder
- xml settings file has a new name with the version in it : bascavr2082.xml 
- samples can be located in user\documents folder or bascom application folder. Specify during setup
- xmega timer resolution :
  In version up to 2081:
  NORMAL
  BYTE or 8
  SPLIT or 16 or 32
 
  In version 2082
  BYTE or 8
  SPLIT or 32
  NORMAL or 16  
  Thus when using 16 before, change your code to use SPLIT or 32 

- rearranging memory order for usb support caused a bug in config clock : the date time bytes are not mapped after each other. Fixed.
- START/STOP statements worked on the wrong register for the TINY1634
- i2c_twi_multi lib had a problem in the readbyte function.
- SPIMOVE added for Xmega
- split screen did not allow copy & paste
- USI slave support added for tiny1634
- All DAT files are now stored in a sub folder named DAT. This means you need to copy your DAT file to this folder if you made custom DAT files.
- some registers of tcc1 were missing in xmega D3 series
- read only files could not be opened anymore. fixed.
- On win10 you could get a HID error message. 
- w5500 tcp lbx  : removed RST status bit check since the bit never becomes 0 and hangs the code
- url2ip bug fix. one byte of the IP address could get trashed
- url2ip added to w5500
- new samples for w5500 wiznet chip
- accessing a zero based array inside a sub coulld result in an index error.
- simulator did not support writing to xmega portx_CLR _SET and TGL registers
- using search in files function could result in 'out of bound' error.
- manchesterEnc and manchesterDec functions added for manchester coding/decoding
- assigning a byte with a string constant with spaces, resulted in 0, not 32. 
- VARPTR() function returned &H1000 too much for Xmega ERAM data type.
- using getadc() with 2 numeric parameters or constants like : getadc(4,&H20) would not set the right bits.
- i2csend and i2creceive updated for xmega. after the start/slave address, the status is now checked and does not send data in case of a bus problem. this to prevent a hangup in the twi logic.
- printing supports selection of text and page range now. you need to use print preview for this.
- OUT instruction did not clear RAMPZ for Xmega with ROM > 64KB and normal SRAM.
- PS2MOUSEXY accepts an additional optional parameter for mouse wheel support. Notice that you MUST download an update of the ps2 lib add on
- config spi on non xmega did not support the extended mode for HW SPI
- config tcpip now supports SPI1 for the SPI bus
- windows 10 DEP and ASLR support added. 
- printbin: when using automatic rs485 and printing a long/dword constant on a chip with extended port register, R23 was trashed. Example : printbin &HABCDEF00
- FLIP() function resulted in an error about $REGS
- terminal emulator component is replaced in order to support windows DEP/ASLR. This means that some features from the terminal emulator have changed.
- printbin can print a variable amount of bytes now. while ; is used to separate multiple variables, the comma can be used to specify the amount of bytes
  like : printbin ar(1) , numbytes ; othervar 
  this makes the syntax compatible with the old syntax. We recommend to use the new syntax
- terminal emulator custom messages extended to 16
- UPDI programmer added for new AVR processors with UPDI interface. 


FILE LOCATION
With DOS things were simple : all files could go in a folder and sub folder. To make a backup all you had to do was using XCOPY.
With Windows things are not so simple : files are located all over the PC. Some folders are write protected and to make a backup is not so simple.
A lot of customers are looking for the SAMPLE files. These are put in the documents folder and can be accessed using the File, Open Sample option. 
In 2082 the preferred folder for installation is C:\MCS\BASCAVR2082
But of course you are free to install in any other folder of your choice.
The samples are installed in a sub folder of the application folder too. But you can install in any other folder as well.
In the Environment Options of the IDE you can specify which folder you want to use for the sample files. 

+1

186

RDW написал(а):

Зашел в личный раздел на сайте Баскома, нет там никакой 2.0.8.0 версии, откуда такие данные?
Есть только 2.0.7.9:
...
- when a multi dim array is only used within sub/functions and submode=new is used, you get an error since the
- multi dim arrays can only be used to read/assign variables. Using them in functions and statements will not work.

Это речь идет о многомерных массивах?
Если да, то где синтаксис,  в хелпе найти не могу.

0

187

EdGull написал(а):

Это речь идет о многомерных массивах?

Многомерные массивы были добавлены несколько версий назад. Синтаксис как у других бейсиков.

0

188

Выпущена версия BASCOM-AVR 2.0.8.3 https://www.mcselec.com/index2.php?opti … mp;t=14650

Код:
 - new option SAFE for variables. Dim b as bit SAFE , see help. 
 - added BOOTONLY option to $LOADER directive. $loader bootaddress[,BOOTONLY] this will write just the boot loader code to the BIN file. The HEX remains as is. 
 - you can select the Options_Select_Settings_File now. This setting is stored in the registry. 
 - project files are stored with absolute files names inside the prj file. An absolute file name is relative to the location. 
 - simulator bug fixed where SI file simulation data was not processed properly. 
 - MemFill added. 
 - using instr() with {xxx} for the search string does not work : pos=instr(someAString,"{065}") 
 - using compare_a/compare_b=clear for timer0 resulted in SET instead of CLEAR. 
 - bascomp command line utility updated to support new file structure 
 - multiple instances bug fixed. 
 - mcs.lbx was not in sync with mcs.lib (it was not compiled when a last minute change was made) 
 - when using channel specifier without # you will get an error 
 - stk500v2 based programmers like mkII and stk500v2 could give a program error when your code contains empty blocks And the processor has multiple 64KB segments. applies to normal mega only. 
 - crc8 overloaded version added for big strings. 
 - 2082 broke the default printing function 
 - added DES asm instruction. 
 - added DesEncrypt and DesDecrypt which are also supported by the simulator 
 - inputbin accepts an optional variable for the number of bytes to receive. delimited by a ; 
 - simulator update. 
 - simulator double click cycles, will reset cycles 
 - simulator allows to load a custom serial data file from file 
 - Xtiny support, requires a commercial add on 
 - CTS/RTS bug fixed : only part of the buffer was used 
 - added PA version of dat files M88PAdef,M644PAdef,M48PAdef,M168PA. These are almost the same as the P versions. They are binary compatible and have the same ID 
 - searching in files would not search in the specified folder when the folder name contained a space. Instead the root folder was used. 
 - $programmer option did not support conditional compilation. It was global. Now supports #IF/#ENDIF. but only when 'Use new method' is used in environment IDE options. 
 - CLEAR serialinx buffer did not clear the RTS pin when cts/rts was used for xmega uarts 4-7. 
 - xmega high baud calculation > 2MB and higher did not support double rate flag resulting in a wrong baud rate 
 - for next using a step for bytes could fail when the byte boundary was crossed. 
 - xmega num2str code rewritten and xmega routine rewritten that used _XmegaFix_Rol_R1014 and _XMEGAFIX_CLEAR. These routines are not used anymore! 
 - using a string function with select case, could result in improper branching, depending on the user function. 
 select case mid(someString,start,len) for example. 
 - bascom-AVR and the SETUP are now code signed. 
 - CONFIG XPIN for the E-series : slewrate will be set the whole port, not for an individual pin 
 - crc16uni can handle 65535 bytes 
 - low/high can be used as a procedure too for BASCOM-8051 compatibility. 
 - UPDI programmer can write fuses

0

189

о, добре!

0

190

Что то не могу скачать. Кнопочку загрузки Download full BASCOM-AVR нажимаю, а в ответ тишина...

0

191

из Баскома грузится
Помощь > Update

Отредактировано Александр Д. (2020-07-15 16:53:02)

0

192

radan написал(а):

Кнопочку загрузки Download full BASCOM-AVR нажимаю, а в ответ тишина...

Скачивается...

Александр Д. написал(а):

из Баскома грузится
Помощь > Update

Не знаю о чем думал Марк когда добавлял эту функцию. Видимо надеялся на честность людей.
Эта функция сильно снижает защиту.

0

193

Пётр написал(а):

Не знаю о чем думал Марк когда добавлял эту функцию. Видимо надеялся на честность людей.
Эта функция сильно снижает защиту.

у меня лицензия ))

0

194

Скачал с ноутбук. С рабочего компа так и не загрузилось.

0

195

Ух-ты! Обновление подоспело  :crazy:
http://forumupload.ru/uploads/0000/25/b8/1295/t946458.png

Изменения

-----------------------------------------------------
             BASCOM-AVR History
        (c) 1995-2020 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.
-----------------------------------------------------
2083.003 special build
- corrected xmega dat file options for COM ports (C3/D3)
- added shortcut CTRL+ALT+P for proper indent
- fixed Xmega-E series config XPIN for slewrate which works on the entire port and uses PORTCFG_SRLCTRL register
- config printbin has only one option but NORMAL was added since that is the default: CONFIG PRINTBIN=EXTENDED|NORMAL
- x.m = y.m or z.m resulted in a storebit error when bytes were used
- crc16uni can handle words now
- local did not support new dim syntax : Local Start_idx , Temp_idx , Temp_step As Byte
- config rc5 background mode has an additional option to manual specify the prescaler value. by default it is calculated.

2083.001
- new option SAFE for variables. Dim b as bit SAFE , see help.
- added BOOTONLY option to $LOADER directive. $loader bootaddress[,BOOTONLY] this will write just the boot loader code to the BIN file. The HEX remains as is.
- you can select the Options_Select_Settings_File now. This setting is stored in the registry.
- project files are stored with absolute files names inside the prj file. An absolute file name is relative to the location.
- simulator bug fixed where SI file simulation data was not processed properly.
- MemFill added.
- using instr() with {xxx} for the search string does not work : pos=instr(someAString,"{065}")
- using compare_a/compare_b=clear for timer0 results in SET instead of CLEAR. you can use COMPARE_A_PWM=CLEAR_UP instead.
- bascomp command line utility updated to support new file structure
- multiple instances bug fixed.
- mcs.lbx was not in sync with mcs.lib.
- when using channel specifier without # you will get an error
- stk500v2 based programmers like mkII and stk500v2 could give a program error when your code contains empty blocks And the processor has multiple 64KB segments. applies to normal mega only.
- crc8 overloaded version added for big strings.
- 2082 broke the default printing function
- added DES asm instruction.
- added DesEncrypt and DesDecrypt which are also supported by the simulator
- inputbin accepts an optional variable for the number of bytes to receive. delimited by a ;
- simulator update.
- simulator double click cycles, will reset cycles
- simulator allows to load a custom serial data file from file
- Xtiny support, requires a commercial add on
- CTS/RTS bug fixed : only part of the buffer was used
- added PA version of dat files M88PAdef,M644PAdef,M48PAdef,M168PA. These are almost the same as the P versions. They are binary compatible and have the same ID
- searching in files would not search in the specified folder when the folder name contained a space. Instead the root folder was used.
- $programmer option did not support conditional compilation. It was global. Now supports #IF/#ENDIF. but only when 'Use new method' is used in environment IDE options.
- CLEAR serialinx buffer did not clear the RTS pin when cts/rts was used for xmega uarts 4-7.
- xmega high baud calculation > 2MB and higher did not support double rate flag resulting in a wrong baud rate
- for next using a step for bytes could fail when the byte boundary was crossed.
- xmega num2str code rewritten and xmega routine rewritten that used _XmegaFix_Rol_R1014 and _XMEGAFIX_CLEAR. These routines are not used anymore!
- using a string function with select case, could result in improper branching, depending on the user function.
   select case mid(someString,start,len)  for example.

- bascom-AVR and the SETUP are now code signed.

Отредактировано Ev3658 (2020-07-17 14:35:26)

0

196

Глюк версии 2.0.8.3
Компилятор не видит файла, не компилируется. Пути к Bas файлам менял, не помогло. Win10x64

http://forumupload.ru/uploads/0000/25/b8/1295/t814618.png
http://forumupload.ru/uploads/0000/25/b8/1295/t827356.png

0

197

Ev3658 написал(а):

Компилятор не видит файла, не компилируется.

На офф напиши.

0

198

Ev3658
опиши проблему, я передам Марку

0

199

Ev3658
а если путь сделать покороче и без русских имён?

0

200

Ev3658, у меня нормально компилируется.
Эти галочки установлены?
http://forumupload.ru/uploads/0000/25/b8/385/554951.png

0

201

Александр Д. написал(а):

а если путь сделать покороче и без русских имён?

Бесполезно.

Александр Д. написал(а):

Ev3658
опиши проблему, я передам Марку

Я написал, но кажись он не понял и закрыл тему https://www.mcselec.com/index2.php?opti … p;start=15

Вообщем не прошивает из-за отсутствия файла.  Написал вчера, но он настоял на отдельной теме: https://www.mcselec.com/index2.php?opti … 9227#79227

Не создаёт компилятор не BIN не HEX, латиница в пути файлов роль не играет (хоть на C диск),  с правами администратора тоже ничего не меняет.

ВАУ!! Зацените как удобно:
http://forumupload.ru/uploads/0000/25/b8/1295/t838429.png

Отредактировано Ev3658 (2020-07-20 12:36:11)

0

202

Ev3658 написал(а):

Не создаёт компилятор не BIN не HEX

При компиляции конкретного исходника или всех?

0

203

Пётр написал(а):

При компиляции конкретного исходника или всех?

Всех.
Путь к исполняемому файлу стал: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MCS Electronics\BASCOM-AVR

2.0.8.2 тоже перестал компилировать, 2.0.8.1 компилирует.

Отредактировано Ev3658 (2020-07-20 13:07:55)

0

204

Переустановил обновления с 2.0.8.2 на 2.0.8.3 и теперь 2.0.8.1 не компилирует. Сейчас Win10x64 обновлю, может что с этим связано.

0

205

Вообщем странное дело. Компилятор перестаёт работать в 2.0.8.1, 2.0.8.2 после запуска 2.0.8.3 и до перезагрузке компьютера.

0

206

Проверь права в каталоге и подкаталогах.

0

207

RDW написал(а):

Проверь права в каталоге и подкаталогах.

Не помогло.  Сделал всех файлов и каталога.
http://forumupload.ru/uploads/0000/25/b8/1295/t688296.png

0

208

Может стоит запустить с правами администратора?

0

209

kestrel написал(а):

Может стоит запустить с правами администратора?

Это первое что сделал. Пока побуду на 2.0.8.1, некогда разбираться, хоть так работает. Надо возвращаться в Windows 7, эта 10ка просто кошмар какой-то запутанный, много лишних технологий.

0

210

Ev3658 написал(а):

Надо возвращаться в Windows 7

А я и не слезаю по этому (ещё у неё невнятный интерфейс, как по логике, так и глазу/дизайну).
На ебей лицуха "копейки" стоит (если надо, обращайся).

0