Search found 209 matches

by Mark
Thu Aug 25, 2011 10:04 pm
Forum: Flowcode V4
Topic: SPI Memory, 25LC1024 and SPI Component
Replies: 6
Views: 5567

Re: SPI Memory, 25LC1024 and SPI Component

Ben, Thanks, the test is about as simple as I can make it. CS no longer tied to ground - thanks for the tip. Uses an 16F887 on the HP-488 Board. CS on RC0/Connector Pin1 CLK on RC3 (SCK) Connector Pin4 CHIP SO on RC4 (SDI) Connector Pin5 CHIP SI on RC5 (SDO) ConnectorPin 6 Program:- Initialise - Pri...
by Mark
Thu Aug 25, 2011 1:36 pm
Forum: Flowcode V4
Topic: SPI Memory, 25LC1024 and SPI Component
Replies: 6
Views: 5567

SPI Memory, 25LC1024 and SPI Component

I am trying to interface SPI Memory, 25LC1024 using Flowcode, but have not had any success, despite reading the literature and checking the connections. Taking one step at a time, could anyone post a flowcode routine (two address byte SPI EEPROM) that they know works? (or one in C), using the SPI co...
by Mark
Thu Aug 25, 2011 11:32 am
Forum: Formula Flowcode
Topic: Formula Flowcode Migration to new wheels
Replies: 4
Views: 12206

Re: Formula Flowcode Migration to new wheels

Hi Ben, Thanks. My main issue if that Flowcode greys out the chip parameters when the Formula Flowcode device is selected so I cannot easily port the code to another platform, otherwise I could simply use PICKit 2, for example. I suspect waiting till Steve can get me the Formula Flowcode actual boot...
by Mark
Wed Aug 24, 2011 2:14 pm
Forum: Formula Flowcode
Topic: Formula Flowcode Migration to new wheels
Replies: 4
Views: 12206

Formula Flowcode Migration to new wheels

Hi, I would like to migrate my FF program in Flowcode to a home brew set of robotic wheels, mostly because I need to free up some of the I/O lines to do other things. How can I install the boot loader code into a fresh 18F4455 so that Flowcode interfaces with the chip as if it where FF, and is the c...
by Mark
Thu Aug 18, 2011 8:42 pm
Forum: E-blocks
Topic: EB037 MMC Card Reader e-block, Suitable Chips
Replies: 1
Views: 2789

EB037 MMC Card Reader e-block, Suitable Chips

The MMC e-block has two constraits with flowcode and the multiprogrammer: 1) All 16 Series chips are out and many 18 also, such as 18F2455 on memory grounds. 2) Many 18 series chips split SDI/SDO accross two ports so are unsuitable for harware SPI. Any suggestion of a chip than has been used success...
by Mark
Mon Aug 15, 2011 6:36 pm
Forum: Flowcode V4
Topic: Port B6 & B7 Interrupt on 16F887, not resetting
Replies: 5
Views: 3567

Re: Port B6 & B7 Interrupt on 16F887, not resetting

Hi Martin / Fotios,

Thanks, yes Background debug was the issue.

Thanks also for the tip on configuring the config screen, the other options on that screen are also useful.

Best Regards,
by Mark
Sun Aug 14, 2011 8:45 pm
Forum: Flowcode V4
Topic: Port B6 & B7 Interrupt on 16F887, not resetting
Replies: 5
Views: 3567

Port B6 & B7 Interrupt on 16F887, not resetting

Port B6 & B7 Interrupt on 16F887, not resetting Hi, Attached is a simple test programme for Port B6 & B7 Interrupt on 16F887. It was tested on a HP488 board. It simulates fine. Press B7 or B6 and the Port A LED goes out. However, in the chip it works - BUT reset the chip and it does not work again. ...
by Mark
Thu Aug 04, 2011 7:16 pm
Forum: Flowcode V4
Topic: Flowcode for dsPIC/PIC24 'best chip'
Replies: 2
Views: 3146

Flowcode for dsPIC/PIC24 'best chip'

