Search found 12 matches

by PaulXPC
Wed Jun 02, 2010 11:24 am
Forum: E-blocks
Topic: Flowkit causes compiler error
Replies: 19
Views: 11541

Re: Flowkit causes compiler error

Hello Ben, Thank you for the file. The new header file does the trick; apparently "porta" should have been "PORTA" in line 644. FlowKit works and I'm able to step through my program, but I'm a bit worried about this compiler message: Serious Warning: Possible sw stack corruption, function 'FC_MARKER...
by PaulXPC
Wed Jun 02, 2010 9:15 am
Forum: E-blocks
Topic: Flowkit causes compiler error
Replies: 19
Views: 11541

Re: Flowkit causes compiler error

Hello Ben, The program is attached to my first post in this topic 8) I'm running Windows 7 64-bit, Windows Security Essentials as anti-virus/firewall and use Flowcode for PIC version 4.3.7.63. I know that 64-bit operating systems can cause all kinds of errors, but I never had problems like this with...
by PaulXPC
Tue Jun 01, 2010 9:11 pm
Forum: E-blocks
Topic: Flowkit causes compiler error
Replies: 19
Views: 11541

Re: Flowkit causes compiler error

Hi Ben, I've done some experiments and I'm pretty sure it has something to do with the 'override ICD pins' option. As soon as you restore it to the default pins (B6 for clock and B7 for data) the program does compile. If you choose any other pins than B6 and B7, you'll get an error when you try to c...
by PaulXPC
Tue Jun 01, 2010 11:55 am
Forum: E-blocks
Topic: Flowkit causes compiler error
Replies: 19
Views: 11541

Re: Flowkit causes compiler error

Hi Ben, Thanks for your reply; should I make a new topic in the v4 forum and link to this one or just repeat everything and have this one deleted/closed? By the way: the original file was on a NAS, so to make sure it's not a file permission problem I copied it to a local folder (with full access rig...
by PaulXPC
Tue Jun 01, 2010 9:40 am
Forum: E-blocks
Topic: Flowkit causes compiler error
Replies: 19
Views: 11541

Flowkit causes compiler error

Hi everybody, Last week I finally received my very own FlowKit and today I tried to debug a hardware prototype I've been working on. This is custom hardware and to make debugging easier, I wanted to use pins A0 and D4 as ICD clock and data pins. I have adjusted the settings in the 'Project options'-...
by PaulXPC
Tue Sep 15, 2009 6:50 am
Forum: General Programming
Topic: Freelance job?
Replies: 8
Views: 6941

Freelance job?

Hi everybody, Our company is using flowcode for a relatively simple hardware project with a PIC and three ADC's. At least, we thought it would be simple :roll: Problem is that we're completely stuck in the (SPI) communication between the PIC and the ADC. We know which commands to send, we see an out...
by PaulXPC
Mon Sep 14, 2009 10:43 am
Forum: Bugs / Application Errors
Topic: Can't erase/write PIC18F4685
Replies: 4
Views: 8738

Re: Can't erase/write PIC18F4685

Hi Ben,

The new configuration files for PPP work like a charm 8)
Thank you very much.

Paul
by PaulXPC
Wed Sep 02, 2009 10:40 pm
Forum: Flowcode V2 & V3
Topic: PIC18F4685 to multiple SPI slave devices
Replies: 1
Views: 3016

PIC18F4685 to multiple SPI slave devices

Hi everybody, I'm working on a project in wich I want to connect three ADC devices to a single PIC18F4685 device over SPI. To make things clearer, I've made a quick diagram of the hardware setup. http://www.xplicare.com/temp/mcu_spi.jpg As you can see the three ADCs share the SDO, SDI and SCK lines....
by PaulXPC
Fri Aug 28, 2009 11:54 am
Forum: Bugs / Application Errors
Topic: Can't erase/write PIC18F4685
Replies: 4
Views: 8738

Re: Can't erase/write PIC18F4685

Some additional information about the programming bug: it must be related to the way the PIC18F4685 is defined in PPP/Flowcode, since I'm able to write, read and erase the MCU just fine with MPlab and the PICkit2.
So the PICkit2 works and the EB-006 doesn't. Why? :cry:
by PaulXPC
Fri Aug 21, 2009 10:22 am
Forum: Bugs / Application Errors
Topic: Can't erase/write PIC18F4685
Replies: 4
Views: 8738

Can't erase/write PIC18F4685

Hi guys, I'm working on a new project based on the PIC18F4685 and after programming a new MCU with a simple blink-a-led program the LED indeed blinked just fine. However, after modifying the original Flowcode program, I could no longer erase or write the MCU, it failed everytime. I was able to write...
by PaulXPC
Mon Jun 30, 2008 12:25 pm
Forum: E-blocks
Topic: SPI and EB-013 trouble
Replies: 4
Views: 4960

Re: SPI and EB-013 trouble

Hello Ben, Thanks, the supplied code works fine with my 16F877a. Still have a question however; when I want to alter the example for use with a 18F2455, I still get the following error: eigen SPI Test.c(346:4): error: unknown identifier 'SPI_NVM_EN_PORT' eigen SPI Test.c(346:4): error: invalid opera...
by PaulXPC
Sun Jun 29, 2008 1:08 pm
Forum: E-blocks
Topic: SPI and EB-013 trouble
Replies: 4
Views: 4960

SPI and EB-013 trouble

Hi guys, I was planning to do some experiments with SPI, so I got myself the EB-013 SPI board. Loading SPITES~1.HEX in my PIC16F877a gives the results I expected. Having some problems with the flowcode files however: - when I load the supplied example SPITEST5.fcf in flowcode and save it (unmodified...