Author |
Message |
Topic: Output Files |
rkumetz
Replies: 10
Views: 917
|
Forum: BASCOM-AVR Posted: Fri Jun 12, 2020 11:25 pm Subject: Output Files |
None of those are really directly useful without the source code, and IMHO you can delete them, assuming of course you still have the source !
I would even include the hex, eep and bin files in a ... |
Topic: Output Files |
rkumetz
Replies: 10
Views: 917
|
Forum: BASCOM-AVR Posted: Sun May 31, 2020 10:10 pm Subject: Output Files |
I just realized that 10+ years of writing Bascom code has created quite a mass of RPT, DBG and OBJ files.
Given that whenever one makes the decision to delete 100's of MB's of files it is wise to ... |
Topic: M1284P Odd Reset Issue |
rkumetz
Replies: 20
Views: 1039
|
Forum: BASCOM-AVR Posted: Thu May 14, 2020 7:13 pm Subject: Mystery Solved! |
I finally had some quiet time after getting a single board that works for a demonstration.
Having checked that all of the VCC pins had good connections to +5V I then checked the AVCC pin which at j ... |
Topic: M1284P Odd Reset Issue |
rkumetz
Replies: 20
Views: 1039
|
Forum: BASCOM-AVR Posted: Wed May 13, 2020 2:08 pm Subject: M1284P Odd Reset Issue |
Is your board connected to a com port? I've seen this sort of thing happen when a project is connected to a usb to ttl converter. The converter can supply just enough power so uC never completely pow ... |
Topic: M1284P Odd Reset Issue |
rkumetz
Replies: 20
Views: 1039
|
Forum: BASCOM-AVR Posted: Tue May 12, 2020 9:59 pm Subject: M1284P Odd Reset Issue |
you best contact microchip about it. this is a hardware problem, not related to the code or bascom-AVR
The errata does not show a problem but that does not mean much.
The problem could be caused by ... |
Topic: M1284P Odd Reset Issue |
rkumetz
Replies: 20
Views: 1039
|
Forum: BASCOM-AVR Posted: Tue May 12, 2020 8:39 pm Subject: M1284P Odd Reset Issue |
To answer some of the questions, the board was assembled by a contract mfr so it is not a home-brew creation.
The crystal is about 3mm away from the AVR pins.
I also tried the internal oscillato ... |
Topic: M1284P Odd Reset Issue |
rkumetz
Replies: 20
Views: 1039
|
Forum: BASCOM-AVR Posted: Mon May 11, 2020 8:30 pm Subject: M1284P Odd Reset Issue |
so you use a crystal. which value ? and what kind of load ? what is the brand/datasheet?
and what value for the caps ?
you could try to swap the xtal from the working board to another and see if t ... |
Topic: M1284P Odd Reset Issue |
rkumetz
Replies: 20
Views: 1039
|
Forum: BASCOM-AVR Posted: Mon May 11, 2020 8:04 pm Subject: M1284P Odd Reset Issue |
but how quick is the crystal stable when you turn the power on? and how quick is the 5V stable?
casing should not matter but... it might be the case that it is produced in a different plant with d ... |
Topic: M1284P Odd Reset Issue |
rkumetz
Replies: 20
Views: 1039
|
Forum: BASCOM-AVR Posted: Mon May 11, 2020 7:38 pm Subject: M1284P Odd Reset Issue |
i do not know what kind of hardware you connected to the reset pin ?
but it is important not to leave out such important info.
do not put caps on the reset pin.
the internal pull up should be su ... |
Topic: M1284P Odd Reset Issue |
rkumetz
Replies: 20
Views: 1039
|
Forum: BASCOM-AVR Posted: Mon May 11, 2020 3:03 pm Subject: M1284P Odd Reset Issue |
I have a 6pcs of a board with the M1284P. It has an external crystal with the oscillator programmed for maximum delay, DIV8 disabled, JTAG
disabled and BOD at 4.3v (VCC=5V).
1 board works fine.
... |
Topic: ATMega1284P Config TIMER1 |
rkumetz
Replies: 3
Views: 460
|
Forum: BASCOM-AVR Posted: Mon May 11, 2020 1:18 pm Subject: ATMega1284P Config TIMER1 |
actually you had : Compare A No_output which means that the the OCx pin will NOT be set to output mode. And that was not working correct : in your old code with the syntax you used the port should n ... |
Topic: ATMega1284P Config TIMER1 |
rkumetz
Replies: 3
Views: 460
|
Forum: BASCOM-AVR Posted: Sun May 10, 2020 9:40 pm Subject: ATMega1284P Config TIMER1 |
I have some older code that I copied this line from:
Config Timer1 = Timer , Prescale = 1024 , Compare A No_output = Set , Clear Timer = 1
I scratched my head trying to figure out why PD4 would ... |
Topic: HEXVAL |
rkumetz
Replies: 11
Views: 648
|
Forum: BASCOM-AVR Posted: Wed Apr 15, 2020 7:10 pm Subject: HEXVAL |
Immediately after conversion do a:
If Err = 1 Then
Thanks. THAT is what I was looking for! |
Topic: HEXVAL |
rkumetz
Replies: 11
Views: 648
|
Forum: BASCOM-AVR Posted: Wed Apr 15, 2020 7:08 pm Subject: HEXVAL |
ERR is a global error bit. it is used by many routines.
you simply test it after using hexval()
If ERR=1 then
print "problem"
end if
of course then the conversion already has been d ... |
Topic: HEXVAL |
rkumetz
Replies: 11
Views: 648
|
Forum: BASCOM-AVR Posted: Wed Apr 15, 2020 5:39 pm Subject: HEXVAL |
Cynicism is a waste of energy. If that sentence was USEFUL to me then I would not have asked a question.
That would be a waste of your time and mine and I do not endeavor to do either.
I apologize ... |
|