Page 2 of 10

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA v2013_12

PostPosted: Fri Oct 17, 2014 7:26 am
by vloki
Do not modify any file of the framework !!!

Setting the path is not that complicated.
The string found in the preferences dialog together with the #include "...."
is the path to go from the projects folder.

<edit>
BTW: there is no need to switch to newer MLA at the moment

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA v2013_12

PostPosted: Fri Oct 17, 2014 10:55 pm
by Interrupt
I think I finally cracked the include path!!! well complier is not shouting at me any more!!

The path shown in .jpeg VlokiUSB2 is to the mla within the project folder.

(still don't really understand the "go up 6 levels" )
C:\microchip\mla\v2013_12_20\framework (I only count 5 levels to and including "framework")
E:\PicProjects\PicUSB\USB_Vloki\LPC_FSUSB-HID-X-r1\src\mla\v2013_12_20\framework (I only count 8 levels to and including "framework")
Can you please explain


But now I have a few compiler errors ...please see attached pics.
I've also attached the zip of the project file.

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA v2013_12

PostPosted: Fri Oct 17, 2014 11:26 pm
by Interrupt
I think the penny has dropped with the include path level thing.....please see attached .jpeg and please enlighten me if I'm wrong!

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA v2013_12

PostPosted: Sat Oct 18, 2014 8:14 am
by vloki
No ;-)

The project directory is ...\src\LPC-FSUSB-HID.X.X

From there you have to go one up to come to src -> "..\"
From "src" you go down to mla -> "mla\v2013_12_20\framework"

"..\" + "mla\v2013_12_20\framework" -> "..\mla\v2013_12_20\framework"

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA v2013_12

PostPosted: Tue Nov 04, 2014 8:49 am
by vloki
giorgik wrote:Hi vloki, interesting your post. I use MLA current: mla_v2014_07_22_windows_installer.exe.
In your post you put only the figure of the HID terminal and you did not put the project or the executable...

Ok, finally I added a (buggy) project and updated the screenshots

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA v2013_12

PostPosted: Wed Dec 31, 2014 5:26 am
by ashes1312
Brilliant work vloki! Was spending endless hours on forums till I got here!

Cheers!

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA)

PostPosted: Tue Jan 13, 2015 3:26 pm
by vloki
12. Jan. 2015 -> added PIC18F25K50 configurations and switched to MLA v2014_07_22

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA)

PostPosted: Tue Apr 21, 2015 1:33 pm
by TC49
Hello all,

Thank you vloki for your post! works good on my quick little test setup :D

To prevent having to mess around with the paths, simply install the mla library first in C:/microchip/mla/v2013...xxx (this just happens to be the default location while installing this ;)
Then unpack the zip file from vloki in: C:/microchip/mla/v2013_12_22/apps/usb/device.

Worked fine for me when I installed it like this. (yes, I had the path issues at first when using different unpack location.)

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA)

PostPosted: Tue Apr 21, 2015 1:45 pm
by vloki
TC49 wrote:Hello all,
Worked fine for me when I installed it like this. (yes, I had the path issues at first when using different unpack location.)

Which combination did you install ?
I thought that i added all necessary files into the package now :-(

Re: Simplified Microchip PIC USB demos (C18/XC8 MLA)

PostPosted: Wed Apr 22, 2015 10:19 am
by TC49
vloki wrote:
TC49 wrote:Hello all,
Worked fine for me when I installed it like this. (yes, I had the path issues at first when using different unpack location.)

Which combination did you install ?
I thought that i added all necessary files into the package now :-(


Your xxxr2 at the top of this topic and mla 2013_12_20. Wouldn't worry to much about it, just have the folks install it in the right place.