Helpful ReplyHot!Embedded Host Printer POS Demo is not available in MPLab Harmony

Author
embeddedport
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2018/05/20 21:20:55
  • Location: 0
  • Status: offline
2018/05/23 21:07:56 (permalink)
0

Embedded Host Printer POS Demo is not available in MPLab Harmony

Hi There,
 
Objective: Printer Interfacing with PIC32MX250F128B (custom board -https://www.sunrom.com/p/serial-uart-to-usb-pen-drive) where printer data is provided through UART.

Tools Used:
MPLab Harmony: v2.05.01
Mplab X Ide: v4.15

I want to interface "TVS MSP 240 classic" dot matrix printer with PIC32MX250F128B (custom development board) for POS application. After browsing Microchip forums and application note AN1233, I came to know that there is an example code (USB Host - Printer - Simple POS) is available. But when I browsed installation directory of MPLab Harmony v2.05.01, I am not able to find that demo app. There were other USB demo apps (hid_basic_keyboard, hid_basic_mouse_usart, etc..) available but no demo app related to printer class. So is it not supported by Harmony anymore?

After browsing at multiple places I came to know "USB Host - Printer - Simple POS" is available in Legacy MLA v2013-06-15 software. How can I use this demo for my microcontroller PIC32MX250F128B (custom board)? What are the things needs to be taken care if I try to modify the default demo configuration for PIC24FJ64GB004 to run this app on my board?

I am totally new to the PIC so any help will be greatly appreciated.

Thanks,
Bhavya
#1
embeddedport
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2018/05/20 21:20:55
  • Location: 0
  • Status: offline
Re: Embedded Host Printer POS Demo is not available in MPLab Harmony 2018/06/11 04:14:57 (permalink)
0
I am still looking for the available solution. Is there anyone who has any idea in this.
#2
RISC
Super Member
  • Total Posts : 5361
  • Reward points : 0
  • Status: offline
Re: Embedded Host Printer POS Demo is not available in MPLab Harmony 2018/06/12 07:27:35 (permalink) ☄ Helpfulby embeddedport 2018/06/12 18:43:02
3 (1)
Hi,
There is no Out of The box project USB Host - Printer - Simple POS in Harmony.
This project was implemented on MLA (libraries before Harmony).
You'll need to download june 2013 MLA libraries and "port" + "adapt" this to Harmony
Regards 
post edited by RISC - 2018/06/13 15:53:10
#3
embeddedport
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2018/05/20 21:20:55
  • Location: 0
  • Status: offline
Re: Embedded Host Printer POS Demo is not available in MPLab Harmony 2018/06/12 18:46:08 (permalink)
0
Thanks @RISC for your reply. Can you please guide me or do you have any document which can help me in porting USB Host - Printer - Simple POS demo in harmony for my targetted microcontroller PIC32MX250F128B.
 
Thank you in advance.
#4
NKurzman
A Guy on the Net
  • Total Posts : 16665
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Embedded Host Printer POS Demo is not available in MPLab Harmony 2018/06/12 20:07:35 (permalink)
0
Read the App Note.  The accompanying code is in the MLA example.  You will need to find the code in there.
what USB Class is it?
#5
embeddedport
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2018/05/20 21:20:55
  • Location: 0
  • Status: offline
Re: Embedded Host Printer POS Demo is not available in MPLab Harmony 2018/06/12 20:14:14 (permalink)
0
It's Embedded Host USB Printer Class
#6
NKurzman
A Guy on the Net
  • Total Posts : 16665
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Embedded Host Printer POS Demo is not available in MPLab Harmony 2018/06/13 15:34:06 (permalink)
3 (1)
You will then need to look at the Harmony example for adding a Custom Class.
#7
Jump to:
© 2018 APG vNext Commercial Version 4.5