Hello there,
I have a problem sending symbols over rs 232 i receive only strange signs on my Hyper termal
I'm using the code provided with Bert van dam's book micro controller systems engineering on a Pic 16F887a at 4 mhz
I think i have all the setings right.
the config word is 0X3F39
please help.
strange symbols from rs 323
- 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: strange symbols from rs 323
Hello,
I would check your baud rate both in the Flowcode RS232 component properties and in the Hyperterminal connection settings and ensure they match. I would also check that you have the clock speed setup correctly in the Project options window of Flowcode eg 4000000.
I would check your baud rate both in the Flowcode RS232 component properties and in the Hyperterminal connection settings and ensure they match. I would also check that you have the clock speed setup correctly in the Project options window of Flowcode eg 4000000.
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: strange symbols from rs 323
I checked both but no change.
I also tried to extract the data before the maxim 232 with a pickit 2 but it don't change a thing.
Witch kind of code i use doesn't matter I only get rubbish.
Willem.
I also tried to extract the data before the maxim 232 with a pickit 2 but it don't change a thing.
Witch kind of code i use doesn't matter I only get rubbish.
Willem.
- 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: strange symbols from rs 323
Hello Willem,
Do you want to post your Flowcode program onto the forums as well as your hyperterminal settings and I will take a look at them for you.
Do you want to post your Flowcode program onto the forums as well as your hyperterminal settings and I will take a look at them for you.
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: strange symbols from rs 323
Hello again,
my setting for hypertermal are:
2400 baud
8,1,n
no error handling
The code has just some lcd breaks to see where the program is.
thanks in advance Willem
my setting for hypertermal are:
2400 baud
8,1,n
no error handling
The code has just some lcd breaks to see where the program is.
thanks in advance Willem
- Attachments
-
- Smartbox_0_1.fcf
- (13.04 KiB) Downloaded 291 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: strange symbols from rs 323
Hello,
If you look in the chip -> configure menu then you see that the target device is set up for the RC oscillator but your Clock speed in your roject options is set to 4MHz. Try changing the configuration to XTAL and also move the oscillator switch to the XTAL position if you are using our hardware. The program should then work correctly.
If you look in the chip -> configure menu then you see that the target device is set up for the RC oscillator but your Clock speed in your roject options is set to 4MHz. Try changing the configuration to XTAL and also move the oscillator switch to the XTAL position if you are using our hardware. The program should then work correctly.
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: strange symbols from rs 323
This is strange.
when i look in the config screen it tells me that i use a rc but when i go into the expert screen it say im using a XT????
whits one do i need to use?
greetings from Curacao
when i look in the config screen it tells me that i use a rc but when i go into the expert screen it say im using a XT????
whits one do i need to use?
greetings from Curacao
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: strange symbols from rs 323
If you go to "chip->configure" and press the "options" button, you can have it permanently working with the "expert" screen (untick the "use simple config screen" option).
The "simple" config screen was used at a time when our dev boards were used mainly with our courses (which use a small selection of chips) to make the configuration settings easier to use. Flowcode and our dev boards are used in many more ways now, so it's probably best for most users to always use the "expert" screen and make this setting permanent in the options screen.
The "simple" config screen was used at a time when our dev boards were used mainly with our courses (which use a small selection of chips) to make the configuration settings easier to use. Flowcode and our dev boards are used in many more ways now, so it's probably best for most users to always use the "expert" screen and make this setting permanent in the options screen.