Hi,
I have developed a program with RS232 Communcation in flow code. I have tested it in MPLAB debugging mode. It worked fine. Then I programmed the code. But after programing the RS232 communication was not working. in the sense there is a datatransfer between the PC and PIC. But Incorrect format. I dont know if it is configuration bits problem. If for some configuration settings at debug mode woorked then it should after code deployment also isn't it?
attached the configuration bits snap. Thanks inadvance.
Kumaran
Problem in RS232 Communication after programing to IC18f4550
Problem in RS232 Communication after programing to IC18f4550
- Attachments
-
- Configuration Bits.JPG
- (143.91 KiB) Downloaded 1278 times
- 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: Problem in RS232 Communication after programing to IC18f4550
Hello
Are you programming directly from MPLAB? Ive found that the configuration data in MPLAB is strange eg for a standard build the configuration data will not be included. You have to do an extra file->export to actually get the configuration data into a hex file. Ive also never programmed a chip via MPLAB so im afraid I cannot comment on whats needed here to pass across the configuration data.
Are you programming directly from MPLAB? Ive found that the configuration data in MPLAB is strange eg for a standard build the configuration data will not be included. You have to do an extra file->export to actually get the configuration data into a hex file. Ive also never programmed a chip via MPLAB so im afraid I cannot comment on whats needed here to pass across the configuration data.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Problem in RS232 Communication after programing to IC18f4550
Hi
with out mplab, how can we program the chip? is it possible to program (burning) from Flowcode? I am using ICD2.
Regards
Kumaran
with out mplab, how can we program the chip? is it possible to program (burning) from Flowcode? I am using ICD2.
Regards
Kumaran
- 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: Problem in RS232 Communication after programing to IC18f4550
Hello
Yes I think this is possible. There might be a guide on how to do this on our forums but if not then Sean should know how this is done.
Yes I think this is possible. There might be a guide on how to do this on our forums but if not then Sean should know how this is done.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel