Page 1 of 1

USB communication - code generation problem

Posted: Wed Jun 08, 2011 1:23 pm
by dadomon
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

Re: USB communication - code generation problem

Posted: Wed Jun 08, 2011 1:30 pm
by paolo.gai
The heap is missing...

Please just take a look at this post:

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

Ciao,

Paolo

Re: USB communication - code generation problem

Posted: Thu Jun 09, 2011 10:53 am
by dadomon
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!

Re: USB communication - code generation problem

Posted: Thu Jun 09, 2011 1:39 pm
by dadomon
PS here's a screenshot of errors i get when i try to make the file: (if it helps)

Re: USB communication - code generation problem

Posted: Thu Jun 09, 2011 3:36 pm
by erikadds
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

Re: USB communication - code generation problem

Posted: Fri Jun 10, 2011 1:26 pm
by dadomon
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