Simplified Microchip PIC USB demos (C18/XC8 MLA)

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

Postby vloki » Fri Oct 17, 2014 7:26 am

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
vloki
Verified identity
 
Posts: 186
Joined: Wed May 28, 2014 8:42 am
Location: Germany
PIC experience: Professional 5+ years with MCHP products

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

Postby Interrupt » Fri Oct 17, 2014 10:55 pm

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.
Attachments
LPC_FSUSB-HID-X.X_nd.zip
(44.12 KiB) Downloaded 528 times
Vloki_USB2.jpg
this path is to the mla within the project folder
Vloki_USB2.jpg (151.73 KiB) Viewed 9976 times
Vloki_USB1.jpg
Vloki_USB1.jpg (155.87 KiB) Viewed 9976 times
Interrupt
 
Posts: 4
Joined: Thu Oct 16, 2014 8:36 am
PIC experience: Experienced Hobbyist

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

Postby Interrupt » Fri Oct 17, 2014 11:26 pm

I think the penny has dropped with the include path level thing.....please see attached .jpeg and please enlighten me if I'm wrong!
Attachments
include Directories_cracked.jpg
include Directories_cracked.jpg (33.61 KiB) Viewed 9974 times
Interrupt
 
Posts: 4
Joined: Thu Oct 16, 2014 8:36 am
PIC experience: Experienced Hobbyist

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

Postby vloki » Sat Oct 18, 2014 8:14 am

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"
vloki
Verified identity
 
Posts: 186
Joined: Wed May 28, 2014 8:42 am
Location: Germany
PIC experience: Professional 5+ years with MCHP products

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

Postby vloki » Tue Nov 04, 2014 8:49 am

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
vloki
Verified identity
 
Posts: 186
Joined: Wed May 28, 2014 8:42 am
Location: Germany
PIC experience: Professional 5+ years with MCHP products

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

Postby ashes1312 » Wed Dec 31, 2014 5:26 am

Brilliant work vloki! Was spending endless hours on forums till I got here!

Cheers!
ashes1312
 
Posts: 1
Joined: Wed Dec 31, 2014 4:55 am
PIC experience: Experienced Hobbyist

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

Postby vloki » Tue Jan 13, 2015 3:26 pm

12. Jan. 2015 -> added PIC18F25K50 configurations and switched to MLA v2014_07_22
vloki
Verified identity
 
Posts: 186
Joined: Wed May 28, 2014 8:42 am
Location: Germany
PIC experience: Professional 5+ years with MCHP products

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

Postby TC49 » Tue Apr 21, 2015 1:33 pm

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.)
TC49
 
Posts: 2
Joined: Tue Apr 21, 2015 1:18 pm
PIC experience: Experienced Hobbyist

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

Postby vloki » Tue Apr 21, 2015 1:45 pm

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 :-(
vloki
Verified identity
 
Posts: 186
Joined: Wed May 28, 2014 8:42 am
Location: Germany
PIC experience: Professional 5+ years with MCHP products

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

Postby TC49 » Wed Apr 22, 2015 10:19 am

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.
TC49
 
Posts: 2
Joined: Tue Apr 21, 2015 1:18 pm
PIC experience: Experienced Hobbyist

PreviousNext

Return to USB

Who is online

Users browsing this forum: No registered users and 7 guests

cron