Thanks Steve......You gave me the right way to think.... Now it's working of course using MPASM as assembler and inhex32.
Have a good chrismas time Michel
Thanks Steve......You gave me the right way to think.... Now it's working of course using MPASM as assembler and inhex32.
Have a good chrismas time Michel
Bienvenue,
de tres joyeuses fête a toi aussi.
Bonne chance!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Steve,
Just trying to compile the usb demo program with MCS and mpasm (Inhex32)
but get errors caused by the config fuses...
the errors I get are all the same....
__CONFIG directives cannot be used with CONFIG directives
Any idea what these are and how to fix them?
Cheers
Squib
you probably checked this, but if you leave the stock __config lines in the 18f4550.inc, the stock 20mhz config fuses will conflict with the specific 4mhz config fuses in USBDemo.bas.
I just fought with this ******* for like 10 hours, and it turned out to probably have been non-standard USB wire colors! I got frustrated, cut another cable with bizarre colors, and had to figure it out with a meter.. worked first time i hooked up that cable...
dont trust anything!
robert.
Yeah found some useful info about the config fuses in the FAQ section. LOL
Already posted elsewhere but anyways. If you don't have v2.47 and you want to disable the MPASM CONFIG deprecated plah plah, make sure your LIST line in the .INC file looks like this...
Yeah... all default config lines must be commented as well.Code:LIST p = 18F4550, r = dec, w = -311, w = -230, f = inhx32
I still don't understand why there's any default ones anyways...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks