Bascom 1.11.9.9

Bascom, Wiring és Arduino frissítések, hátterei esetleges hibái
Avatar
ArySoft
DrótVégénSzéndarab
Hozzászólások: 16
Csatlakozott: 2009. február 23. hétfő, 7:00

Bascom 1.11.9.9

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

Megjelent Bascom 1.11.9.8
Avatar
Robert
Elektronbűvölő
Hozzászólások: 10191
Csatlakozott: 2005. december 9. péntek, 7:00

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

A változások:


1.11.9.9
- fixed bug for SEROUT where using a variable for the number of bytes would overwrite the X register
- right() function used with a variable, and without $bigstring could lead to a pointer error, resulting in wrong result.
- Xmega SPI support added. SPI for xmega also supports dynamic channels. The variable has to start with bSPI in that case:
Open "SPI,Master,mode0,clk2,msb" For Binary As #bspivar ' use a dynamic channel
Print #bspivar , W
Input #bspivar , W
Instead of a CONFIG, OPEN is used. Notice that you have to open
- Xmega dynamic UART channel added. When using a variable that begins with bUART, you can use a dynamic channel:
For Buart_channel = 0 To 7 'when using a variable, notice that the index is 0 based !
Print #buart_channel , "UART :" ; Buart_channel
waitms 1000
Next
The channel does not to be opened in this case.
- $eepromsize added : $eepromsize=value. This directive can be used in cases where you use an alternative eeprom library. for example to use a
quicker and more reliable eeprom such as an external ramtron chip. Using an alternative library will use an external eeprom instead of the internal eeprom.
But in cases where your external eeprom is larger then the internal, you need to override the size. You can do this with the $eepromsize directive.
You have to take in mind that programming the eeprom will program still the internal eeprom ! So use these options with care.
- when using ISIS simulator, the IDE will set focus to ISIS when pressing F2.
- config rc5 , wait feature documented. default is 100 (6.4 ms)
- crc16() will pass a word instead of a byte. this means you can get crc16 of a bigger array.
- config kbd has an additonal parameter named COLS. By default this is 4. Some chips do not have port pin 7 and for these cases you can use COLS=3, or COLS=2
This does assume that columns are connected to the high port nibble.
- writeeeprom/readeeprom when used with a constant address did not store the address when used with auto increase:
writeeeprom var, 1 : writeeeprom var
- split() function did not return empty array elements. Those were ignored:
consider this string : "1,2,,4,5" . it would return 1,2,4 and 5. Since there is a delimiter, it is
better to return an empty element.
- mega1284P, M644P dat file , stk500 eeprom section corrected.
- tinyx61 have a 16 bit timer0 but the LSB and MSB registers are not lineair in memory. If used in 16 bit mode, you need to handle this yourself.
reading : read LSB first, then MSB. Writing : write MSB first, then LSB. (does NOT apply to Xmega)
- DMXSLAVE needs aliases for UCSRxA registers. These were added to the DAT files.
- PORTA, DDR and PIN registers added to tiny48 and tiny88 since TQFP version has this port.
- M32M1 support added. Notice that is does not have TWI or a UART. The LIN can be used in UART mode but is not supported yet.
- [FLAG] section added to dat files. Some micro's have the flag register located in non-bit addressable space
in such a case, SBI will not work to reset the bit and OUT or STS is used. For FLAG registers, the current content may not be read.
While for normal registers, when setting a bit, the content must be read before the bit is set.
- mega3250P support added.
- CONFIG INPUT defaulted to the default settings. this was caused by modification for the xmega. Also notice that CONFIG INPUT0 need to be specified as INPUT or INPUT1.
- USBASP programmer problem fixed with internal memory pointer(resulting in wrong flashing)
- dat files include info for new IDE, same dat file set will be used.
- CLOSE for SW UART explained in more detail in the help.
- print preview and print use the same font settings now.
- stk500 external programmer(stk500) was called with wrong COM parameter after higher COM ports were added to options. In this change the numbers where changed into COMx.
- tiny2313 dat file had a type error for IDLE mode.
- tiny48/88 TQFP32 pinout xml files had a few errors
- instead of config lcd=16*2 you can use X instead of *. This is needed for beta IDE. Example : config lcd=16x2
- CONFIG DATE needs "" for the separator : config date=dmy,"-"
Avatar
nagygabor679
DrótVégénSzéndarab
Hozzászólások: 36
Csatlakozott: 2011. március 29. kedd, 6:00

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

Robert írta:A változások:
1.11.9.9
-- USBASP programmer problem fixed with internal memory pointer(resulting in wrong flashing)
Én ezzel kínlódok, 1.11.9.8-asom van (demo). Sehol nem találom, honnan lehetne 1.11.9.9-et vagy frissebbet leszedni. Van valakinek valami ötlete?
Avatar
Robert
Elektronbűvölő
Hozzászólások: 10191
Csatlakozott: 2005. december 9. péntek, 7:00

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

Igen:
www.mselec.com -> Shop.
79 EUR

Jelenleg a 2.0.4.0 verziónál tart.

A DEMO verzióból május elejére van ígéret a 2.0.5.0 (?) megjelenésével együtt.
A hozzászólást 1 alkalommal szerkesztették, utoljára Robert 2011. április 3. vasárnap, 20:29-kor.
Avatar
nagygabor679
DrótVégénSzéndarab
Hozzászólások: 36
Csatlakozott: 2011. március 29. kedd, 6:00

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

Robert írta:Igen:
www.mselec.com -> Shop.
79 EUR

Jelenleg a 2.0.4.0 verziónál tart.

A DEMO verzióból május elejére van ígéret a 2.0.5.0 (?) megjelenésével együtt.
Köszi, akkor várok türelemmel.
Válasz küldése