Home AMX User Forum AMXForums Archive Threads AMX Hardware

RunCode Error?

Can anyone make sense of this!!

This is what I get watching diagnostics when I attempt to log into the master's web server.
Line    762 :: GetNumber - Error 1  Tk=0x0000 - 11:47:51
Line    763 :: RunCode - Address Mismatch 0x4050 0x006946 0x00695E - 11:47:51
Line    764 :: CIpCodeMan::GetDevChan 2 Error 0xFFFF 0x006974 - 11:47:52
Line    765 :: Ref Error  ?  Tk=0x0000 Line=627 - 11:47:52
Line    766 :: GetNumber - Error 1  Tk=0x0000 - 11:47:52
Line    767 :: RunCode - Address Mismatch 0x4050 0x006988 0x0069A0 - 11:47:52
Line    768 :: CIpCodeMan::GetDevChan 2 Error 0xFFFF 0x0069B6 - 11:47:52
Line    769 :: Ref Error  ?  Tk=0x0000 Line=628 - 11:47:52
Line    770 :: GetNumber - Error 1  Tk=0x0000 - 11:47:52
Line    771 :: RunCode - Address Mismatch 0x4050 0x0069CA 0x0069E2 - 11:47:52
Line    772 :: CIpCodeMan::GetDevChan 2 Error 0xFFFF 0x0069F8 - 11:47:53
Line    773 :: Ref Error  ?  Tk=0x0000 Line=629 - 11:47:53
Line    774 :: GetNumber - Error 1  Tk=0x0000 - 11:47:53
Line    775 :: RunCode - Address Mismatch 0x4050 0x006A0C 0x006A24 - 11:47:53
Line    776 :: CIpCodeMan::GetDevChan 2 Error 0xFFFF 0x006A3A - 11:47:53
Line    777 :: Ref Error  ?  Tk=0x0000 Line=630 - 11:47:53
Line    778 :: GetNumber - Error 1  Tk=0x0000 - 11:47:53
Line    779 :: RunCode - Address Mismatch 0x4050 0x006A4E 0x006A66 - 11:47:53
Line    780 :: CIpCodeMan::GetDevChan 2 Error 0xFFFF 0x006A7C - 11:47:54

When I try to log in I get the normal user/password prompt but when I input that information and hit enter it takes me to an html / .asp error page with the message shown below.

ASP Error: Undefined procedure GetG4WCLinks At line 1, line => GetG4WCLinks() 
GetG4WCLinks(); 

I was getting this before I reloaded firmware but that didn't help.

I have been reading and writing files to the CF card and I have been up the directory level above /user where the PROG.tkn and system files live but I haven't been writing anything there but I have been viewing those file on my TP so maybe file_open did something.

I have also been FTPing files in and out but mostly in the /user directory and only copying the PROG.tkn and PROG.zip in the master's directory and that should have no affect on the web server even if I deleted them which I haven't.

Other that this the only bug I have is trying to move multiple file through FTP in the same session which is what leb me to the webserver in the first place so I could see if there was possibly a limit setting somewhere on the number of files that could be transferred concurrently with out using "mget" or "mput" just one file after another with "put" or "get".

Any ideas?

Comments

  • So what's referred to on lines 627,628,629,630 in one of your source files? It looks like a devchan reference.

    Have you tried downloading a tiny program to see what happens?

    The error messages are half a second apart on consecutive line numbers. Something appears to be terribly wrong.
  • viningvining Posts: 4,368
    I tried a stable program but to no avail. That's what I expected. I only have one include that uses DevChans and that's because it was derived from the !_FTP_Sender module, other wise I don't use them. My feeling is its related but not related. It's related by the fact that working on this module (current side project) is what caused this problem by my working inside the file structure of the master so I don't think it's the code itself just my screwing something up in an attemp to get my files transferred how and where I wanted them.

    My feelings is that the vxWorks somehow got screwed up although re-loading the firmware should have fixed that.

    That's the only thing I can think of that would cause this error when I go to internet explorer or firefox, type in my master's url, log in and bam! This error starts. At no other time do I see this but when going to the master's web server. Which btw doesn't work now. Although FTP and Telnet still do. Go figure.
  • Joe HebertJoe Hebert Posts: 2,159
    Have you tried a "format disk" from a telnet session to see if that gets you back to square one?
  • viningvining Posts: 4,368
    No, I haven't. I found a copy of vxWorks that I had FTP'd from the master to my laptop and had the bright idea that I would just FTP it back. Not a bright idea. Now that I think about the transfer to my laptop was pobably and ascii transfer rather than binary which is fine for text file and such but not for compiled files which is why after FTPing it back nothing freakin worked.

    So I pulled the NI-4000 and replaced it and everything is fine again. I'll attemp to fix the casrep one when I get a chance. I probably have to do a master to master FTP but I kind of afraid to go back into those directories. Will my luck I'll have two NI-4000 down for the count.

    Actually I can't FTP into it, I couldn't even connect serial to freakin thing so it's either copy the CF card or send it to tech support. Bummer!
  • cbutchercbutcher Posts: 16
    Did anyone ever find an snaswer to this? I"m getting similar messages that are followed by errors that "should" never happen:

    Errors I'm gettting:
    (0001353429) GetNumber - Error 1 Tk=0x0000
    (0001353429) RunCode - Address Mismatch 0x4050 0x1696E0 0x1696EA
    (0001353436) GetReference - Error Tk=0x0001 Add=0x1696E0
    (0001353436) GetNumber - Error 1 Tk=0x0000
    (0001353437) RunCode - Address Mismatch 0x4050 0x1696E0 0x1696EA
    (0001353487) Ref Error ^SOURCE Index 0 Line=612

    The last message should "NEVER" be able to happen as my code checks for a 0 condition prior to using the variable in the array.

    IF(ZONE = 0) {RETURN} //Line 610 of my code
    IF(SOURCE[ZONE].AVAILABLE = NO) {RETURN} // This line 612 of my code. ZONE cannot be 0

    I've tried this code on multiple processors and get similar results on two of them but not the others. I say similar because the "Address Mismatch" was on both but the SOURCE Index 0 message was different on both.

    I'm concerned about the "Address Mismatch" more than anything. Do we know if it is a code issue or hardware related?

    Thanks,

    CJ
Sign In or Register to comment.