Hallo, ich arbeite hier an einer Schaltung und kann auch den Code/das Programm auf einen ATmega8 flashen, allerdings erhalte ich folgende Fehlermeldung: C:\Programme\WinAVR-20100110\bin\avrdude.exe -C C:\ ... programm.hex:a avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update. avrdude.exe: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.03s avrdude.exe: Device signature = 0x1e9307 avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude.exe: erasing chip avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update. avrdude.exe: reading input file "C:\ ... programm.hex" avrdude.exe: input file C:\ ... programm.hex auto detected as Intel Hex avrdude.exe: writing flash (3524 bytes): Writing | ################################################## | 100% 17.13s avrdude.exe: 3524 bytes of flash written avrdude.exe: verifying flash memory against C:\ ... programm.hex: avrdude.exe: load data flash data from input file C:\ ... programm.hex: avrdude.exe: input file C:\ ... programm.hex auto detected as Intel Hex avrdude.exe: input file C:\ ... programm.hex contains 3524 bytes avrdude.exe: reading on-chip flash data: Reading | ################################################## | 100% 15.36s avrdude.exe: verifying ... avrdude.exe: verification error, first mismatch at byte 0x019e 0x34 != 0xe5 avrdude.exe: verification error; content mismatch avrdude.exe done. Thank you. Das Programm wird geschrieben... Es handelt sich um den USBasp programmer! Fehlermeldung am Ende: "Error writing Flash"... Könnte man die Fehlerursache irgendwie eingrenzen? Danke, Christoph
Gast
#2643305
Ch Sp schrieb: > cannot set sck period Klingt nach falscher Angabe des Clocks. Avrdude kann mit Deiner Angabe offenbar nix anfangen. Was machst Du denn genau? Gruss
Ist eine Steuerung für Servos, ganze genau so etwas hier: http://www.google.de/search?tbm=isch&hl=de&source=hp&biw=1280&bih=646&q=kap&gbv=2&oq=kap&aq=f&aqi=g10&aql=&gs_nf=1&gs_l=img.3..0l10.871.1078.0.1305.3.3.0.0.0.0.94.164.2.2.0.qt4Ftf7iq8Q#hl=de&gbv=2&tbm=isch&sa=1&q=kap+rig&oq=kap+rig&aq=f&aqi=g1&aql=&gs_nf=1&gs_l=img.3..0.5115.5458.2.6119.3.3.0.0.0.1.514.1023.2-2j5-1.3.0.vK4OwDlegtw&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=e3c9fb3fe9a8299b&biw=1280&bih=646 Ich habe nun einen L293D eingebaut und seit dem gibts Probleme... Nehme ich den raus, bestehen die Probleme weiterhin... Sowas hier schreibt er erfolgreich ohne Fehlermeldung:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
Kann meine zuvor beschriebene Problematik auch an den Stack-Werten liegen?
Gast
#2643342
.. ne, an den Stackwerten liegt das nicht. Dein Proggi macht ja sowieso nix weiter. Hast Du noch mehr Code? Wie sieht die Schaltung aus? Avrdude Setup? Gehen andere Projekte mit den selben Einstellungen? Schaltplan mit/ohne L293? Was heisst: >seit dem gibts Probleme... Nehme >ich den raus, bestehen die Probleme weiterhin... Was war vorher anders? MEHR Infos bitte. Gruss
Hallo, anbei ein Foto der Schaltung und ein Schaltungsplan, allerdings verwende ich den ATmega8 und auf den Drucksensor (MPX4115A) habe ich verzichtet. Anbei der Code. Probleme gibts erst, seitdem ich den Motortreiber eingelötet hatte. Der Programmcode oben, welcher leer ist, ist der Code, der Successfully geschrieben wird... Danke für die Hilfe!
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 | |
63 | |
64 | |
65 | |
66 | |
67 | |
68 | |
69 | |
70 | |
71 | |
72 | |
73 | |
74 | |
75 | |
76 | |
77 | |
78 | |
79 | |
80 | |
81 | |
82 | |
83 | |
84 | |
85 | |
86 | |
87 | |
88 | |
89 | |
90 | |
91 | |
92 | |
93 | |
94 | |
95 | |
96 | |
97 | |
98 | |
99 | |
100 | |
101 | |
102 | |
103 | |
104 | |
105 | |
106 | |
107 | |
108 | |
109 | |
110 | |
111 | |
112 | |
113 | |
114 | |
115 | |
116 | |
117 | |
118 | |
119 | |
120 | |
121 | |
122 | |
123 | |
124 | |
125 | |
126 | |
127 | |
128 | |
129 | |
130 | |
131 | |
132 | |
133 | |
134 | |
135 | |
136 | |
137 | |
138 | |
139 | |
140 | |
141 | |
142 | |
143 | |
144 | |
145 | |
146 | |
147 | |
148 | |
149 | |
150 | |
151 | |
152 | |
153 | |
154 | |
155 | |
156 | |
157 | |
158 | |
159 | |
160 | |
161 | |
162 | |
163 | |
164 | |
165 | |
166 | |
167 | |
168 | |
169 | |
170 | |
171 | |
172 | |
173 | |
174 | |
175 | |
176 | |
177 | |
178 | |
179 | |
180 | |
181 | |
182 | |
183 | |
184 | |
185 | |
186 | |
187 | |
188 | |
189 | |
190 | |
191 | |
192 | |
193 | |
194 | |
195 | |
196 | |
197 | |
198 | |
199 | |
200 | |
201 | |
202 | |
203 | |
204 | |
205 | |
206 | |
207 | |
208 | |
209 | |
210 | |
211 | |
212 | |
213 | |
214 | |
215 | |
216 | |
217 | |
218 | |
219 | |
220 | |
221 | |
222 | |
223 | |
224 | |
225 | |
226 | |
227 | |
228 | |
229 | |
230 | |
231 | |
232 | |
233 | |
234 | |
235 | |
236 | |
237 | |
238 | |
239 | |
240 | |
241 | |
242 | |
243 | |
244 | |
245 | |
246 | |
247 | |
248 | |
249 | |
250 | |
251 | |
252 | |
253 | |
254 | |
255 | |
256 | |
257 | |
258 | |
259 | |
260 | |
261 | |
262 | |
263 | |
264 | |
265 | |
266 | |
267 | |
268 | |
269 | |
270 | |
271 | |
272 | |
273 | |
274 | |
275 | |
276 | |
277 | |
278 | |
279 | |
280 | |
281 | |
282 | |
283 | |
284 | |
Neee, es kommt zwar die Meldung "Flash successfully written" - jedoch läuft das o. g. Programm ohne Inhalt -aus dem 1. Thread-, also nur LED aufblinken etc. nicht...
Gast
#2643742
Hats Du an dem Camera Steckverbinder was dran beim Programmieren? Wenn ja, mach das mal ab. Schau mir das heute Abend nochmal genauer an. Gruss
Hallo, nein, angeschlossen ist nur ein Servo, keine Kamera/kein GPS/Kein XBee
Es war ein Probleem mit der 1wire-Pin Belegung!!!
Gast
#2644500
Schön zu lesen, dass es nun funktioniert. Noch viel Spaß beim Projekt!
Antwort schreiben
Bitte melde dich an, um einen Beitrag zu schreiben.

