several problems with PIC18F25J50 the second

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
HjH
Posts: 108
Joined: Sat Jul 03, 2010 4:38 pm
Been thanked: 2 times

several problems with PIC18F25J50 the second

Post by HjH »

Hi
I refer to "several problems with the second PIC18F25J50". After the analysis of the Software, I had three errors found.

First error in the Subroutine "FCD_RS2320_SendRS232String(char* String, char MSZ_String)"

Ln 371 #ifdef HI_TECH_ replaced by #ifdef HI_TECH_C

Second error in the Subroutine "FCD_RS2320_SendRS232String(char* String, char MSZ_String)"

Ln 374 else FCD_RS2320_SendRS232Char(*String); in this place is the pointer wrong
the reason is
Ln 745 FCI_CONCATENATE("Test2, ",7,"",0,FCV_M_SEND,FCSZ_M_SEND); the string inputs have a wrong format (my supposition)

Third error the extended Instruction Set Enable bit is olwas on. You must insert one C-code "__CONFIG(1,PLLDIV_3 & CPUDIV_OSC1 & XINST_OFF);" in the flowcode programm

Regards
HjH
Attachments
Flowcode3.fcf
(6.5 KiB) Downloaded 268 times

HjH
Posts: 108
Joined: Sat Jul 03, 2010 4:38 pm
Been thanked: 2 times

Re: several problems with PIC18F25J50 the second

Post by HjH »

the answer at the Second error is

1. C-Code
char * FCV_M_SEND = "Test2, ";

or the difficult response

2. the code FCI_CONCATENATE("Test2, ",7,"",0,FCV_M_SEND,FCSZ_M_SEND); replace through FCI_CONCATENATE((char *)"Test2, ",7,(char *)"",0,FCV_M_SEND,FCSZ_M_SEND);

Regards
HjH

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: several problems with PIC18F25J50 the second

Post by Benj »

Hello HJH,

I seem to keep coming across posts created by you that all detail the same problem.

Please please please please please please please please please do NOT double post !!!!!!!!!!!

It wastes your time, my time and the time of any other user who is searching the forum for answers.

This must be at least the 4th topic created by you that seems to contains an identical problem.

I have answered your other topics.

If you are not being answered then stick to the same topic but add a new post.

If I catch you creating multiple posts like this again then I will have no choice but to restrict your access to the forums.

Post Reply