forum.gifForum - General - Topic #203

 

Forum - Forum
General - General


active  Topic # 203  usb library search

2012.12.31 0:39 PM
by brico31

bonne !

4 messages

Join Date 2009.04.21


Hello Philippe,

I always use PMP, it is effective.
today the PIC with USB are cheap,
is there a USB (CDC) unit in développemnt for PMP ?

happy Goodyear.
good future for PMP.
e
Best regards.
Brico31
Write to brico31   Post an answer  Top

[]   

StartPrevious [ 1 2 ] NextEnd
Answer n° 6
--------
2013.01.07 4:15 PM
by brico31

bonne !

5 messages

Join Date 2009.04.21

Thank you for your answers.
I had to try this CDC library with Mikroe, it works.
Then, I had tried to adapt the DANY ' CDC library to the compiler PMP but, I did not manage to adjust the errors of compilation (pointer ...). I am not rather competent for it! Then I have post a topic. k

thanks to you,   good day.

brico31

Write to brico31   Post an answer  Top
Answer n° 7
--------
2013.01.07 5:08 PM
by PPA

Porting to 64-bit PICs is a piece of cake...

Administrator
331 messages

Join Date 2008.12.21

Location: France, IDF

Hi,
I'm on the translation analysis.
I've already basically adapted some of the units.
Unfortunately I found some problems with the current PMP version:
  • Usage of ROM pointers: there are already some possibilities through PMP's  "const romable" parameters but that's not enough; full rom pointers support is already available in the next PMP version on the cook top.
  • Usage of "external" declarations that bypass the standard "uses" clauses and solve circular references that are normally solved by a "uses" clause in a TP / Delphi implementation section, which both PMP & mE Pascal do not support. This point may be solved by some units hierarchy rewriting: not simple.
  • "volatile" and "absolute" declaration constructs are mE Pascal-specific. Absolute does not conform to TP / Delphi as PMP. They put too much semicolons here and put "volatile" at the end (why not). It needs some manual work: easy.
  • Some mE Pascal-specific constructs such as xx := ^byte(yy) which do not conform to standard Pascal too: easy to search/replace.
Else, generally some simple search / replace does the job.

In summary, I would say that it is not so easy and much more difficult with PMP 1.6.2.
I'm currently allowing some more hours on this, stay tuned.

Please if somebody wants to work on this USB port, ask me before so we may share ideas / coding.

Sincerely,


PMP team leader

Write to PPA   Website PPA Post an answer  Top
Answer n° 8
--------
2013.01.19 2:24 PM
by PPA

Porting to 64-bit PICs is a piece of cake...

Administrator
332 messages

Join Date 2008.12.21

Location: France, IDF

Hi,
Some news from the front:
First, the bad news: Unfortunately I found too difficult to adapt the USB libraries to the current PMP compiler.
Next the good ones: I've managed to adapt and compile successfully most of the USB libraries with the yet-to-be-released PMP compiler, with the help of the new support of ROM pointers, conditional directives inside a CONST array, among other things.
For now the libs just compile, they have to be tested.

l The libs will be available in the next release, that's a good point.
Then, the door will be open for an USB bootloader in PMP Pascal too...

Best regards,


PMP team leader

Write to PPA   Website PPA Post an answer  Top
Answer n° 9
--------
2013.03.26 10:08 PM
by funlw65



41 messages

Join Date 2009.12.20

Location: Romania

Awesome! Can't wait to play with the new version. Hopefully, it will continue to support gputils (and having also a serial bootloader in PMP - I see PIC18F46K22 greatly benefiting from that). My USB port from JAL never worked, even if it compiled without errors. Mainly because of me, but also because some code wasn't well documented and the original author of JAL code left the JAL community. Never had problems using JAL for USB applications, but some features are still obscured for me (I asked for some clarifications, but I didn't got them).

Because PIC18F4550 reserve half of the available RAM memory when the USB module is active (and you can't find a better one at 5V in Microchip collection), I didn't found it suitable for a CNCRouter controller so I started to learn AVRs (every day, I like them more and more). But for many other applications is great (cheap, dip package, reliable).
Write to funlw65   Website funlw65 Post an answer  Top
StartPrevious [ 1 2 ] NextEnd
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 





Sentence to think about :  Sometimes I'm quite happy that butter wire cutter was never taken up by computer specialists: mayhap it would no longer be compatible with all butters.  René Cougnenc, June 2, 1995.
^ Top ^