Search found 130 matches

by Desdewit
Fri Nov 23, 2012 8:04 am
Forum: General Programming
Topic: Calculate time between received bytes
Replies: 2
Views: 2168

Calculate time between received bytes

How do you calculate the time you have between received bytes to execute other commands when a pic is running with 19.606 MHz crystal and a baud rate of 9600?
by Desdewit
Tue Nov 20, 2012 1:37 pm
Forum: Electronics products
Topic: Microcontroller development board version3 software
Replies: 13
Views: 13767

Re: Microcontroller development board version3 software

Hi David

I'm going to get myself a pickit 3 but would still like tor repair my HP488 v3 development board.
Do you know if I can still get a replacement chip with firmware for the HP488 v3 board.
by Desdewit
Mon Nov 19, 2012 8:57 am
Forum: Electronics products
Topic: Microcontroller development board version3 software
Replies: 13
Views: 13767

Re: Microcontroller development board version3 software

Do you know if microchip has cheap programmers that can program the same chips as the V3 Development board or the EB006?
I urgently need to replace my programmer but our local supplier can only get me a matrix EB006 early in January 2013
:( :x :cry:
by Desdewit
Mon Nov 19, 2012 6:06 am
Forum: Electronics products
Topic: Microcontroller development board version3 software
Replies: 13
Views: 13767

Re: Microcontroller development board version3 software

Yes, So far I can not find any other problems.
That's why I think it might be the program not loading correctly.
by Desdewit
Sun Nov 18, 2012 7:28 pm
Forum: Electronics products
Topic: Microcontroller development board version3 software
Replies: 13
Views: 13767

Re: Microcontroller development board version3 software

Hi Enamul I'm sending 1 Character at a time to test over a 1m serial cable. The problem is that I know my original program was working and was sending and receiving multiple bytes without a problem. The receive problem only started after the suspected short, but why only on the software part of the ...
by Desdewit
Sun Nov 18, 2012 4:17 pm
Forum: Electronics products
Topic: Microcontroller development board version3 software
Replies: 13
Views: 13767

Re: Microcontroller development board version3 software

Hi Enamul Thanks for the reply, I realy hope someone can help me with this. :cry: A few days ago my power supply for my V3 development board over heated & stopped working for unknown reasons. After replacing the power supply my programmer was working again with no obvious problems but for some reaso...
by Desdewit
Sat Nov 17, 2012 7:46 pm
Forum: Electronics products
Topic: Microcontroller development board version3 software
Replies: 13
Views: 13767

Re: Microcontroller development board version3 software

Hi

Is it possible to re-program the USB interface chip on my development board?
by Desdewit
Fri Nov 16, 2012 6:28 pm
Forum: Electronics products
Topic: Microcontroller development board version3 software
Replies: 13
Views: 13767

Microcontroller development board version3 software

Hi Guys

Are there any old or upgraded software available for a PICmicro Microcontroller development board version3 HP488-00-3.
Does it have any other function on the board except for running the usb?
by Desdewit
Tue Nov 13, 2012 6:40 am
Forum: Electronics products
Topic: Dual RS232 Ports
Replies: 7
Views: 18683

Re: Dual RS232 Ports

Martin / Ben

Thanks for the link, I think I'm going to visit RS components today. :D
by Desdewit
Mon Nov 12, 2012 11:41 am
Forum: Electronics products
Topic: Dual RS232 Ports
Replies: 7
Views: 18683

Re: Dual RS232 Ports

Hi Ben

Thanks for your time, I appreciate it.
I've looked thru the data sheets of the pic's but all of the 28pin Dip packages are 3.6V and the V3 Development board only supply 5V.
by Desdewit
Mon Nov 12, 2012 7:43 am
Forum: Electronics products
Topic: Dual RS232 Ports
Replies: 7
Views: 18683

Dual RS232 Ports

Hi

Are there any 28 or 40 pin pic's similar to the 18f252 or 16f877 with dual hardware rs232 ports that will work with the Matrix ver3 developer board :?:
I've tried Microchip's part search but could not find any.
by Desdewit
Sun Nov 11, 2012 12:39 pm
Forum: Flowcode V5
Topic: bit from Byte
Replies: 1
Views: 1851

bit from Byte

Hi

What is the best way to read a bit from a byte in fc5 if I want to set alarms depending on what bits are on or off. :?:
by Desdewit
Fri Nov 02, 2012 11:41 am
Forum: Flowcode V5
Topic: Pic still freezing
Replies: 11
Views: 6433

Re: Pic still freezing

Hi

If I use hardware and software RS232 on a 18f252 & disable “RXint” while using “RB0int” to receive and then later disable “RB0int” and enable “RXint” and so on, will it cause any type of problems :?:
by Desdewit
Wed Oct 31, 2012 8:38 pm
Forum: Flowcode V5
Topic: Pic still freezing
Replies: 11
Views: 6433

Re: Pic still freezing

Hi Benj This is the line from my Linker/Assembler Parameters: -ld "C:\Program Files (x86)\Flowcode\v5\Tools\BoostC\lib" libc.pic16.lib rand.pic16.lib float.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f" -swcs 6 2 Please confirm that this is correct? If I change my receive routine like this the warning ...
by Desdewit
Wed Oct 31, 2012 5:43 pm
Forum: Flowcode V5
Topic: Pic still freezing
Replies: 11
Views: 6433

Re: Pic still freezing

Hi Ben Sorry about the confusion, the program is in two parts with one (Hardware TX & RX) & one (Software TX & Rx). At first the two programs were running separately with problems that Enamul help solved, but when I combined the two programs a whole new set of errors & warning messages started again...
by Desdewit
Sat Oct 27, 2012 10:56 am
Forum: Flowcode V5
Topic: Pic still freezing
Replies: 11
Views: 6433

Re: Pic still freezing

Thanks Enamul

So far the pic does not freeze even after an error.
Do you know why the pic freezes if the peripheral interrupt are not enabled?
Do you know if there is a specific reason why flowcode does not enable the peripheral interrupt when RXInt are chosen?
by Desdewit
Sat Oct 27, 2012 7:42 am
Forum: Flowcode V5
Topic: Pic still freezing
Replies: 11
Views: 6433

Re: Pic still freezing

Hi Kersing

I've attatched the file.
by Desdewit
Fri Oct 26, 2012 6:59 pm
Forum: Flowcode V5
Topic: Pic still freezing
Replies: 11
Views: 6433

Pic still freezing

Hi Guys Please see if you can help this is getting very annoying :evil: :evil: I cannot get my pic to stop freezing after receiving rs232 data for a while. Could this be a flowcode or pic error? It seems that the only way to get it running again is by doing a reset. (And that I do not want to do.) T...
by Desdewit
Sun Oct 21, 2012 9:02 am
Forum: General Programming
Topic: Hardware reset
Replies: 1
Views: 1752

Hardware reset

Hi

Is it possible to do a software restart on a pic18f252 without using an external reset on MCLR that will reset everything like with power up.
by Desdewit
Sun Oct 14, 2012 2:10 pm
Forum: Flowcode V5
Topic: RXint problem
Replies: 1
Views: 2025

RXint problem

Hi

RXint not working on pic16f887 & 18f252 but works with pic16f877.
Could this also be a flowcode error like on some of the other pic's :?:
by Desdewit
Fri Oct 05, 2012 6:22 am
Forum: Flowcode V5
Topic: Stack corruption?
Replies: 13
Views: 6595

Re: Stack corruption?

Hi Ben / Jan In a previous post called "Checksum freezes Pic" I pasted a simple hardware / software RS232 program with the same error message when compiling. JonnyW gave me some good advice & I got rid of the freezing part but not the error messages please let me know if you know what might be causi...
by Desdewit
Mon Oct 01, 2012 8:59 pm
Forum: Flowcode V5
Topic: CheckSum freezes Pic
Replies: 6
Views: 3867

Re: CheckSum freezes Pic

Hi JonnyW

Just to be sure, In main there is a loop that runs 84 times to send the data from BYTE[SEND_NR] out RS232(1)
This is the one "RS232(1)" that If disabled the warning stops.
by Desdewit
Mon Oct 01, 2012 7:03 pm
Forum: Flowcode V5
Topic: CheckSum freezes Pic
Replies: 6
Views: 3867

Re: CheckSum freezes Pic

Hi JonnyW However, I would suggest instead using flags to indicate that data needs to be sent - set a flag 'SendData' in your interrupt and in your main loop act on this flag (if (SendData == 1) SendData = 0 & send_the_data). Interfacing with peripherals in an interrupt can have strange effects even...
by Desdewit
Mon Oct 01, 2012 5:18 pm
Forum: Flowcode V5
Topic: CheckSum freezes Pic
Replies: 6
Views: 3867

Re: CheckSum freezes Pic

Hallo JonnyW After a long search I've noticed the following Warning message. If I disable the RS232 (1) Macro to send the 84 bytes the message disappear. Could this be the reason for freezing the pic? Building CASM file Serious Warning: Call stack usage exceeds:8! Call Stack Usage Report ===========...
by Desdewit
Sun Sep 30, 2012 2:17 pm
Forum: Flowcode V5
Topic: CheckSum freezes Pic
Replies: 6
Views: 3867

CheckSum freezes Pic

Hi

Please Help I think I'm missing something simple here :x
Every time I have a checksum error my pic freezes even after I made some escape codes to reset the pic.
Any Ideas for improvement will be greatly appreciated :oops: