PDA

View Full Version : Using PM.exe with newer USB Chips ??



sirnoname
- 9th June 2006, 12:13
Hi,

i just tried to compile the USB18 Jademo.
I disabled the "Use MPASM Assembler" Checkbox,
as I did with my 16C745 USB Pic.
But now I get an Error of the 18F2455.inc:

[235] Opcode Expected Instead of 'Error':
PM does not support this device

What this means ?

my Ideas:

1. only MPASM can compile this
2. some files are wrong

When I compile with MPASM, the PORTA etc. variables are not defined,
so many error occur with undefined symbol ...


Any ideas are welcome ...

regards
sirnoname

mister_e
- 9th June 2006, 14:44
When using any 18F PIC, you must use MPASM instead of PM.

Be sure you have the latest version of MPASM (or MPLAB) and it should work.

sirnoname
- 9th June 2006, 14:52
Got it.
But why the PBP Compiler is not updated ?

mister_e
- 9th June 2006, 14:54
Nope!

How do you compile your code? MPLAB, MicroCode Studio?

Post your offendent code here and i'll try to compile it here.

mister_e
- 9th June 2006, 15:04
You edited your post :D

The error you get are probably something like CONFIG are deprecated plah plah plah
it's a warning and could be forget as now. See the FAQ configuration fuse thread to know more about.

It's not a PBP compiler problem... much of another Microchip 'improvement' hum, hum, hum. ;)

Personnally i never use PM, only MPASM.