Author |
Message |
Topic: Where is 2.0.2.0 |
albertsm
Replies: 8
Views: 685
|
Forum: BASCOM-AVR Archive Posted: Tue Nov 30, 2010 7:03 pm Subject: Where is 2.0.2.0 |
It is not needed to download the full installer.
I took a look and the license file was not published properly. Somehow my last submit did not make it. I checked and it is published now. |
Topic: error message "Error : 361 Line : 70 Member expe |
albertsm
Replies: 1
Views: 176
|
Forum: BASCOM-AVR Archive Posted: Tue Nov 30, 2010 1:58 pm Subject: error message "Error : 361 Line : 70 Member expe |
you probably use a variable named TYPE. And that is not allowed any longer since it is a reserved word.
The solution is to rename your variable into bType for example. |
Topic: EEPROM DATA |
albertsm
Replies: 6
Views: 703
|
Forum: BASCOM-AVR Archive Posted: Tue Nov 30, 2010 1:28 pm Subject: EEPROM DATA |
there are various methods.
you use the address. so you should use STEP 2 in the for next.
you should also provide a more complete sample that compiles and can be tested.
thus : For Num = 0 To ... |
Topic: bug/change with ALIAS in 2.0.x? |
albertsm
Replies: 2
Views: 229
|
Forum: BASCOM-AVR Archive Posted: Mon Nov 29, 2010 9:32 pm Subject: bug/change with ALIAS in 2.0.x? |
no this was not on purpose. i caused this when i added new features.
in the 2.0.2.0 update i am about to release it is solved. |
Topic: very little idea for new ide for Mark |
albertsm
Replies: 1
Views: 344
|
Forum: BASCOM-AVR Archive Posted: Mon Nov 29, 2010 2:01 pm Subject: very little idea for new ide for Mark |
there is already block comment :
'( this is block comment
and this too
')
And starting with ' it is more basic style.
you can also comment/uncomment an entire selected block of text. |
Topic: Negative numbers |
albertsm
Replies: 4
Views: 478
|
Forum: BASCOM-AVR Archive Posted: Mon Nov 29, 2010 8:58 am Subject: Negative numbers |
try an update of proteus.
In general, to all users :
if you have a problem, then try to simulate in bascom.
if you sim in proteus, then supply the proteus file so it can be verified.
it saves t ... |
Topic: A simple WAV file player from an SD card w/double buffering |
albertsm
Replies: 48
Views: 15448
|
Forum: Share your working BASCOM-AVR code here Posted: Sun Nov 28, 2010 12:53 pm Subject: A simple WAV file player from an SD card w/double buffering |
Wow, did not knew this was even possible with that quality. When you load the data into an eeprom it makes a cheap speech synthesizer.
Thanks for the youtube video, it 's great. |
Topic: Weird result in SysSec |
albertsm
Replies: 2
Views: 308
|
Forum: BASCOM-AVR Archive Posted: Fri Nov 26, 2010 9:27 pm Subject: Weird result in SysSec |
I checked it. It is a bug. After the first address was loaded to the stack the offset was not increased so you get this when using local/params.
It is fixed in 2.0.2.0 |
Topic: Problem with 2.0.1.0 and Mega 2561? |
albertsm
Replies: 16
Views: 1432
|
Forum: BASCOM-AVR Archive Posted: Wed Nov 24, 2010 8:59 pm Subject: Problem with 2.0.1.0 and Mega 2561? |
To make it more clear for the users that did not follow this problem:
An update broke some code. And as anybody, i do not like (potential) bugs.
Old AVR chips had a problem with skip instructions wh ... |
Topic: bootoader and atxmega128a1 |
albertsm
Replies: 8
Views: 894
|
Forum: BASCOM-AVR Archive Posted: Wed Nov 24, 2010 12:32 pm Subject: bootoader and atxmega128a1 |
I just verified that with the stk600/pdi protocol and bascom 2.0.2.0 it works perfect. you can upload the bootloader, set the boot fusebyte and after that MCS bootloader works correct.
I think your ... |
Topic: bootoader and atxmega128a1 |
albertsm
Replies: 8
Views: 894
|
Forum: BASCOM-AVR Archive Posted: Wed Nov 24, 2010 9:53 am Subject: bootoader and atxmega128a1 |
first you need to check serial comms. when it works in a normal application it is ok.
then you need to make sure your programmer is working and can write all the pages correctly. I have had support t ... |
Topic: Strange ATMEGA8, DS18B20, 7SEGMENTS GLITCH |
albertsm
Replies: 15
Views: 1297
|
Forum: BASCOM-AVR Archive Posted: Tue Nov 23, 2010 10:20 pm Subject: Strange ATMEGA8, DS18B20, 7SEGMENTS GLITCH |
If you put the 1wire bus on a different port then then bits used for 7-segment it should work fine. If not, make a proteus project and upload your code again, i lost track about your changes.
Also ... |
Topic: Strange ATMEGA8, DS18B20, 7SEGMENTS GLITCH |
albertsm
Replies: 15
Views: 1297
|
Forum: BASCOM-AVR Archive Posted: Tue Nov 23, 2010 8:50 pm Subject: Strange ATMEGA8, DS18B20, 7SEGMENTS GLITCH |
The 1wire pass the address of the port, and using an offset you can access port, ddr and pin registers.
for example to read a value you can use LD r24, z
To alter a value ;
ld r24,z
;change bit in ... |
Topic: Menu issues |
albertsm
Replies: 2
Views: 315
|
Forum: BASCOM-AVR Archive Posted: Mon Nov 22, 2010 9:47 pm Subject: Menu issues |
If you use 2.x.x.x the ADR2 will not work!
A bug was discovered introduced with a fix for including large fonts. This broke the ADR2 in the internal assembler.
For all other versions it should work ... |
Topic: Strange ATMEGA8, DS18B20, 7SEGMENTS GLITCH |
albertsm
Replies: 15
Views: 1297
|
Forum: BASCOM-AVR Archive Posted: Mon Nov 22, 2010 3:58 pm Subject: Strange ATMEGA8, DS18B20, 7SEGMENTS GLITCH |
I read "ATMEGA 8 DS18B20 7SEGMENTS BASCOM GLITCH"
That is indeed not a very good topic description.
The glitch seems to be in your code.
I find it great to see video's on youtube with projects ... |
|