Search found 27 matches

Return

by Roy Johnston
Wed Feb 05, 2014 6:18 am
Jump to forum
Jump to topic

Re: 18f4550 and usb slave component

right I have done it, it works. maybe not the most efficient way, but I cannot see any other way to do it. what I did was use the two bite method, a command byte and a data byte. the command I first reset the counters and read the inputs into a variable., then I write to the chip , and finally I rea...
by Roy Johnston
Tue Feb 18, 2014 8:30 pm
Jump to forum
Jump to topic

Re: Pickit 3

Right I Got it to work, 1) I followed your instructions to reload the firmware manually, 2) I uninstalled MPLAB x 3) I uninstalled MPLAB IDE ( Ver 8.5) 4) I then reinstalled MPLAB ( ver 8.7 ) 5) opened MPLAB 8.7 6) let it download new firmware Automatically. 7) copied the pk3cmd file from C:\Program...
by Roy Johnston
Tue Mar 04, 2014 5:39 pm
Jump to forum
Jump to topic

Re: Auto reseting Usb Comms

Right I got it, firstly I disabled watchdog in the project options and set the post scaler to 1024 secondly in my main subroutine I entered this statement in a c component, MX_CLEAR_WATCHDOG; just below this I put in a 5 s delay I run a 9 second counter using an interrupt. I reset this counter every...
by Roy Johnston
Thu Mar 06, 2014 4:17 pm
Jump to forum
Jump to topic

Re: 18f4550 watchdog crashes win7

right got it to work on both win 7 and 8, went back to basics , before I used the reset() command, used wdtcon = 0x01; then added your advise today before wdtcon ucon = 0x00; ucfg = 0x00; uir = 0x00; uie = 0x00; ueir = 0x00; ueie = 0x00; the very first instruction in the main subroutine is MX_CLEAR_...
by Roy Johnston
Thu Mar 13, 2014 7:25 am
Jump to forum
Jump to topic

Ulong conversion.

can someone help me to do the following. 1) convert a Ulong into a byte array. 2) convert a byte array to an Ulong. 3) convert a Ulong into a byte array in VB 4) convert a byte array to an Ulong in VB. on another Note, I am a NGO sponsor for the Dewildt Cheetah Farm IN bela bela South Africa. I also...
by Roy Johnston
Fri Mar 14, 2014 10:11 am
Jump to forum
Jump to topic

EEprom

I am having a problem in writing and reading from the eeprom, with 18f4550 chip I send a series of bytes to the chip via usb, if I write then into a variable, and then read them back all is fine, this indicates usb comms are ok s well as my Vb. however if I write them into the eeprom and read it bac...
by Roy Johnston
Fri Apr 11, 2014 9:11 am
Jump to forum
Jump to topic

Re: 6.0.7 will not compile

I found the fault,
my file seems to be corrupted,
thank goodness for backups.
thanks.
by Roy Johnston
Wed Jul 09, 2014 4:57 pm
Jump to forum
Jump to topic

Re: win 7 crashing

Problem solved,
I only enable trm0 interrupt in the service macro instead of the main macro.
IE interrupt only starts functioning on the first scan from my basic software. I then flag that it has been enabled and further sans do not re-enable the trm0 interrupt
by Roy Johnston
Thu Jan 08, 2015 6:43 am
Jump to forum
Jump to topic

Re: 18f4550 and bootloader

Ok I came total right.
I used the following to reinitialize the usb,
asm
{
goto 0X0F00
}

Thanks for all the help :D
by Roy Johnston
Tue Feb 03, 2015 10:23 am
Jump to forum
Jump to topic

Re: LCD display

I can now confirm that this Display functions 100 %

thanks a lot for the help
by Roy Johnston
Thu May 26, 2016 9:03 am
Jump to forum
Jump to topic

Re: VBA and enc28j60 - 18f4550

