salve a tutti, da poco ho comprato questo oggetto però dalla documentazione (http://www.liquidware.com/wikipages/name/TouchShield ) sembra fare poco, c'è un sito dove vengono elencati dei comandi, delle librerie per agevolare o potenziare i possibili lavori? inoltre è possibile trovare una guida di come si caricano le immagini e le si visualizzino anche dopo averlo spento e riacceso?
Ciao ma a te funziona? Riesco a compilare un esemmpio ma nel momento dell' upload mi da un errore poco comprensibile....
ecco i passi fatti da me...
install arduino 22 and copy last touchshield firmware
in boards.txt
slide.name=TouchShield Slide
slide.upload.protocol=butterfly
slide.upload.maximum_size=258048
slide.upload.speed=57600
slide.bootloader.low_fuses=0xFF
slide.bootloader.high_fuses=0x98
slide.bootloader.extended_fuses=0xFB
slide.bootloader.path=TouchShield
slide.bootloader.file=TouchShield_boot.hex
slide.bootloader.unlock_bits=0xFF
slide.bootloader.lock_bits=0xFF
slide.build.mcu=atmega2560
slide.build.f_cpu=16000000L
slide.build.core=touchSlide
example:
COLOR red = {255,0,0};
COLOR blue = {0,0,255};
void setup()
{
lcd_rectangle(20,20,80,80, red, blue);
}
void loop()
{
}
set board to touchshield
then compile with no errors
so I press button s2 but when i try to upload it i received this error
Connecting to programmer: .
Found programmer: Id = ""; type =
Software Version = >. Hardware Version = €.Ø
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
ho provato anche con antipasto.... ma ho ottenuto lo stesso risultato
[echo] Building TouchShield Slide libraries...
[echo] Building TouchShield Slide board target...
[echo] Building sketch_may03a for the TouchShield Slide core...
[echo] Calculating sketch_may03a size...
[echo] Binary Sketch (20764 of 250000 bytes, 8.3056%)
BUILD SUCCESSFUL
Total time: 11 seconds
[echo] Uploading sketch_may03a to board...
[exec]
[exec] avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
[exec] Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
[exec]
[exec] System wide configuration file is "../..//../../../tools/avr/etc/avrdude.conf"
[exec]
[exec] Using Port : \.\COM3
[exec] Using Programmer : butterfly
[exec] Overriding Baud Rate : 57600
[exec] AVR Part : ATMEGA2560
[exec] Chip Erase delay : 9000 us
[exec] PAGEL : PD7
[exec] BS2 : PA0
[exec] RESET disposition : dedicated
[exec] RETRY pulse : SCK
[exec] serial program mode : yes
[exec] parallel program mode : yes
[exec] Timeout : 200
[exec] StabDelay : 100
[exec] CmdexeDelay : 25
[exec] SyncLoops : 32
[exec] ByteDelay : 0
[exec] PollIndex : 3
[exec] PollValue : 0x53
[exec] Memory Detail :
[exec]
[exec] Block Poll Page Polled
[exec] Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
[exec] ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
[exec] eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
[exec] flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
[exec] lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
[exec] hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
[exec] efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
[exec] lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
[exec] calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
[exec] signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
[exec]
[exec] Programmer Type : avr910
[exec] Description : Atmel Butterfly Development Board
[exec]
[exec] Connecting to programmer: .
[exec] Found programmer: Id = ""; type =
[exec] Software Version = Ä.w; Hardware Version = o.
[exec] avrdude: error: buffered memory access not supported. Maybe it isn't
[exec] a butterfly/AVR109 but a AVR910 device?
BUILD FAILED
C:\Documents and Settings\mm\Desktop\Antipasto\hardware\arduino\cores\touchshield\build.xml:151: The following error occurred while executing this line:
C:\Documents and Settings\mm\Desktop\Antipasto\hardware\arduino\cores\touchshield\src\template\build.xml:179: The following error occurred while executing this line:
C:\Documents and Settings\mm\Desktop\Antipasto\hardware\arduino\cores\touchshield\config\build.ccmacros.xml:45: exec returned: 1
qualcuno ha qualche suggerimento?
ciao
Ma prima di caricare lo schiacci il tasto sulla touchshield? per capirci questo
[
se no devi selezionare nel programma antipasto la touchshield, premere il tasto e caricare](ImageShack - Best place for all of your image hosting and image sharing needs)
ciao si si lo schiaccio e un led diventa rosso, ma alla fine otteng sempre lo stesso errore sia con antipasto sia con arduino 022. pero io ho attaccato lo shiled direttamente sopra...come lo hai collegato tu?
grazie Marco