18F26K20.

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Rotac
Posts: 54
Joined: Fri Oct 02, 2009 1:41 pm
Been thanked: 1 time

18F26K20.

Post by Rotac »

Hello,

For a bigger program as normal, i have thosen this one 18F26K20.
it works in simulation, but does not work at the board.
For test I made a simple program one input port A (0) and one output in B(0), if port A0 = 1 than B0 is 1 (led On)
It works in simulation mode, but still not at the board (EB006-00-7), Im using Flowcode V5.x

after sent it to the PIC:

Writing program memory
Writing configuration memory
Programming failed: <1><2><3><5><6><8><9><10><11>
That took 4,14 seconds
Resultaat = 0


I think the problem is in the chip configuration, with all the adjust possibilities, but which are the correct one?
I select the HS in settings and on the board both switches to the right.

Have some experience with this type of microchip?

Regards

Rob

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: 18F26K20.

Post by medelec35 »

Hi Rob,
It looks like EB006 is currently unable to program 18F26K20..
I believe this is something that Matrix are currently looking into.
Do you have a pickit3 or other programmer you can use and program via ISCP?

Martin
Martin

Rotac
Posts: 54
Joined: Fri Oct 02, 2009 1:41 pm
Been thanked: 1 time

Re: 18F26K20.

Post by Rotac »

Hi Martin,

Thanks for your reply. I Don't have a pickit3 or other programmer what I can use and program via ISCP?
I have also the board EB006-00-6
In the Flyer of Flowcode says the chip can be programmed with flowcode!!

I made the test program. i changed some conditions of the chip, but still the same.

It is possible that you van make a screenshot of all chip settings?

Regards

Rob

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: 18F26K20.

Post by Steve »

Hello Rob,

Flowcode will produce the appropriate HEX file for this chip, but you will need to use a programming tool that supports this device. A 3rd party tool such as PICkit will program this device.

Be aware this chip must be powered at a maximum of 3.6V and so is unsuitable for use with the EB006-00-6 board which operates at 5V only.

The latest v9 of EB006 does work at 5V or 3.3V and so is suitable. The latest version of mLoader also supports this device.

I hope this helps,
Steve.

Rotac
Posts: 54
Joined: Fri Oct 02, 2009 1:41 pm
Been thanked: 1 time

Re: 18F26K20.

Post by Rotac »

Hello Steve,

Thanks for your reply. I have written about the new board.
Ok, I need a new board (EB006 V9) and it would be better to upgrade my flowcode to V6.x
Are my problems solved after this new investment?
(if you use the chip 18F26K20 with the EB006 -00-7) is the chip now defect (5V) or is the supply of this board also 3,3V?

to Matrix multimedia:
Is it possible to exchange my to older 2 boards?
Can you give me offer for this upgrade? (new board and V6.x

Regards

Rob

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: 18F26K20.

Post by Steve »

Hi Rob,

Only the latest v9 EB006 supports the 18F26k20, although earlier releases of this hardware may need to have a firmware update. All EB006 (v9) boards we currently sell include the updated firmware and, with the latest version of mLoader (v3.2.2.6) will support the 18F26k20.

All earlier EB006 hardware (up to and including v8) were 5V. I don't know if powering this chip at 5V would have broken it. There is a chance it has.

Unfortunately, we do not offer upgrades on hardware.

Kind regards,
Steve.

Rotac
Posts: 54
Joined: Fri Oct 02, 2009 1:41 pm
Been thanked: 1 time

Re: 18F26K20.

Post by Rotac »

Hi Steve,

OK, clear. My original flowcode fit in the 18F26K20, I Used this chip, beacuse it doesn't dit in e.g 16F88 (too many strings). I choose this one because the memory.

Question: is there an alternative for the 18F26K20 what works wit the old EB006-00-6 board?

Regards


Rob

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: 18F26K20.

Post by Steve »

Hi Rob,

There are lots of options. For example, the PIC16F1937 has double the memory (14k instead of 7k).

The 18F26k20 has 64k or program memory. A similar chip is the 18F2620 (also with 64k), and one of the chips I have personally used with EB006 is the 18F2610 (it works on v8 and v9, and so I assume it will on v6 too). These latter chips are more expensive because they use older manufacturing processes.

The microchip website has a good tool to select devices here:
http://www.microchip.com/ParamChartSear ... nchID=1012

Hope this helps,
Steve.

Rotac
Posts: 54
Joined: Fri Oct 02, 2009 1:41 pm
Been thanked: 1 time

Re: 18F26K20.

Post by Rotac »

Hi Steve,

Yes it helps, but it's a pitty that is was not mentioned in the flyer overvieuw!

I have choosen for the 18F26K20 and looked to your linkand try to make a choice (afterall the wrong one), but there are so many micro chips (choices) and I expected they work with all the boards EB006-00 -x.
Maybe there should be list which board version support which micro chip! I only need some digital I/O and a Rs232 or RS485 output/ input with a lot of memory.

I searched for 18F26K10 and can't find it to buy (Farnell, Conrad), but the 18F26K20 was availble.
Before I decided to borrow a new board, i want to know, does the chip 18F2620 works with the EB006-00-7 board and flowcode V5.0 then I will try first this option!

if yes, what are the settings of this chip?

Regards

Rob

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times

Re: 18F26K20.

Post by kersing »

At the EB006 product page you will find the manual of the hardware, listing all supported devices. The manual for version 7 is available on that page as well.


I assume you are referring to the Flowcode flyer, the software supports a superset of the chips supported by the hardware.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Rotac
Posts: 54
Joined: Fri Oct 02, 2009 1:41 pm
Been thanked: 1 time

Re: 18F26K20.

Post by Rotac »

Thanks,

I had looked in the flowcode V5.x of supporting micro chip, my mistake.

then still the question, which special settings do I have to made for this chip 18F2620.

Regards

Rob

Post Reply