I am going to order some samples to try out Flowcode for dsPIC/PIC24, I intend to use PICKit2, this seems to support most many suitable chips: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en027813 Please suggest suitable chips, preferably 40pin dil format (the...
by Mark
Thu Aug 04, 2011 6:56 pm
Forum: Formula Flowcode
Topic: gLCD with Formula Flowcode
Replies: 14
Views: 26589

Re: gLCD with Formula Flowcode

Ben, Thanks, works fine, needs Port D and TriscD in the above code. The gLCD board sits well on top of Formula Flowcode, using some 2cm, M3 spacers. I suggest inclusing a gLCD component to Formula Flowcode, Port D with an e-blocks jumper and postion B for he e-block jumper should dispense with the n...
by Mark
Mon Aug 01, 2011 8:35 pm
Forum: E-blocks
Topic: Newbie with problems EB058 gLCD
Replies: 18
Views: 12161

Re: Newbie with problems EB058 gLCD

Ben, Thanks. No syntax problem reported on compile. But, please see my post: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=13&t=8657#p26312 I just cannot get the gLCD working under software driven commss with FC 4.5, exactly the same programme as worked a treat with FC 4 (same details as ...
by Mark
Sun Jul 31, 2011 9:24 pm
Forum: Formula Flowcode
Topic: gLCD with Formula Flowcode
Replies: 14
Views: 26589

Re: gLCD with Formula Flowcode

Hi John, No luck I'm afraid, but hanks, gave it a try no help I'm afraid, tried CS as 0 or 5. this post : http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=29&t=8689#p26209 suggests software driven gLCD is no longer an option with FDC 4.5 in reply to your question. I really hope not. Input by...
by Mark
Fri Jul 29, 2011 9:35 pm
Forum: Formula Flowcode
Topic: gLCD with Formula Flowcode
Replies: 14
Views: 26589

Re: gLCD with Formula Flowcode v 4.5

Having downloaded and installed Flowcode v4.5 and compiled and downloaded a program previously OK the gLCD fails to work. I have checked the Code modification is still present, #define MX_GFXLCD_BUS 1 //0 - Hw / 1 - Sw The Component now only allows CS to be defined. Defining it as 0 or for that matt...
by Mark
Fri Jul 29, 2011 9:16 pm
Forum: E-blocks
Topic: Newbie with problems EB058 gLCD
Replies: 18
Views: 12161

Re: Newbie with problems EB058 gLCD

Ben, I finally got round to trying out the code to turn off the gLCD: gLCD_SendByte(MX_GFXLCD_CMD, 0x01); //Software Reset used as the sole text in a C Code icon. However, I got the error text below, any suggestion? Thanks. File name: C:\Documents and Settings\User\My Documents\Flowcode Code\Formula...
by Mark
Thu Jul 28, 2011 8:08 pm
Forum: General Programming
Topic: Integer Array?
Replies: 9
Views: 8560

Re: Integer Array?

Jonny, Many thanks. Very helpful. I never knew that you could define arrays that way. I had been defining the arrays by creating a string and populating it with numercical values. If I may, it would be great to have a programming manual for flowcode. The 'help' is dare I say helpful but it is just n...
by Mark
Wed Jul 27, 2011 8:31 pm
Forum: General Programming
Topic: Integer Array?
Replies: 9
Views: 8560

Re: Integer Array?

Ben,

Thanks, helpful.

When you say an integer array can be created did you mean:
In Flowcode - at least not directly (or in dsPIC flowcode?)?
In C - If so a reference, so I can look up the syntax please?
An effective array from using a byte array in sets of two bytes?

Thanks again.
by Mark
Wed Jul 27, 2011 1:46 pm
Forum: General Programming
Topic: Integer Array?
Replies: 9
Views: 8560

Integer Array?

Hello, I would like to implement an integer array using Flowcode. Initially I provided a byte array by defining a string variable Data[250] and this worked fine. To simply accommodate large numbers I can obviously use two byte arrays in parallel, one for the high byte, one for the low byte. however,...
by Mark
Thu Jul 21, 2011 9:47 pm
Forum: Formula Flowcode
Topic: gLCD with Formula Flowcode
Replies: 14
Views: 26589

Re: gLCD with Formula Flowcode

gLCD Works fine on FF :) Port D using e-blocks connector and 9v PP3 from 5v (battery ground) to gLCDVPWR (battery +ve).

