Re: DM240013-2 (Microstick for the 5V PIC24F K-series) not reading Device ID with MPLAB X
qhb is probably right... I've seen MPLABX produce just about every conceivable error message possible when the firmware in the tool doesn't match what MPLABX is expecting to see, and most of them have nothing to do with the real problem.
If you know that your PIC24FV32KA302 doesn't really have LVP OFF, perhaps try forcing a firmware update for the microstick. I'd remove the PIC24 from the microstick first as I don't like to have the target device connected when reprogramming the tool.
- Go into the project properties and select the debug tool
- in the 'Options Categories' listbox select 'firmware'
- uncheck 'use latest firmware'
- select 'Firmware File' and 'browse for a specific version'. You should be presented with the latest .jam file
- Apply, OK
After it's updated, unplug the microstick, put the pic back in and restart everything.
If you actually have managed to set LVP OFF then you'll need to get it turned back on to get the microstick working with it. Try a new blank erased device.