ich habe schon gelesen das "stefan" wohl das gleiche Problem hat wie ich, ich möchte den flash Speicher mittels avrdude lesen. Jedoch kommt bei mir ein Error: [code] root@ubuntu:~# sudo avrdude -p M8 -c bascom -p m8 -U flash:r:/home/Desktop/asdf avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e9307 avrdude: current erase-rewrite cycle count is -50462977 (if being tracked) avrdude: reading flash memory: Reading | ################################################## | 100% 3.30s avrdude: writing output file "/home/Desktop/asdf" avrdude: error opening /home/Desktop/asdf: No such file or directory avrdude: output file /home/Desktop/asdf auto detected as invalid format avrdude: can't open output file /home/Desktop/asdf: No such file or directory avrdude: write to file '/home/Desktop/asdf' failed [code/] bitte um hilfe
frank schrieb: > /home/Desktop/asdf Sicher das diese Pfadangabe richtig ist? Tippe eher auf: /home/DeinNutzername/Desktop/asdf mfG ingo
auch dann nicht :
1 | root@ubuntu:~# sudo avrdude -p M8 -c bascom -p m8 -U flash:r:/home/root/Desktop/asdf |
2 | |
3 | avrdude: AVR device initialized and ready to accept instructions |
4 | |
5 | Reading | ################################################## | 100% 0.00s |
6 | |
7 | avrdude: Device signature = 0x1e9307 |
8 | avrdude: current erase-rewrite cycle count is -50462977 (if being tracked) |
9 | avrdude: reading flash memory: |
10 | |
11 | Reading | ################################################## | 100% 3.40s |
12 | |
13 | avrdude: writing output file "/home/root/Desktop/asdf" |
14 | avrdude: error opening /home/root/Desktop/asdf: No such file or directory |
15 | avrdude: output file /home/root/Desktop/asdf auto detected as invalid format |
16 | avrdude: can't open output file /home/root/Desktop/asdf: No such file or directory |
17 | avrdude: write to file '/home/root/Desktop/asdf' failed |
> root@ubuntu:~# sudo avrdude
^^^^ ^^^^
pfui unnötig
..und und des root home ist üblicherweise /root - mit ohne Desktop.
Kriegt man übrigens auch raus wenn man einfach 'cd' eintippselt. Oder
man geht gleich nach /tmp.
HTH und nix für ungut
Kann nicht wirklich glauben, das dein Username "root" ist, weil Ubuntu das eigentlich nicht zulässt. Root hat normalerweise auch kein Heimatverzeichnis unter "/users", es sei denn, Du hast es explizit angelegt. Gib doch einfach "pwd" am Terminal ein, dann siehst Du, wo Du dich gerade befindest. Da hängst Du noch "/DeinDateiname" an, dann steht die gelesene Datei in deinem Heimatverzeichnis. Bei mir heist das Desktopverzeichnis übrigens "Arbeitsfläche". mfG ingo
> jetzt kommt nur noch : invalid output file format: -1
..fileformat angeben, z.B. 'i' für Intel Hex.
HTH
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.