View previous topic :: View next topic |
Author |
Message |
jimzum
Joined: 04 May 2024 Posts: 13
|
cant find 32 bit version of jvm.dll |
Posted: Sun May 05, 2024 8:05 am |
|
|
I know that this question has been asked before, however a search brings up nothing.
Dew to a hard drive failure, I had to reload all my software. I amusing
IDE Version 5.086
PCB Version 5.105
PCM Version 5.105
PCH Version 5.105
PCD Version 5.105
I am able to load and build my software with no problems.
I want to use a PICKIT 3 to do the programming
The CCS is looking for a 32 bit version of JVM.DLL
I have downloaded and installed all of the modules under MPLAB Plug-ins several times, and this DLL does not seem to be among them
where do you find this DLL?
Thank You |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9221 Location: Greensville,Ontario
|
|
Posted: Sun May 05, 2024 8:08 am |
|
|
Maybe try Google to locate it ?
I used... jvm.dll 32 bit download.. and 2nd hit is the 32 bit version..... |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19496
|
|
Posted: Sun May 05, 2024 8:22 am |
|
|
That is the core code for the java virtual machine. Nothing to do with CCS.
It is used by MPLAB, so if you re-install this, it'll be included.
When you use the MPLAB plug-in, it is MPLAB that actually 'does' the
programing. This has to be correctly installed for it to work.... |
|
|
jimzum
Joined: 04 May 2024 Posts: 13
|
|
Posted: Sun May 05, 2024 8:32 am |
|
|
Ok if it is used with MPLABS then why is CCS compiler asking for it, when I click in the Build and Run button?
I also have MPLAB V5.5 installed and it also works but the version of CCS compiler version 3.14 generates 2 errors
1 error : Exception EReadError in module CCSC.exe at 00026ECF
Error reading fccscmain.Font.Color: invalid property value
2nd error : Exception ElnvalidPointer in CCSC.exe at 00004AE1
The compiler then crashes |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19496
|
|
Posted: Sun May 05, 2024 9:56 am |
|
|
Because you are using the plug-in.
This _calls_ the programming/debugging functions supplied by MPLAB,
when you ask it to program using a programmer that is not one it directly
supports. |
|
|
jimzum
Joined: 04 May 2024 Posts: 13
|
|
Posted: Sun May 05, 2024 10:51 am |
|
|
ok another question
in MPLAB 5.5 I am able to burn previously codes using the PICKIT 3 programmer to my PIC24FV32Ka302 chip.
Using CCS compiler to generate the hex file I am then able to burn the chip using MPLAB IPE 5.5 code and the PICKIT 3 programmer
If CCS does not support the PICKIT 3 chip why is it looking for the unfound DLL ?
WHY not state that is not supported?
Clicking on the DEBUG arrow lists a number of programmers including the PICKIT 3 and PICKIT 4 as well as other MPLABX and MPLAB programmers? |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19496
|
|
Posted: Sun May 05, 2024 11:53 am |
|
|
It is not CCS saying this. It calls the MPLAB function, and for some reason,
this is then complaining that the DLL is not found.
Possibly a path problem with the setup when called by CCS rather than
directly by MPLAB.
If you do a search on your system, you will find the jvm. Try adding the
path where this is to the path used when you run CCS.
You can just do an install of jvm. However if MPLAB is working then this
is installed (it uses this). Probably not found because it is in the Windows
directories, which the normal search doesn't look in now. |
|
|
jimzum
Joined: 04 May 2024 Posts: 13
|
|
Posted: Sun May 05, 2024 4:43 pm |
|
|
Good Afternoon
I uninstalled both MPLABS and CCS software, deleted all folders attached to them, and then reinstalled both MPLAB 5.5 and CCS 5.105.
MPLAB still has the issue with the CCSC compiler 3.14, in that I get 2 errors when trying to compile my software.
CCS will now find the PICKIT 3 programmer
however it will not program the PIC24FV32KA302 micro.
what I get is
CCSCLOAD: connecting
CCSCLOAD: Programming PIC24FVKA302
and that is it no completion or any other communication.
I know the processor is not programmed since the Real Time Clock just keeps counting. If the processor was reprogramed the real time clock would start at 00:00:00, since this is how I have it reset.
trying the CCSC load as stand alone
clicking on "write to chip" the program crashes
Any Ideas of what to try next? |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19496
|
|
Posted: Mon May 06, 2024 1:40 am |
|
|
I realised what may be causing your problem last night.
What plug-in are you installing????. Are you using the one that came with the
compiler, or the latest one from the CCS web site?.
The latter is _vital_.....
MPLAB-X was updated about ten versions ago, to be a fully 64bit
application. The 'old' CCS plug in does not work correctly after this point,
and will give an error like you are seeing. The plug-in was updated a little
afterwards to make this work. You need to be using the 2.0.0.13 plug-in.
I think 5.105, is old enough, that it's plug-in will be the incorrect one.
Suspicion is that when you lost your software, you re-installed a newer
copy of MPLAB-X than you had before, so your plug-in no longer works.
On installing jvm.dll if this doesn't fix the problem, install a copy of
the old MPLAB (8.92). This automatically installs jvm for you. |
|
|
jimzum
Joined: 04 May 2024 Posts: 13
|
|
Posted: Mon May 06, 2024 7:59 am |
|
|
Then Plugins that I am using come from the CCS website. They are
MPLAB IDE Plugin Version 2.0.0.13
MPLAB X IDE Plugin Version 3.14
MPLAB® ICD 2, MPLAB® ICD 3, MPLAB® ICD 4, MPLAB® PICkit™ 3, MPLAB® PICkit™ 4 & MPLAB® REAL ICE™ Interface Version 0.005 |
|
|
jimzum
Joined: 04 May 2024 Posts: 13
|
|
Posted: Mon May 06, 2024 10:58 am |
|
|
Ok
I upgraded toe CCS compiler to the latest version and down loaded all the plugins for MPLAB from the CCS website
IDE Version 5.117
PCB Version 5.117
PCM Version 5.117
PCH Version 5.117
PCD Version 5.117
Plugins listed in earlier post this morning
I am able to connect to the PICKIT 3 programmer.
When I try to program the PIC24FV32KA302 chip I get
CCLOAD: Connecting
CCLOAD: Programming PIC24FV32KA302
The CCLOAD generates no further commands and the chip is NOT programmed
When I try the CCSC Loader as stand alone
it recognizes the PIC24FV32KA302 chip
however when clicking on the "write to chip" function the program crashes |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9221 Location: Greensville,Ontario
|
|
Posted: Mon May 06, 2024 12:54 pm |
|
|
OK, so writing doesn't work...
Can you
1) erase a PIC ?
2) can you confirm it's erased ?
3) can you read a preprogrammed PIC ?
4) Have you tried differnent PICs ? |
|
|
jimzum
Joined: 04 May 2024 Posts: 13
|
|
Posted: Mon May 06, 2024 1:20 pm |
|
|
no clicking on any of the buttons causes the program to crash |
|
|
jimzum
Joined: 04 May 2024 Posts: 13
|
|
Posted: Mon May 06, 2024 1:48 pm |
|
|
Ok update
I installed MPLAB 6.2 to see if I could fix the errors I was getting from the tool kit CCS compiler 3.15.
I deleted MPLAB 5.5 and installed 6.2
After installing 6.2. MPLAB stated that the CCS C compiler was not installed.
I then deleted the CCS and installed the newest version 5.117
IDE Version 5.117
PCB Version 5.117
PCM Version 5.117
PCH Version 5.117
PCD Version 5.117
After reinstalling the CCS Compiler MPLAB 6.2 found the CCS compiler and it will compile and burn the code.
Now however the CCS code is looking for the 32 bit version of JVM.dll
I give up |
|
|
jimzum
Joined: 04 May 2024 Posts: 13
|
|
Posted: Mon May 06, 2024 6:01 pm |
|
|
I searched a number of old drives and cd disks and found a 32 bit version of JVM.dll
The load program no longer crashes however under diagnostic mode
Under Diagnostics
Software: 5085
The firmware box is blank
Hardware: Rev 0 (PID 0)
The side bar software/firmware
your software and firmware are up to date update firmware is
the chip ID reads all zeros
Trying to program the chip fails
Erase Chip fails ID = 0000
verify chip = File fails
any ideas |
|
|
|