Search found 209 matches
- Wed Sep 12, 2012 10:27 pm
- Forum: Flowcode V5
- Topic: Flowcode v5.4 PIC18F47J53 Code Error
- Replies: 8
- Views: 7495
Re: Flowcode v5.4 PIC18F47J53 Code Error
Ben, Thanks for the prompt reply. The compile error is no longer present. However, I am not seeng any outputs (scope on all pins and particularly D0 and D1, see data sheet page as attached). With I2C 1 port choice I am seeing activity on RB4 and RB5, although whilst I2C Start is clearly OK MI2C Send...
- Tue Sep 11, 2012 9:50 pm
- Forum: Flowcode V5
- Topic: Flowcode v5.4 PIC18F47J53 Code Error
- Replies: 8
- Views: 7495
Re: Flowcode v5.4 PIC18F47J53 Code Error
It looks like there is another code error, now with the I2C Port 2. The register name SSP2CON is attempted to be used but the ports are actually SSP2CON1 and SSP2CON2 as present in the chip definition file. As the CCode uses the BoostC library function I'm not sure how to amend the code. The error t...
- Sun Aug 26, 2012 9:02 pm
- Forum: Flowcode V5
- Topic: Flowcode v5.4 PIC18F47J53 Code Error
- Replies: 8
- Views: 7495
Re: Flowcode v5.4 PIC18F47J53 Code Error
Hi Enamul,
Many thanks for the follow-up, yes I can see the other faults, and their correction.
Best Regards,
Mark
Many thanks for the follow-up, yes I can see the other faults, and their correction.
Best Regards,
Mark
- Sat Aug 25, 2012 10:35 pm
- Forum: Flowcode V5
- Topic: Flowcode v5.4 PIC18F47J53 Code Error
- Replies: 8
- Views: 7495
Flowcode v5.4 PIC18F47J53 Code Error
Flowcode v5.4 PIC18F47J53 Code Error "SOS" :-o (rather than "OS" :-) ) The code both for the FCD file and the Interrupt set-up code file appear to have an error: //Clock //Interrupt: Enable TMR1 st_bit(intcon, PEIE); st_bit(t1con, TMR1ON); cr_bit(t1con, TMR1CS0); st_bit(t1con, TMR1CS1); cr_bit(t1con...
- Fri Aug 24, 2012 10:08 pm
- Forum: Flowcode V5
- Topic: PicKit 3 not detected - chip specific
- Replies: 4
- Views: 3593
Re: PicKit 3 not detected - No local power
Hi Ben,
Upgraded to 5.4 and used the command line:
D:\Electronics\Flowcodev5\Tools\PICkit3\PK3CMD.exe -P18F47J53 -F"Test 1.hex" -V3.3 -E -M -Y"Test 1.hex"
Now works fine with the PicKit powered board. (Need to re-start the power source after programming).
Once again, many thanks. Regards,
Mark
Upgraded to 5.4 and used the command line:
D:\Electronics\Flowcodev5\Tools\PICkit3\PK3CMD.exe -P18F47J53 -F"Test 1.hex" -V3.3 -E -M -Y"Test 1.hex"
Now works fine with the PicKit powered board. (Need to re-start the power source after programming).
Once again, many thanks. Regards,
Mark
- Fri Aug 24, 2012 9:10 am
- Forum: Flowcode V5
- Topic: PicKit 3 not detected - chip specific
- Replies: 4
- Views: 3593
Re: PicKit 3 not detected - chip specific
Hi,
A supplement to the above, the test file used is attached. Just in case there is something daft I have done in that.
Thanks,
Mark
A supplement to the above, the test file used is attached. Just in case there is something daft I have done in that.
Thanks,
Mark
- Wed Aug 22, 2012 9:48 pm
- Forum: Flowcode V5
- Topic: PicKit 3 not detected - chip specific
- Replies: 4
- Views: 3593
PicKit 3 not detected - chip specific
Hi, I have started using a PicKit 3. First I took an existing file and successfully programmed a PIC16F886. Keeping the same settings (the version when 'no hex file found' from the help topics page) I then tried my target chip PIC18F47J53, which is why I upgraded from the PicKit2 to the PicKit3. Fir...
- Sun Jun 24, 2012 9:57 pm
- Forum: E-blocks
- Topic: HP488, MCLR pull up not present
- Replies: 1
- Views: 2976
HP488, MCLR pull up not present
Hi, I have had intermittent problems with programs hanging on the HP-488. I have traced it to MCLR apparently floating, the Reset switch clearly pulls it to 0v but the pull up is not present. Conneting MCLR to 5v solves the problem. Putting a meter on MCLR gives no detectable resistance. The ICD2/US...
- Wed May 30, 2012 3:07 pm
- Forum: Flowcode V5
- Topic: Memory usage by macro variables
- Replies: 7
- Views: 5348
Re: Memory usage by macro variables
Benj, Jonny, Thanks for both your inputs. My feeling with Flowcode 5 is that I am reaping the benefits mostly from improvement of current functionality and the addition of further functions/peripherals is becoming more and more esoteric. Hence, continuing to work on improved functionality of existin...
- Tue May 29, 2012 2:36 pm
- Forum: Flowcode V5
- Topic: Port-pin variables
- Replies: 9
- Views: 7184
Re: Port-pin variables
Hi, Thanks, and thanks for providing the 'workaround'. My request is that the '#define FCP_USE_TRIS 0' be implemented as a checkbox in the global setup options in some future version. I can see all sorts of problems from using say Variable = PortC, the previous outputs then become high impedance and...
- Tue May 29, 2012 2:28 pm
- Forum: Flowcode V5
- Topic: Memory usage by macro variables
- Replies: 7
- Views: 5348
Re: Memory usage by macro variables
Hi Ben, Many thanks, yes, Flowcode v5 is far better to work with. I particularly like the provision of Constants, which I imagine are transferred to actual values on compilation but where I can readily tinker with values and alter the functionality of whole swathes of code simply by amending the val...
- Tue May 29, 2012 9:11 am
- Forum: Formula Flowcode
- Topic: Formula Flowcode upgrade 18F4455 to 18F4550
- Replies: 1
- Views: 10454
Formula Flowcode upgrade 18F4455 to 18F4550
Hello, I am running out of memory on Formula Flowcode, by upgrading from 18F4455 to 18F4550 you get an extra 8k of memory. I have the chip. How can I do the upgrade? Presumably if you can provide the code then I can program the 18F4550 using an EB006 multi-programmer board and then simply swap chips...
- Mon May 28, 2012 1:11 pm
- Forum: Flowcode V5
- Topic: Memory usage by macro variables
- Replies: 7
- Views: 5348
Memory usage by macro variables
Hi, Does code generated by Flowcode allow the space freed up from local macro variables when a macro is closed to be used for other local variables for their macro variables? Flowcode 5 is making it easy for me to generate large numbers of Macro variables, which makes a program far more readable, bu...
- Mon May 28, 2012 12:55 pm
- Forum: Flowcode V5
- Topic: Port-pin variables
- Replies: 9
- Views: 7184
Re: Port-pin variables TRIS
Hi Jonny, What is the interaction of the variables with the TRIS registers? For example, if you have previously used an Output and an Input Icon and effectively defined, say, TRISB as 0b11110000. 1 - In if I recall. Then since I am writing the ports with a byte (presumably by definition), such as $P...
- Fri May 25, 2012 10:22 pm
- Forum: Flowcode V5
- Topic: Flowcode for dsPIC - DSP Support Poll
- Replies: 25
- Views: 47406
Re: Flowcode for dsPIC - DSP Support Poll
A Fourier transform routine would be very useful, Also matrix and matrix manipulation features would be very useful. Also can it be made as a 'bolt on' to Flowcode 5 rather than a seperate product. Buying two full packages (or at least updating them) is onerous and they are also out of sync. I have ...
- Fri May 25, 2012 10:13 pm
- Forum: Flowcode V5
- Topic: Flowcode v5 Features - videos
- Replies: 2
- Views: 3363
Re: Flowcode v5 Features - videos
David, The videos are great. A few points: A significant benefit is to help understand the thought process behind the features. Once you know how they are intended to be used the they become much more useful. A verbal commentary would therefore also help, not least because the video resolution makes...
- Fri May 25, 2012 9:58 pm
- Forum: Flowcode V5
- Topic: gLCD EB0058 Board and FCv5, speed
- Replies: 2
- Views: 2741
Re: gLCD EB0058 Board and FCv5, speed
Ben,
Great, this makes the display fast and responsive.
The text scrolls out quickly enough to avoid waiting
and the clear screen is fast enough not to be tiresome.
Many thanks,
Mark
Great, this makes the display fast and responsive.
The text scrolls out quickly enough to avoid waiting
and the clear screen is fast enough not to be tiresome.
Many thanks,
Mark
- Wed May 23, 2012 12:15 pm
- Forum: Flowcode V5
- Topic: gLCD EB0058 Board and FCv5, speed
- Replies: 2
- Views: 2741
gLCD EB0058 Board and FCv5, speed
Hi, When using Flowcode 4 with the gLCD I recall it running quite fast under software control at high CPU clock speeds. Looking through the code for the component with Flowcode 5 I cannot spot how to alter the underlying speed of the communications. How can I tinker with this to see if I can speed t...
- Thu May 17, 2012 10:20 pm
- Forum: Formula Flowcode
- Topic: gLCD with Formula Flowcode
- Replies: 14
- Views: 26549
Re: gLCD with Formula Flowcode v5
Ben, Thanks, this works fine. For other users: 9v pp3 from battery -ve to 5v out on buggy, battery +ve to VPWA on EB058 board. 5v+9v=14v :) Buggy connected to EB058 gLCD with standard 9in D type jumper, short version preferable. Routine below, lights screen, clears it and prints Hello. Slowish, so b...
- Wed May 16, 2012 8:53 pm
- Forum: Formula Flowcode
- Topic: gLCD with Formula Flowcode
- Replies: 14
- Views: 26549
Re: gLCD with Formula Flowcode (F Code v5)
I am now revisiting Formula Flowcode with the EB058 on PortD.
The message chain above gave a solution for Flowcode 4.
I am now with Flowcode 5. Could you revisit the advice above so that
we can use the display when programmed with Flowcode 5 please.
Thanks,
Mark
The message chain above gave a solution for Flowcode 4.
I am now with Flowcode 5. Could you revisit the advice above so that
we can use the display when programmed with Flowcode 5 please.
Thanks,
Mark
- Wed May 16, 2012 8:04 am
- Forum: Programming Tips & Tricks
- Topic: Ultrasonic Distance sensor using HC-SR04
- Replies: 86
- Views: 188239
Re: Ultrasonic Distance sensor using HC-SR04
Great, Thanks, I have just ordered two HC-SR04 on the basis of this.
Looking forward to the tutorial.
Mark
Looking forward to the tutorial.
Mark
- Fri Sep 23, 2011 6:32 pm
- Forum: Flowcode V4
- Topic: Random() function
- Replies: 5
- Views: 4959
Re: Random() function
Dave,
Thanks, I understand the concept, but how would I actually impliment that in Flowcode?
In a C icon? If so please post the syntax.
Thanks (and to Martin also)
Thanks, I understand the concept, but how would I actually impliment that in Flowcode?
In a C icon? If so please post the syntax.
Thanks (and to Martin also)
- Tue Sep 20, 2011 9:50 pm
- Forum: Flowcode V4
- Topic: Random() function
- Replies: 5
- Views: 4959
Random() function
I am trying to use the random() function. "R = random()" compiles OK to C but then when compiling to assembler gives: " ....................................... Nokia LCD Plot 2.c(874:10): error: unknown identifier 'rand' Nokia LCD Plot 2.c(874:10): error: failed to generate expression Nokia LCD Plot...
- Sun Aug 28, 2011 8:38 am
- Forum: Flowcode V4
- Topic: SPI Memory, 25LC1024 and SPI Component
- Replies: 6
- Views: 5564
Re: SPI Memory, 25LC1024 and SPI Component
Hi Ben, I have pulled together a suite of 10, tested, subroutines to utilise the functions of the 25LC1024 Chip. The attached code should be self explanatory. It includes the Macros: Enable Write Disable Write Read Write - With 6ms delay Write - With polling to see end of write Read Status Write Sta...
- Sat Aug 27, 2011 4:18 pm
- Forum: Flowcode V4
- Topic: SPI Memory, 25LC1024 and SPI Component
- Replies: 6
- Views: 5564
Re: SPI Memory, 25LC1024 and SPI Component
Hi Ben, Many thanks, the chip is now being written to and can be read. Two mods to the framework you provided were needed: 1) 'Input samples at end of data output time' option required in SPI Component. 2) Need to write '0x06' to chip to enable write. The working code is attached. For anyone interes...