Search found 398 matches

by Jay Dee
Wed Apr 22, 2020 3:51 pm
Forum: Flowcode V8
Topic: Software reset a PIC - ECIO40P
Replies: 2
Views: 1585

Re: Software reset a PIC - ECIO40P

Thanks Ben,
Yeah, If I do! the devil is in the detail.
Just working on a reliable way to detect the fault locally...then I can apply the reset.
by Jay Dee
Wed Apr 22, 2020 3:41 pm
Forum: Flowcode V8
Topic: Software reset a PIC - ECIO40P
Replies: 2
Views: 1585

Software reset a PIC - ECIO40P

Hi, I have a program using CAN and mostly runs OK but on occation the CAN transmitter starts to output Garbage. The main program seem to keep running fine. A) Can I software request a reset of the PIC ? Is there a propper way of doing this? Or would I need to assign an output to toggle the MCLR pin?...
by Jay Dee
Thu Apr 16, 2020 10:03 am
Forum: Flowcode V8
Topic: Learning Ghost
Replies: 6
Views: 3207

Re: Learning Ghost

Hi, Trying to connect GHOST using flowkit2 with ECIO40P on a EB061 baseboard. Both programming USB connected and Flowkit pins D8,D9 are connected to the ICSP pins on the baseboard. D9 > B6 Clock D8 > B7 Data I enable the ICD, compile and send to chip. Press 'play' and I get the "The chip does not co...
by Jay Dee
Thu Apr 16, 2020 9:37 am
Forum: Flowcode V8
Topic: Servo Assistance - Please
Replies: 4
Views: 2050

Re: Servo Assistance - Please

Agreed, both the SAVOX SW 0231MG and DS 3218MG servos both need the full 500 to 2500 pulse period to achieve the stated 180 degree range. FYI, I've seen some odd behavior with the chinese DS3218 but the Savox (twice the price) has behaved flawlessly so far. I have noticed that for some servos if you...
by Jay Dee
Fri Apr 03, 2020 10:55 am
Forum: Feature Requests
Topic: Bring back the LIN components
Replies: 3
Views: 5030

Re: Bring back the LIN components

Had a poke about for LIN Master ICs during tea break, NXP SJA1124 Quad LIN Master Transceiver looks interesting, same way as with CAN, writing a whole protocol engine is a big job, maybe an external LIN Controller IC is the way forward. https://www.mouser.co.uk/Search/Refine?Ntk=P_MarCom&Ntt=1554066...
by Jay Dee
Fri Apr 03, 2020 10:23 am
Forum: Feature Requests
Topic: Bring back the LIN components
Replies: 3
Views: 5030

Re: Bring back the LIN components

Sorry to bump this old topic. Was there any progress with LIN and PICs ? I appreciate its no small task to get a fully working FC protocol. I've just been given a door lock and expect some HVAC vents for a low volume automotive project. Not critical but seemed a sensbile time to look at LIN options....
by Jay Dee
Tue Mar 31, 2020 7:36 pm
Forum: Bug Reports
Topic: 18F2580 I2C Hardware Channel1 not responding
Replies: 2
Views: 1757

Re: 18F2580 I2C Hardware Channel1 not responding

Ahh...shoot. Yeah sorry Ben. Just tested on hardware and all works.
False Alert! :oops:
J.
by Jay Dee
Sun Mar 29, 2020 10:56 am
Forum: Flowcode V8
Topic: i2C UART SPI Hardware Software Bitbang & Initialising
Replies: 1
Views: 1180

i2C UART SPI Hardware Software Bitbang & Initialising

Hi, I get on well with the ECIO28P & ECIO40P but Hardware i2C, UART and SPI channels share some pins. I know I could use the software (bit bang) version for some applications but where possible I've traditionally used the hardware output. A) am I just making my life hard by trying to always use the ...
by Jay Dee
Fri Mar 27, 2020 9:15 pm
Forum: Bug Reports
Topic: 18F2580 I2C Hardware Channel1 not responding
Replies: 2
Views: 1757

18F2580 I2C Hardware Channel1 not responding

Hi, Possible probem..checked it a few times and different ICs. FC v8.2.2.15 Working with PIC 18F2580, small test program using i2C (attached), program works fine using software mode, no output on hardware pins in 'channel 1' mode. Both modes using pins C4 SDA and C3 SCL. All other settings kept the ...
by Jay Dee
Fri Mar 27, 2020 8:46 pm
Forum: Flowcode V8
Topic: Program structure, Task Scheduler or Sequence
Replies: 1
Views: 1043

Program structure, Task Scheduler or Sequence

Hi all, I'm still playing with my current project and getting to grips with some of the GHOST features....however I need to give my base program a better structure. Does anyone have a good simple example of a program structure where, I can schedule tasks? I'm thinking of a some tasks that run for ev...
by Jay Dee
Tue Mar 24, 2020 11:21 am
Forum: Flowcode V8
Topic: Learning Ghost
Replies: 6
Views: 3207

Re: Learning Ghost

Hi Guys, I have recieved the Flowkit V2, I've had a read of most bits I can find on the datasheets and forum...but a couple of questioins A) for ICD ICT..which pins are used on the Flowkit to connect the the target's ICD Clock and Data. (typically for a basic PIC B6 & B7) B) To confirm, do I only ne...
by Jay Dee
Thu Mar 19, 2020 1:39 pm
Forum: Flowcode V8
Topic: Problem Programming 18F2580
Replies: 7
Views: 4828

Re: Problem Programming 18F2580

