Assembly error message & other problems
Assembly error message & other problems
Hi,
I have a version 2 development board with a PIC16F84A connected to the LPT port of a PC running Windows XP service pack 3.
I am running PPP v3 and ASM4PICsV4
If I launch PPPv3 I can autodetect the version 2 board under options and autodetect the 16F84A.
Still in PPPv3 I can navigate to a .HEX file, open it and download to the PIC. The software then runs successfully on the dev board.
If I launch ASM4Pics I see all the tutorial files which open successfully.
If I select the Vlab button I get a message saying that it can't open the files although the path displayed looks correct
If I select Full listing/IDE the IDE window opens with the correct listing diplayed. If I then select Vlab from the IDE window the simulator loads and works correctly
If from IDE I select build I get an unknown error message which if i then close I get a can't find hex file message.
I'm picking this issue up from a colleague who informs me that he used to be able to assemble and download code but since updating the software has not been able to do so. Sorry if that is a bit vague.
The bottom line is that I seem to be communicating with the development board OK but can't assemble the source code for some reason. I think that once I have a HEX file then it should run. The not being able to access Vlab directly is an irritation but as I work in an educational environment i'd like to fix that problem as well.
Hope that someone can point me in the right direction.
By the way I hope that this is the correct area to post this issue
Thank you
Keith Emerson
I have a version 2 development board with a PIC16F84A connected to the LPT port of a PC running Windows XP service pack 3.
I am running PPP v3 and ASM4PICsV4
If I launch PPPv3 I can autodetect the version 2 board under options and autodetect the 16F84A.
Still in PPPv3 I can navigate to a .HEX file, open it and download to the PIC. The software then runs successfully on the dev board.
If I launch ASM4Pics I see all the tutorial files which open successfully.
If I select the Vlab button I get a message saying that it can't open the files although the path displayed looks correct
If I select Full listing/IDE the IDE window opens with the correct listing diplayed. If I then select Vlab from the IDE window the simulator loads and works correctly
If from IDE I select build I get an unknown error message which if i then close I get a can't find hex file message.
I'm picking this issue up from a colleague who informs me that he used to be able to assemble and download code but since updating the software has not been able to do so. Sorry if that is a bit vague.
The bottom line is that I seem to be communicating with the development board OK but can't assemble the source code for some reason. I think that once I have a HEX file then it should run. The not being able to access Vlab directly is an irritation but as I work in an educational environment i'd like to fix that problem as well.
Hope that someone can point me in the right direction.
By the way I hope that this is the correct area to post this issue
Thank you
Keith Emerson
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Assembly error message & other problems
Hello,
Would it be possible to post a screenshot of the error occuring? Or a description of the error message?
Would it be possible to post a screenshot of the error occuring? Or a description of the error message?
Re: Assembly error message & other problems
Hi David,
Please find word file with screenshots. The second shot is seen after closing the error window.
Thanks,
Keith
Please find word file with screenshots. The second shot is seen after closing the error window.
Thanks,
Keith
- Attachments
-
- Assemblererror codes.doc
- (113 KiB) Downloaded 257 times
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Assembly error message & other problems
Hello,
Can you go to Assemble >> Options
and then paste what you have in the four sections into a reply here.
Can you go to Assemble >> Options
and then paste what you have in the four sections into a reply here.
Re: Assembly error message & other problems
Hello David,
Sorry for the delay, half term.
I've pasted a screen shot but the they are missing the early parts of the path.
Assembler
C:\ Program files \ Matrix Multimedia \ ASM4PICsV4 \ MPASM Suite \ MPASMWIN.EXE / .....
Programmer
C:\ Program files \ Matrix Multimedia .....
PICconfigure
C:\ Program files \ Matrix Multimedia .....
Simulator
C:\ Program files \ Matrix Multimedia .....
Thanks,
Keith
Sorry for the delay, half term.
I've pasted a screen shot but the they are missing the early parts of the path.
Assembler
C:\ Program files \ Matrix Multimedia \ ASM4PICsV4 \ MPASM Suite \ MPASMWIN.EXE / .....
Programmer
C:\ Program files \ Matrix Multimedia .....
PICconfigure
C:\ Program files \ Matrix Multimedia .....
Simulator
C:\ Program files \ Matrix Multimedia .....
Thanks,
Keith
- Attachments
-
- Assembler options.doc
- (91.5 KiB) Downloaded 256 times
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Assembly error message & other problems
Hello,
Have you tried a reinstall of the program?
Is the content installed locally or remotely on a server?
Does the program work if you load your computer in safe mode? Im wondering if there is any software (AV or otherwise) which is causing the problem.
Im afraid the "Unknown error" isnt very helpful in this regards.
Have you tried a reinstall of the program?
Is the content installed locally or remotely on a server?
Does the program work if you load your computer in safe mode? Im wondering if there is any software (AV or otherwise) which is causing the problem.
Im afraid the "Unknown error" isnt very helpful in this regards.
Re: Assembly error message & other problems
Hello,
As I work at a College only the IT department have admin rights to install programmes etc. As a result it can take some time to get programmes re-installed etc.
The programme is installed locally on the PCs and I followed the path for the assembler. The MPASMWIN.exe programme seems to run OK from this location i.e gets to the start screen. I assume that the parts after the "/" transfer some parameters to the programme? I haven't tried assembling anything using the assembler as I'm not sure how to set it up manually. As we use these programmes for our courses we obviously would like the assembler to run directly from the tutorials etc.
Thanks,
Keith Emerson
As I work at a College only the IT department have admin rights to install programmes etc. As a result it can take some time to get programmes re-installed etc.
The programme is installed locally on the PCs and I followed the path for the assembler. The MPASMWIN.exe programme seems to run OK from this location i.e gets to the start screen. I assume that the parts after the "/" transfer some parameters to the programme? I haven't tried assembling anything using the assembler as I'm not sure how to set it up manually. As we use these programmes for our courses we obviously would like the assembler to run directly from the tutorials etc.
Thanks,
Keith Emerson
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Assembly error message & other problems
Hello Keith,
Does the VLab work?
Have you tried the fix (its for 64 bit computers but it may work for you).
http://www.matrixmultimedia.com/support ... ?f=9&t=678
Does the VLab work?
Have you tried the fix (its for 64 bit computers but it may work for you).
http://www.matrixmultimedia.com/support ... ?f=9&t=678
Re: Assembly error message & other problems
I don't think that I can open Vlab directly from Assembly for PIC micros but if I open the IDE Vlab runs OK from there.
I'm out tomorrow but I'll check on Thursday.
I haven't tried the 64bit fixes but I suspect that I'll need to get IT involved because of the privelages required.
Thanks,
Keith
I'm out tomorrow but I'll check on Thursday.
I haven't tried the 64bit fixes but I suspect that I'll need to get IT involved because of the privelages required.
Thanks,
Keith
Re: Assembly error message & other problems
Hello David,
I can confirm that Vlab won't open directly from ASM4PIC but will open and run via the ICON in IDE.
I've also tried the following:
RUN ASM4PIC
Opened tutorial 2.1 (Tuta2.asm)
Opened full listing/IDE (get unknown error if try to assemble)
Saved file as To2.mxa file into my file area on the college network
Opened MPASMWIN directly from exe file in MPASM Suite directory
Opened T02.mxa file and assembled
HEX files etc are then saved to my file area on network
Opened PP3. Opened T02.HEX file and successfully downloaded to development board and ran
In short, all the programmes seem to work OK in isolation but seem to have problems linking to the files
e.g I can't assemble the tutorial files directly from ASM4PIC
Does this help ?
Thanks
Keith
I can confirm that Vlab won't open directly from ASM4PIC but will open and run via the ICON in IDE.
I've also tried the following:
RUN ASM4PIC
Opened tutorial 2.1 (Tuta2.asm)
Opened full listing/IDE (get unknown error if try to assemble)
Saved file as To2.mxa file into my file area on the college network
Opened MPASMWIN directly from exe file in MPASM Suite directory
Opened T02.mxa file and assembled
HEX files etc are then saved to my file area on network
Opened PP3. Opened T02.HEX file and successfully downloaded to development board and ran
In short, all the programmes seem to work OK in isolation but seem to have problems linking to the files
e.g I can't assemble the tutorial files directly from ASM4PIC
Does this help ?
Thanks
Keith
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Assembly error message & other problems
This is very strange, if all the seperate applications work, ill have to consult someone else on this.