Hello,
I'm using Multiprogrammer EB-006-8 and Flowcode V5.1.0.0 (10.02.2012)
Simulation is very well, but Multiprogrammer with PIC 16F88 do nothing.
My little programm see attachment.
Are there a bug in simulation?
Best regards
Rabbit
Simulation well, PIC do nothing
Moderator: Benj
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Simulation well, PIC do nothing
Hello Rabbit,
THat is a very simple program and as such it should work with an EB006.
I would imagine it would be to do with your jumper/switch setup on your EB006.
On your EB006 there are various jumpers:
- J11 above the screw terminal determines whether the device is powered by USB or a power supply, this needs to be put into the correct position depending on what you are using.
- J12/13/14 to the right of the screw terminal is for whether the device is programmed from the USB or the ICSP pins directly via a PICKit or other device.
- J18/19 determines whether the crystal is used or whether pins A6&7 are usable for I/O
If you have not changed any config settings in Flowcode v5 then you should put the switches on XTAL and FAST as these are the default settings that should allow the program to work.
Let me know what your settings are and whetehr any of the above helps you.
THat is a very simple program and as such it should work with an EB006.
I would imagine it would be to do with your jumper/switch setup on your EB006.
On your EB006 there are various jumpers:
- J11 above the screw terminal determines whether the device is powered by USB or a power supply, this needs to be put into the correct position depending on what you are using.
- J12/13/14 to the right of the screw terminal is for whether the device is programmed from the USB or the ICSP pins directly via a PICKit or other device.
- J18/19 determines whether the crystal is used or whether pins A6&7 are usable for I/O
If you have not changed any config settings in Flowcode v5 then you should put the switches on XTAL and FAST as these are the default settings that should allow the program to work.
Let me know what your settings are and whetehr any of the above helps you.
-
- Posts: 28
- Joined: Wed Apr 04, 2012 1:33 pm
- Has thanked: 3 times
- Been thanked: 3 times
- Contact:
Re: Simulation well, PIC do nothing
Hello David,
Thanks a lot for your answer.
My hardware-settings on the EB006 with PIC 16F88 are:
- LED-Board connected at EB006 - PORT B
- Switch-Board connected at EB006 - PORT A
- USB and PSU are connected.
- J11 connected PSU
- J12, J13, J14 connected USB
- J18, J19 connected OSC
- Sw2 on XTAL
- SW1 on Fast.
With changing the SW2 to XTAL the EB006 will running "partially". If I push down SW0 on EB007 the LED-D0 is lightning.
This function will go to SW4 and LED-D4.
SW-5; SW-6; SW-7: no LED lightning.
Best regards
Rabbit
Thanks a lot for your answer.
My hardware-settings on the EB006 with PIC 16F88 are:
- LED-Board connected at EB006 - PORT B
- Switch-Board connected at EB006 - PORT A
- USB and PSU are connected.
- J11 connected PSU
- J12, J13, J14 connected USB
- J18, J19 connected OSC
- Sw2 on XTAL
- SW1 on Fast.
With changing the SW2 to XTAL the EB006 will running "partially". If I push down SW0 on EB007 the LED-D0 is lightning.
This function will go to SW4 and LED-D4.
SW-5; SW-6; SW-7: no LED lightning.
Best regards
Rabbit
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Simulation well, PIC do nothing
Hello Rabbit,
This is due to those pins not being available as I/O on that chip, to find what pins are available as I/O you can consult the chip datasheet (available on microchips website) and find out which can be used.
Sounds like your program is working though.
This is due to those pins not being available as I/O on that chip, to find what pins are available as I/O you can consult the chip datasheet (available on microchips website) and find out which can be used.
Sounds like your program is working though.
-
- Posts: 28
- Joined: Wed Apr 04, 2012 1:33 pm
- Has thanked: 3 times
- Been thanked: 3 times
- Contact:
Re: Simulation well, PIC do nothing
Hello David,
thank's for your exact answer. The "bug" are the not available pins at the PIC16F88. At Port-A are only I/O-Pin 0-4 available.
Best Regards
Rabbit
thank's for your exact answer. The "bug" are the not available pins at the PIC16F88. At Port-A are only I/O-Pin 0-4 available.
Best Regards
Rabbit