Search found 45 matches

by erikadds
Wed Mar 21, 2012 3:48 pm
Forum: FLEX (closed)
Topic: Problem using Flex Full board and RS485 module
Replies: 17
Views: 47846

Re: Problem using Flex Full board and RS485 module

Hi, if the UART interrupt doesn't occur maybe is because the CPU interrupts are disabled. If you call ENTER_CRITICAL_SECTION you disable all interrutps. If this is not the problem, check with a simpler code how UART interrupts work and then retry with your application code. I hope this is helpful. T...
by erikadds
Tue Mar 20, 2012 2:03 pm
Forum: FLEX (closed)
Topic: Trouble with the flex card connection
Replies: 1
Views: 11311

Re: Trouble with the flex card connection

Yes, you have to program PIC18 as described in these wiki pages:

http://erika.tuxfamily.org/wiki/index.p ... and_Scicos
http://erika.tuxfamily.org/wiki/index.p ... hter_Board

I hope this is helpful.
Regards,
DDS
by erikadds
Tue Feb 14, 2012 1:28 pm
Forum: Forum in lingua Italiana (closed)
Topic: Errore di compilazione Amazing Ball
Replies: 8
Views: 5192

Re: Errore di compilazione Amazing Ball

Ciao,
puoi usare i messaggi privati, cliccando sul nome dell'utente infatti il forum ti dà la possibilità di inviare mail con allegati.
Se non riesci a caricare l'allegato puoi usare il mio indirizzo personale che ti invio adesso con un messaggio privato.

DDS
by erikadds
Tue Feb 14, 2012 12:20 pm
Forum: Forum in lingua Italiana (closed)
Topic: Errore di compilazione Amazing Ball
Replies: 8
Views: 5192

Re: Errore di compilazione Amazing Ball

C'è un problema di allocazione dei dati.
Avendo il diagramma a blocchi potrei fare alcune prove e localizzare il problema.
Potresti inviarmi il diagramma per email?
Non so dirti dove sia il problema guardando solo l'output della compilazione.

Grazie.
DDS
by erikadds
Fri Feb 10, 2012 5:54 pm
Forum: Forum in lingua Italiana (closed)
Topic: Errore di compilazione Amazing Ball
Replies: 8
Views: 5192

Re: Errore di compilazione Amazing Ball

I blocchi disponibili per la generazione di codice sono riportati, con una breve descrizione, in questa pagina web:
http://erika.tuxfamily.org/wiki/index.p ... cos_Blocks

Informazioni più dettagliate sui blocchi sono disponibili nell'Help di ScicosLab.
by erikadds
Wed Feb 08, 2012 12:40 pm
Forum: Forum in lingua Italiana (closed)
Topic: Errore di compilazione Amazing Ball
Replies: 8
Views: 5192

Re: Errore di compilazione Amazing Ball

Salve, allo stato attuale non esiste una famiglia di blocchi per il calcolo matriciale da usare in generazione di codice con lo ScicosLab pack. Esiste la paletta Matrix ma può essere usata solo per la simulazione dei diagrammi di scicos. Il blocco 'product' può invece essere usato per la generazione...
by erikadds
Wed Oct 12, 2011 3:44 pm
Forum: FLEX (closed)
Topic: Amazing ball model
Replies: 17
Views: 32114

Re: Amazing ball model

Thank you for using our tools! 1) What is the input range for the "Amazing PWM outputs" block? It Seems to me that we have non-symmetric constraints on the inputs of the "Amazing PWM outputs" block? The formula used in the code is: angle_degrees* 10 + 1500 in the range [0, PR2 register] The inputs o...
by erikadds
Mon Oct 03, 2011 8:35 am
Forum: Forum in lingua Italiana (closed)
Topic: Comunicazione USB
Replies: 17
Views: 29764

Re: Comunicazione USB

In linea di massima credo che sia fattibile anche se non conosco bene queste schede. Un'alternativa è quella di prendere gli esempi sul sito della Microchip e programmare il pic18 della FLEX full in modalità HOST mantenendo una comunicazione con il dsPIC mediante interfaccia SPI. Dipende se preferis...
by erikadds
Mon Sep 26, 2011 4:46 pm
Forum: FLEX (closed)
Topic: Motion board initialization
Replies: 4
Views: 14130

Re: Motion board initialization

With MPLAB debugger it is possible to stop the simulation/execution and watch the value of the registers. Watch the value of the TRISD register, and check if the RD6 bit is 0 (output). Then, if RD6 is an output pin, check if there is an instruction in your code that clear the RD6 bit. If the code se...
by erikadds
Mon Sep 26, 2011 2:22 pm
Forum: FLEX (closed)
Topic: Motion board initialization
Replies: 4
Views: 14130

Re: Motion board initialization

Hi, if you want to change the output of the pin RD6, you can use these instructions: LATDbits.LATD6 = 1; // to enable the bridge LATDbits.LATD6 = 0 // to disable the bridge See ee_flex_motionboard.h and ee_flex_motionboard.c for further info about the use of pwm (sections labeled with __USE_DCM_PWM_...
by erikadds
Mon Sep 19, 2011 3:01 pm
Forum: Forum in lingua Italiana (closed)
Topic: Comunicazione USB
Replies: 17
Views: 29764

Re: Comunicazione USB

Ciao Simone, la FLEX full necessita di una daughter board per far funzionare la comunicazione USB. In mancanza di una daughter board è possibile comunque usare l'USB ma è necessario fare dei collegamenti manuali come mostrato in questa pagina del wiki: http://erika.tuxfamily.org/wiki/index.php?title...
by erikadds
Mon Sep 19, 2011 1:55 pm
Forum: Forum in lingua Italiana (closed)
Topic: Comunicazione USB
Replies: 17
Views: 29764

Re: Comunicazione USB

Ciao Simone, grazie alla tua segnalazione ho aggiornato la pagina web http://erika.tuxfamily.org/wiki/index.php?title=USB_communication_using_FLEX_FULL_Demo_Board_and_the_Scilab/Scicos_code_generator#USB_Application aggiungendo qualche dettaglio sulla procedura di compilazione dell'applicativo. Graz...
by erikadds
Mon Sep 19, 2011 9:45 am
Forum: Forum in lingua Italiana (closed)
Topic: Comunicazione USB
Replies: 17
Views: 29764

Re: Comunicazione USB

Ciao Simone, l'errore di compilazione è dovuto al fatto che non hai installato in cygwin il pacchetto libusb-win32. Installa il pacchetto usando l'eseguibile setup.exe di cygwin e riprova a compilare. Nota: l'eseguibile che si ottiene ha bisogno di 2 dll per funzionare. Le dll sono: - cygusb0.dll - ...
by erikadds
Wed Aug 24, 2011 10:01 am
Forum: ScicosLab and Scicos-FLEX code generation (closed)
Topic: Amazing ball - Scicos Flex Code generator
Replies: 19
Views: 34009

Re: Amazing ball - Scicos Flex Code generator

Hi Vivek,
perhaps the LAN port of the PC is in an inconsistent state.
Try to disable and then re-enable the port.

Dario
by erikadds
Thu Jul 21, 2011 1:25 pm
Forum: ScicosLab and Scicos-FLEX code generation (closed)
Topic: Amazing ball - Scicos Flex Code generator
Replies: 19
Views: 34009

Re: Amazing ball - Scicos Flex Code generator

Hi,
errors have been detected during compilation? When the code generator is started, it opens a black window that displays the result of the operation ...