None of my project will run when not on the EB-006 Board

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Albert38
Posts: 23
Joined: Mon Jan 18, 2010 8:40 am
Has thanked: 2 times
Contact:

None of my project will run when not on the EB-006 Board

Post by Albert38 »

I need help. I have made a project in Flowcode V4 and V5 that was perfectly running on my EB-006 board with Eblocks. Now I made my stand alone board but even the most simple things will not work.

What I did for example was the attached programm.

(Note the display is not connected the default way as on Eblocks some mins are swaped for easy routing of the PCB)
I hooked up a display to a PIC 16F877A the folowing way.
Display - Pic (pins)
4 - 7
6 - 6
11 - 5
12 - 4
13 - 3
14 - 2
Display pin 1 - VSS pin 2 - VCC pin 3 - contrast adjusted wit a potentiometer.

Xtal 19.6608 Mhz connected to pins 13 and 14 with 2 15pf caps to ground

VCC to pin 11 and 32
VSS to pin 12 and 31

Pin 1 with 10k to VCC

When I power this up nothing appears on the display, who is able to help me out on this?
Attachments
Flowcode1.fcf
Hello World Flowcode V5
(5 KiB) Downloaded 280 times

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: None of my project will run when not on the EB-006 Board

Post by medelec35 »

Hi Albert.
I have not got time to check your hardware pin for pin, but are you sing the same flowchart that worked with your Eblocks?

Reason for asking is because you have not got the correct configuration settings (Chip, Configure... menu).

Oscillator should be set to HS
Watchdog timer should be off.
Low voltage programming should be disabled.
Have you read this?:
http://www.matrixmultimedia.com/mmforum ... =26&t=6936
Its best to get flowchart correct before working on your hardware side.

Also It's a good idea with every new flowchart to create a 1Hz flasher.
Then connect an LED and current limiting resistor to an output pin of your target device to make sure all configuration settings are correct.
This is especially useful for devices that have more complex configuration settings.

Martin.
Martin

Albert38
Posts: 23
Joined: Mon Jan 18, 2010 8:40 am
Has thanked: 2 times
Contact:

Re: None of my project will run when not on the EB-006 Board

Post by Albert38 »

Thank you Martin for your reply. I have checked the topic and have seen a lot of options I did not try so this evening I will give it a new try.

One additional question. About 1.5 year ago I was always able to program devices on the EB-006 with Eblocks connected. I did not work with Flowcode for some time and now found after the update to V5 that I can not program any device without first disconnecting alle Eblocks. This is experianced as verry annoying. Is this a settings or hardware failure?

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: None of my project will run when not on the EB-006 Board

Post by medelec35 »

I find it depends on what microcontroller is being used.
With some target devices need programming twice, others require hardware to be removed, and others program just perfect every time with other Eblocks connected.
So you programmer is probably just fine.

I know with V6 it's heading away with PPP, which may resolve issues assuming failure is associated with timings of PPP?

PPP timing may or may not be the cause, I'm only guessing at that?
Martin

Albert38
Posts: 23
Joined: Mon Jan 18, 2010 8:40 am
Has thanked: 2 times
Contact:

Re: None of my project will run when not on the EB-006 Board

Post by Albert38 »

Martins tip about the 1hz flashing led solved the problem. I forgot to connect pin 5 of the display to ground, so my project was running just fine only the display could not display anything. So from now on whenever I have a spare IO port I will always have the led within my project.

Thanks Martin for your great help

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: None of my project will run when not on the EB-006 Board

Post by medelec35 »

Your welcome Albert38,
Glad its all sorted now.
Thanks for the update.

Martin
Martin

Post Reply