Hmm.. re-visiting a previous project. I can program the 18F2580 using the pickit3 (IPE) via flowcode. Works with both INT and EXT Oscillator. So hardware looks good. I can program a PIC 16F88 using my EB006 programmer and short flying leads. EB006 J5 1=Reset 2=Data 4=Clock 18=5V 20=Gnd So I assumeth...
by Jay Dee
Tue Mar 17, 2020 10:24 am
Forum: Flowcode V8
Topic: Learning Ghost
Replies: 6
Views: 3207

Re: Learning Ghost

Thanks Guys, Not sure how I missed the Wiki! :oops: I have a play about this evening and then with flowkit J.
by Jay Dee
Mon Mar 16, 2020 11:49 pm
Forum: Flowcode V8
Topic: Learning Ghost
Replies: 6
Views: 3207

Learning Ghost

Hi guys, been away from embedded projects for a while but have a new side project on the go. So I thought I would look at Ghost again. Is there any guides on using GHOST? I did not find it all that obvious last time I looked at it a couple of years back. Any tips or trick on using it? I'm putting a ...
by Jay Dee
Wed Nov 27, 2019 1:17 pm
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 27
Views: 15551

Re: RPI and long distance radio

Hi, sorry can only give basic support on this as customer is bashing me to sort other projects! ... who needs customers! the Gamma is OFDM not Lora so sorry about the file name. I'm pretty sure this was a working Gamma testing FlowCode. LoRa_Test_GAMMA_Program1.fcfx from a quick look, i noticed a fe...
by Jay Dee
Tue Nov 26, 2019 11:08 am
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 27
Views: 15551

Re: RPI and long distance radio

That is indeed interesting... I worked with the Gamma's a few years back and despite the settings changes as advised by RF we managed a patchy 200m around the industrial estate, reliable behavior was at 100m. Talked a lot with RF solutions, ran recommended antennae direct from the module etc.. RF so...
by Jay Dee
Mon Nov 25, 2019 10:27 am
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 27
Views: 15551

Re: RPI and long distance radio

Hi, Yes I was also a bit disappointed with the gamma... in wide open space it was much better. The LoRa Lambda module was much much better... the time to react to the siganls (send/recieve) is a couple of seconds but the range is much farther. For triggering relays, you can just use the normal Input...
by Jay Dee
Thu Nov 21, 2019 11:07 am
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 27
Views: 15551

Re: RPI and long distance radio

Hi Abhijit, For long range I used the Lambda module which is LoRa based. I have used the Gamma but only achieved around 100m in our wooded environment (no where near the claimed max distance ), you would get much more in wide open space I expect. Check the version you have as some are 3.3V and some ...
by Jay Dee
Sun Nov 17, 2019 12:54 pm
Forum: Flowcode V8
Topic: STM32 Nucleo F746 - ST Cube code modules - IOTA
Replies: 0
Views: 3872

STM32 Nucleo F746 - ST Cube code modules - IOTA

Hi, Been away from the forum for a few months but back with another idea.. which typically is a bit beyond my current knowledge! ST have their code solutions under the name STM32Cube, I think this is like there equivalent of matrix components.. pre proven code blocks to help rapid dev. Well.. they h...
by Jay Dee
Sun Nov 17, 2019 12:43 pm
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 27
Views: 15551

Re: RPI and long distance radio

Agreed, it was not too hard (ish! :) )to get a simple flowcode setup to send SMS over GSM. You may want to drop your update rate but it does give you almost any range you want.
by Jay Dee
Sun Nov 17, 2019 12:23 pm
Forum: Flowcode V8
Topic: RPI and long distance radio
Replies: 27
Views: 15551

Re: RPI and long distance radio

Hi, I've played with various telemetry systems over the years... 3 miles is actually quite a distance. It really depends on line of sight (in a RF sence) what is your operating enviroment? If you are in urban or wooded countryside, you'll need quite a rig to get data between two vehicles at 3 mile (...
by Jay Dee
Mon Aug 05, 2019 6:23 pm
Forum: Flowcode V8
Topic: SPI - CPHA CPOL
Replies: 0
Views: 4045

SPI - CPHA CPOL

Hi, I always get myself confused on this one, could someone with more knowledge let me know if I have got this correct! FC SPI Settings for Motorola definitions Clock Polarity CPOL = 0 FC = Idle Low CPOL = 1 FC = Idle High Clock Phase CPHA = 0 FC = Leading Edge CPHA = 1 FC = Falling Edge Sample Poin...
by Jay Dee
Fri Jun 07, 2019 10:46 pm
Forum: Freelance Embedded Engineers
Topic: Circuit Design and PCB layout for existing concept design
Replies: 1
Views: 7962

Circuit Design and PCB layout for existing concept design

Hey FreeLance Engineers! I have a back ground project that has slowed down due to customer projects taking priority but I really need to get it back on track! Stage one: I am looking for someone with good Digital Circuit design and PCB layout skills. Including an understanding of mechanical packagin...
by Jay Dee
Thu Mar 14, 2019 11:21 am
Forum: Flowcode V8
Topic: Force a Fixed Memory location for Variable
Replies: 7
Views: 4308

Re: Force a Fixed Memory location for Variable

Great stuff Ben, I'll have a play next week. Currently trying to climb out from under the bulk of work that built up whilst away from the office! J. :)
by Jay Dee
Mon Mar 11, 2019 4:09 pm
Forum: Flowcode V8
Topic: Force a Fixed Memory location for Variable
Replies: 7
Views: 4308

Re: Force a Fixed Memory location for Variable

Hi Kersing, I agree it may well be less than optimal and yes currently the extraction is currently perfomed by a PHP script. This chain works but I'm just trying to speed up some aspects of the process. I have found during deveolopement, that sometimes I need to re-run through the process, this can ...