Author |
Message |
Topic: considerations about solar energy |
Alexander-Dan
Replies: 14
Views: 3435
|
Forum: Green Energy Posted: Sun Mar 03, 2024 4:16 pm Subject: considerations about solar energy |
But the batteries are still expensive.
oh, how beautiful everything sounds, but how quickly the bubble of hopes and fantasies bursts.
Until 2005, I worked at an energy sales company as an engine ... |
Topic: chinas the clone of the classic '51 |
Alexander-Dan
Replies: 36
Views: 8321
|
Forum: BASCOM-8051 Posted: Thu Feb 29, 2024 11:47 am Subject: chinas the clone of the classic '51 |
Send pm
This forum does not have the ability to send private messages... |
Topic: chinas the clone of the classic '51 |
Alexander-Dan
Replies: 36
Views: 8321
|
Forum: BASCOM-8051 Posted: Tue Feb 27, 2024 9:24 am Subject: chinas the clone of the classic '51 |
sending chip's is the easiest , i will order some to test only for the sake of quriosity.. only 0.3 with 8k adc etc (and 17kbyte at 0.33) !?
Did you buy these chips?
It would be interesting to c ... |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 7:21 pm Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
oh so many words.
I looked at the calendar: no, today is not Friday and tomorrow is not Saturday. Too many emotions in a working day
I can indulge myself: I’m on vacation.
But I will answer b ... |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 3:50 pm Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
"magic" is what is not visible in the code
If I read a chip register MCUCSR, then I can find a description of that register in the chip's datasheets.
If I write "R0", then I don’t know what th ... |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 2:14 pm Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Yes, I read about all the changes...
But since 2009 I have had a rule: no “magic” -- no assembler commands in programs!
Sometimes you need to transfer code to different chips, so assembler is very ... |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 1:52 pm Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
thank you for analyzing the code, MWS
I haven’t used assembler for a long time and I was too lazy to look at the codes obtained from different versions of the compiler using a disassembler.
Thanks a ... |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 1:08 pm Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
I checked this option. Yes, reading data from the register R0 solved this problem.
Dim Begunok As Byte
Begunok = R0 'Mcucsr
If Begunok.porf = 1 ... |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 12:17 pm Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
I am attaching two files: 2086 and 2085.
You can upload it to MK and check it yourself. |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 12:06 pm Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Mark,
I don't want to argue with you.
I have been using this method for a long time and successfully.
First I organize the variable, then I read into the status register variable.
And only in t ... |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 11:38 am Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
2.0.8.1 and oldest version of Bascom. |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 11:25 am Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Thank you. I'll try different options.
The code was copied from projects that I have been using for more than 9 years...
I will report the test results later. |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 10:21 am Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Mark, I read it of course
I'll change the question: when exactly in the code do I need to read the state of the register?
at what point will the register be cleared by the initialization procedur ... |
Topic: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Alexander-Dan
Replies: 20
Views: 745
|
Forum: BASCOM-AVR Posted: Thu Feb 22, 2024 9:49 am Subject: Mcucsr: 2.0.8.6 - Does not work, 2.0.8.5 - ALL OK |
Hi all!
How can you find out about the reason for the restart in the version 2.0.8.6 of the BASCOM?
I've read the "change history" but don't understand how to apply this information.
This is a ... |
Topic: BasCom AVR version 2086 |
Alexander-Dan
Replies: 29
Views: 11732
|
Forum: BASCOM-AVR Posted: Wed Feb 07, 2024 11:11 am Subject: BasCom AVR version 2086 |
hello!
Yesterday I installed the newest version and read information about all the innovations in the compiler...
Mark, you did a tremendous job! I can hardly understand the amount of work that was ... |
|