So what can I say...
This is kind of confusing. It is in c:\pbp\usbdemo.asm and as far as I understand it is generated all over again when basic is compiled. Correct? Or have I a misunderstanding somewhere here?Another one for Microchip. I think that's the fixed version, or the broke version. Try changing it to FCMEM and see what happens..
I saw those errors (113,118) with both version (5.14 and 5.20) of MPASM, and those errors are in c:\pbp\usbdemo.asm, rebuild at every compile? ... So I'm confused here also...And also since this time MPASM version changed, this explain why your have the error on _FCMEN_OFF_1H... it compile fine using MPASM 5.20.. sure i need to upgrade...upgrade from 5.20 to what?
So change it!
And did you read the aforementioned thread that was linked in post #26?I saw those errors (113,118) with both version (5.14 and 5.20) of MPASM, and those errors are in c:\pbp\usbdemo.asm, rebuild at every compile? ... So I'm confused here also......upgrade from 5.20 to what?
Change what? The understanding? Yes I try to do that ....
Yes, but I can not see anything else than 3b prompting to take a close look at 18F4550.INC that could be the only thing causing something, but what?And did you read the aforementioned thread that was linked in post #26?
I looks ok to me, however I can't grasp the r,w,w and f:
LIST p = 18F4550, r = dec, w = -311, w = -230, f = inhx32
INCLUDE "P18F4550.INC" ; MPASM Header
AND I can not find the above MPASM Header file,
could that be the villain here?
The basic question is still: Why doesn't DT's code compile and easyHID code compiles but kills the USB-port. ?????![]()
Ok, need the optician again...
Maybe I do not understand what you mean, but the FCMEN is in USBDemo.asm that is generated every time when USBDemo.pbp is compiled with MPASM. I can not find FCMEN in any other file, or should I find it somewhere else? So, if you try change anything in the USBDemo.asm, it will not have any effect, in matter of fact it can be deleted, and it will "born" again on the next compile of USBDemo.pbp. Correct?
The better one knows... that is trueThe link in post #27....it's all about the CONFIG fuses, something that is a bit more complicated when using the 18F series PICs. Read it, learn it, live it...the sooner the better...
The concern here (the last one) is how to compile DT's USBDemo.pbp successfully. Can not see in Melanies 3 and 3b anything that could be the reason for the compile errors here. I may be blind or stupid but I do not see the error source for the the compile errors there... The files in DT's USDemo.zip should work straight away, and probably so they do in general, but not here...
![]()
Bookmarks