Author |
Message |
Topic: Passing Data from the bootloader to the main program |
syndetic1
Replies: 6
Views: 433
|
Forum: BASCOM-AVR Posted: Wed Jan 31, 2024 6:28 am Subject: Thank you |
Thank you EDC, Greatly appreciated. |
Topic: Passing Data from the bootloader to the main program |
syndetic1
Replies: 6
Views: 433
|
Forum: BASCOM-AVR Posted: Tue Jan 30, 2024 8:37 am Subject: Passing Data from the bootloader to the main program |
Hi guys,
I am using a M128 with the Bascom boot loader. I have made some minor changes to the boot loader. The bootloader function works well.
I would like my main program to know what version of ... |
Topic: One Wire DS18B20 |
syndetic1
Replies: 13
Views: 4695
|
Forum: BASCOM-AVR Posted: Wed Jun 14, 2023 8:00 am Subject: One Wire DS18B20 |
Yes. Tomorrow morning I will do that integration. Greatly appreciate your help.
Frank |
Topic: One Wire DS18B20 |
syndetic1
Replies: 13
Views: 4695
|
Forum: BASCOM-AVR Posted: Tue Jun 13, 2023 10:50 pm Subject: One Wire DS18B20 |
Ooops the strange crystal statement in my code was a left over from when I was trying to work out why my code would not work. By making $crystal not equal the actual clock frequency set by the config ... |
Topic: One Wire DS18B20 |
syndetic1
Replies: 13
Views: 4695
|
Forum: BASCOM-AVR Posted: Tue Jun 13, 2023 2:21 am Subject: One Wire DS18B20 |
Hi EDC,
Thank you. Your code worked.
This verified that the hardware was OK.
Then I made a cut down version of my code and it worked.
I also tried using 1wire statements like yours eg 1wwrite & ... |
Topic: One Wire DS18B20 |
syndetic1
Replies: 13
Views: 4695
|
Forum: BASCOM-AVR Posted: Mon Jun 12, 2023 7:59 am Subject: One Wire DS18B20 |
What purpose should this code serve?
Config PortR = &B00000000
PortR = &B00000000
Just shows that port R is initialized as all inputs and with all zeros in the data register. BEFORE th ... |
Topic: One Wire DS18B20 |
syndetic1
Replies: 13
Views: 4695
|
Forum: BASCOM-AVR Posted: Mon Jun 12, 2023 12:24 am Subject: Yes have 4k7 |
Yes definitely have 4k7. I don't think any of the commands would work if I didn't. Stranger things have happened. Waited to reply until I could double check that it was actually 4k7 and it is. |
Topic: One Wire DS18B20 |
syndetic1
Replies: 13
Views: 4695
|
Forum: BASCOM-AVR Posted: Sat Jun 10, 2023 7:10 am Subject: One Wire DS18B20 |
Hi,
I am having problems with a One Wire DS18B20
The problem is initiating a temperature conversion.
First let me run through what I know or maybe it's just what I think:
I am running it in thre ... |
Topic: Where does the bootloader erase EEPROM |
syndetic1
Replies: 4
Views: 1134
|
Forum: BASCOM-AVR Posted: Tue Jan 31, 2023 11:03 pm Subject: Where does the bootloader erase EEPROM |
Thanks MWS,
Commented out Writeeeprom Buf(j) , Wrd and it worked. |
Topic: Where does the bootloader erase EEPROM |
syndetic1
Replies: 4
Views: 1134
|
Forum: BASCOM-AVR Posted: Wed Jan 25, 2023 2:06 am Subject: Where does the bootloader erase EEPROM |
Thank you for your reply.
I am using a Mega128
I am programming from within BASCOM and also I bought the Bascom stand alone uploader.
Both behave the same way.
The boot loader is essentially t ... |
Topic: Where does the bootloader erase EEPROM |
syndetic1
Replies: 4
Views: 1134
|
Forum: BASCOM-AVR Posted: Tue Jan 24, 2023 8:14 am Subject: Where does the bootloader erase EEPROM |
I have the bootloader working but it is erasing the EEPROM.
to my knowledge I am not sending EEPROM information.
I want to just send the program so that calibration settings can remain in EEPROM.
... |
Topic: Read and Print Program Counter |
syndetic1
Replies: 7
Views: 636
|
Forum: BASCOM-AVR Posted: Fri Feb 04, 2022 12:08 am Subject: Read and Print Program Counter |
Hi MWS,
You are a champion. All working great. Thanks for your patience. Sorry I misread the exclamation marks as commenting it out.
Frank |
Topic: Read and Print Program Counter |
syndetic1
Replies: 7
Views: 636
|
Forum: BASCOM-AVR Posted: Wed Feb 02, 2022 2:06 am Subject: Read and Print Program Counter |
That's not correct.
I've suggested to put exclamation marks '!' in front of the two assembler opcodes, as these were missing and responsible for the compiler errors.
Ahh oops. My bad. I read ex ... |
Topic: Read and Print Program Counter |
syndetic1
Replies: 7
Views: 636
|
Forum: BASCOM-AVR Posted: Wed Feb 02, 2022 1:14 am Subject: Read and Print Program Counter |
You was not replying as I've answered your previous question, it's annoying not to know whether it worked.
Mind to explain why I should answer this one?
Maybe it helps if you explain at least why yo ... |
Topic: Read and Print Program Counter |
syndetic1
Replies: 7
Views: 636
|
Forum: BASCOM-AVR Posted: Tue Feb 01, 2022 11:22 pm Subject: Read and Print Program Counter |
Hi guys,
How can I read the program counter and print it out?
Thanks,
(BASCOM-AVR version : 2.0.8.5 ) |
|