strange symbols from rs 323

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
fsbanaan
Posts: 4
Joined: Sun Mar 08, 2009 8:42 pm
Contact:

strange symbols from rs 323

Post by fsbanaan »

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.

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: strange symbols from rs 323

Post by Benj »

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.

fsbanaan
Posts: 4
Joined: Sun Mar 08, 2009 8:42 pm
Contact:

Re: strange symbols from rs 323

Post by fsbanaan »

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.

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: strange symbols from rs 323

Post by Benj »

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.

fsbanaan
Posts: 4
Joined: Sun Mar 08, 2009 8:42 pm
Contact:

Re: strange symbols from rs 323

Post by fsbanaan »

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
Attachments
Smartbox_0_1.fcf
(13.04 KiB) Downloaded 259 times

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: strange symbols from rs 323

Post by Benj »

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.

fsbanaan
Posts: 4
Joined: Sun Mar 08, 2009 8:42 pm
Contact:

Re: strange symbols from rs 323

Post by fsbanaan »

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

User avatar
Steve
Matrix Staff
Posts: 3421
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: strange symbols from rs 323

Post by Steve »

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.

Post Reply