my hardware works, I can ping it using CMD and the flowcode example ,
I attach a copy of the adapter.
thanks for the help
by Roy Johnston
Thu May 26, 2016 6:49 pm
Jump to forum
Jump to topic

Re: VBA and enc28j60 - 18f4550

I only want to communicate to the device via Local are network, it will not work over the internet. Pic device ( 192.168.1.90 / 255.255.255.0 , DFGTW 192.168.1.1 ) Desktop ( 192.168.1.130 / 255.255.255.0 , DFGTW 192.168.1.1 ) router/gateway ( 192.168.1.1 / 255.255.255.0 ) I only want to connect via ...
by Roy Johnston
Sun Jun 12, 2016 3:53 pm
Jump to forum
Jump to topic

Re: VBA and enc28j60 - 18f4550

Thank you,
I will try it and let you know,
again
thank you
by Roy Johnston
Mon Jun 13, 2016 5:21 am
Jump to forum
Jump to topic

Re: VBA and enc28j60 - 18f4550

Good morning Rudi, I cannot express my thanks and gratitude enough. you samples were so well layout and explained, that it was easy for me to migrate the code over to Ms access. and it works. Flowcode should use this as an example for others to study. with your permission , when I am complete with m...
by Roy Johnston
Mon Sep 26, 2016 7:24 pm
Jump to forum
Jump to topic

Re: ENC28J60 lock ups

Evening Ben, I managed to sort it out. the pcb board is my own design, it incorporates the Hanrun board onto my own pcb. the PCB boards are mounted at boreholes up to 6 Km away from the PC, it uses outdoor Wi-Fi access points. and here is the problem if comms is interrupted whilst sending or receivi...
by Roy Johnston
Tue Sep 27, 2016 5:35 pm
Jump to forum
Jump to topic

Re: ENC28J60 lock ups

Further feed back , I found the source of the lockups, the whole system comprises of one PC, one switch, eight Nano power beams and 4 cards spread around a 1500 hectare farm. the power beams are 100M , the pc is 1000M , the switch is auto, and the cads are 10m. as soon as I slowed down the pc to 100...
by Roy Johnston
Sun Jan 22, 2017 7:48 pm
Jump to forum
Jump to topic

Re: 18f46k22 and analogue inputs

Thanks for your reply, I was about to post my flow code. when I realized I had a problem with my code elsewhere, it is working.
thank you
by Roy Johnston
Tue Nov 21, 2017 10:02 am
Jump to forum
Jump to topic

Re: USB Slave examples

Thank you,
its working.
by Roy Johnston
Thu May 24, 2018 7:09 pm
Jump to forum
Jump to topic

Re: Flowcode Opening Issues.

ok I came right,
I factory defaulted my laptop and reinstalled everything.
it was much faster this way and basically cleaned up the windows operating system.
I bought the upgrade and got a key , but the activation will not accept it, I must be doing something wrong.
please help.
by Roy Johnston
Wed May 30, 2018 11:05 am
Jump to forum
Jump to topic

Re: Usb wont compile.

Thank yoy _ solved
by Roy Johnston
Sun Jun 17, 2018 11:06 am
Jump to forum
Jump to topic

Re: ENC28J60

Thank you very much.
it working.
by Roy Johnston
Fri Aug 24, 2018 4:07 pm
Jump to forum
Jump to topic

Re: ENC28j60 mac address

thank you,
after dropping the component into the active directory, all is working.
by Roy Johnston
Sun Oct 28, 2018 10:44 am
Jump to forum
Jump to topic

Re: 18f4550 usb issues

Thank you for all the help.
I came right.
it ended up being the chip not functioning the way it should have.
I replaced the 18F4550 and all is well now.
all we need to do is disable the usb voltage regulator (bit 21) in the config parameters and it works like a charm.
by Roy Johnston
Tue Nov 20, 2018 7:51 am
Jump to forum
Jump to topic

Re: Scada software

Thank you,
working now.