USB communication - code generation problem

A forum useful to discuss the details of the ScicosLab code generator.

Moderator: paolo.gai

Locked
dadomon
Newbie
Posts: 4
Joined: Tue Jun 07, 2011 2:09 pm

USB communication - code generation problem

Post by dadomon » Wed Jun 08, 2011 1:23 pm

hi. i am trying to program my flex base board and demo board with the example i have found on the internet, following these instructions: http://erika.tuxfamily.org/wiki/index.p ... _generator

however, when the console reaches the "final stage", instead of generating the pic30.cof file, i get this error: (its attached).

i dont see if i am doing anything wrong :'(

any help would be much appreciated. thanks
Attachments
untitled.JPG
untitled.JPG (201.16 KiB) Viewed 2383 times

paolo.gai
Administrator
Posts: 857
Joined: Thu Dec 07, 2006 12:11 pm

Re: USB communication - code generation problem

Post by paolo.gai » Wed Jun 08, 2011 1:30 pm

The heap is missing...

Please just take a look at this post:

http://erika.tuxfamily.org/forum/viewto ... 99b7#p1080

Ciao,

Paolo

dadomon
Newbie
Posts: 4
Joined: Tue Jun 07, 2011 2:09 pm

Re: USB communication - code generation problem

Post by dadomon » Thu Jun 09, 2011 10:53 am

thanks paolo, that did the trick. however, in one of the following steps, there is another problem; i have never worked with the "makefile"-s before, so i dont know how to make the app_flex_scicos.exe .

if you already have it compiled, and if you could mail it to me, it would be much more appreciated ;)

cheers!

dadomon
Newbie
Posts: 4
Joined: Tue Jun 07, 2011 2:09 pm

Re: USB communication - code generation problem

Post by dadomon » Thu Jun 09, 2011 1:39 pm

PS here's a screenshot of errors i get when i try to make the file: (if it helps)
Attachments
aa.JPG
aa.JPG (74.08 KiB) Viewed 2368 times

erikadds
Newbie
Posts: 45
Joined: Wed May 12, 2010 9:41 am

Re: USB communication - code generation problem

Post by erikadds » Thu Jun 09, 2011 3:36 pm

Hi,
to compile the application you need the USB library of CygWin.
To run the application two dll files of cygwin (cygusb0.dll, cygwin1.dll) must be in the folder of the executable.
For further information, you can refer to the wiki page of the usb demo.

Thanks,
Dario

dadomon
Newbie
Posts: 4
Joined: Tue Jun 07, 2011 2:09 pm

Re: USB communication - code generation problem

Post by dadomon » Fri Jun 10, 2011 1:26 pm

errr, again i am having some problems... i cant seem to find the libraries anywhere. forgive because i am a bit annoying :)
since i dont have any experience in building exe files, i was hoping that, since it seems that you have all the files neccesary, you could maybe compile the exe and send it to me via e-mail?

if its not too much problem, the mail is damir.stojanovic@gmail.com

thanks for the patience.

cheers

Locked