Thanks.
by Mark
Wed Jul 20, 2011 9:57 pm
Forum: Formula Flowcode
Topic: gLCD with Formula Flowcode
Replies: 14
Views: 26589

Re: gLCD with Formula Flowcode

Many Thanks. To start with I have tried a 16F877 on an EB006, for simplicity. On changing to #define MX_GFXLCD_BUS 1 //0 - Hw / 1 - Sw the gLCD works fine on ports C or D. However, for the ease of others the Connections of the component need to be: R/SDIO 4 CS 0 CL/SCK 3 Data/SDO 5 This is for jumpe...
by Mark
Tue Jul 19, 2011 6:09 pm
Forum: Formula Flowcode
Topic: gLCD with Formula Flowcode
Replies: 14
Views: 26589

gLCD with Formula Flowcode

Hi, I have been using an LCD e-block with FF to keep a track of sensor data. Now I want to use the gLCD e-block. Obviously the gLCD has loads of potential for graphing movement so I am keen to use it. FF seems to have RC0 effectively free (speaker), RC3 free and RC5 used for the USB socket. Since RC...
by Mark
Wed Jul 13, 2011 12:56 pm
Forum: Formula Flowcode
Topic: Clock Speed
Replies: 1
Views: 9203

Clock Speed

Hello, The times generated by an interrupt driven clock in Formula Flowcode do not seem to be very accurate. If few questions: I get the impression that the device is configured to run at 48 MHz, but I see that the Crystal appears to be 4 megahertz, since the configuration parameters are not accessi...
by Mark
Thu Jul 07, 2011 8:18 am
Forum: E-blocks
Topic: Newbie with problems EB058 gLCD
Replies: 18
Views: 12161

Re: Newbie with problems EB058 gLCD

Hi Ben, Thanks, working fine now. For the record the 01 April C code is the one that worked the 06 April posted code did not (for me). The activation of backlight and LED by software is useful, to save power. I did not spot an option to 'deactivate' (for the same benefit) is there one? Cheers, Mark
by Mark
Wed Jul 06, 2011 11:23 am
Forum: E-blocks
Topic: Newbie with problems EB058 gLCD
Replies: 18
Views: 12161

Re: Problems EB058 gLCD

I am trying to get the gLCD working on the EB006 board using a 16F877, the gLCD is on Port C and I am coding in Flowcode v4 pro, checked as up to date. The power (14v (actually 17v)) goes to the gLCD board and ground is via the D-type connector. I have checked '14v' and 3.3v is present on the gLCD u...
by Mark
Mon Nov 23, 2009 10:20 am
Forum: Freelance Embedded Engineers
Topic: Microchip Approved Patent Attorney
Replies: 0
Views: 7873

Microchip Approved Patent Attorney

I am a Patent Attorney with specific interest in microcontrollers and am a great fan of Flowcode. I have specific experience of patenting microcontroller based applications. If you have a commercial interest in obtaining patent protection then drop me a line. My rates are competetive for this specia...
by Mark
Mon Sep 29, 2008 9:17 am
Forum: General / Misc
Topic: I2C EEPROM
Replies: 5
Views: 5332

Re: I2C EEPROM

Hi, Each EEPROM has a different buffer size, the smaller ones are about 16 bytes, the larger about 64 bytes. The problem being that writing the, say 17th byte, rolls the write around back to 0. Hence, unless your programme is in need of speed (where you could use the 1MHz clock speed versions) then ...
by Mark
Wed Sep 24, 2008 11:31 am
Forum: E-blocks
Topic: Development Board HP-488 (Version 3?)
Replies: 1
Views: 2732

Development Board HP-488 (Version 3?)

Hi Guys, The MCLR Reset is not working on the board. the switch is fine but the board is not delivering 5v to the MCLR pin (on any socket). It seems to be not connected as some chips leak enough current to bring it up to around 3v in which case the chip works. Any suggestions? (J29 for Power/USB loo...