FlowKit with EB006 problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Jan van de Vooren
Posts: 7
Joined: Fri Feb 15, 2013 9:21 pm
Has thanked: 2 times
Contact:

FlowKit with EB006 problem

Post by Jan van de Vooren »

Hi
I use Flowcode 4.5.18.74 Professional and now try to get Flowkit working,...........But.

When I load a program directly into the proc. (16F877A)(via EB006 V3) and PPP3, without the Pickit , everything is working fine.
The program works on the target and no errors while programming.

Now I switch the (new) PicKit between the pc and de EB006, then i can't program the PIC, and the file seems now to have more ROM words !!!! (see screenshot attachment)

And when I program without the PicKit in between, and after programming, try to put the PicKit between for debugging, also an error.

It seems that the ICD puts extra software in the ROM causing this trouble ???

What can I do??

B6 and B7 are free for debugging.

I'm sorry but I ask myself, is this equipment the right choice to work with, because it cost a lot of time to get these new debugger work, before I can use it.
And difficult to find an quick solution, only by forum. more for hobby but not for commercial work.

Hope somebody can help me out.

Regards Jan
Attachments
PicKit error.jpg
PicKit error.jpg (43.47 KiB) Viewed 4030 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: FlowKit with EB006 problem

Post by Benj »

Hi Jan,

It looks like your program is such that enabling the ICD is overflowing the stack limitations of the microcontroller. You can try and switch to a software stack model using the information posted here and hopefully this should help.

http://www.matrixmultimedia.com/mmforum ... 328#p35328

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

Re: FlowKit with EB006 problem

Post by medelec35 »

Hi Jan,
As you correctly stated, there is not enough room on the target device to run both your code and the additional code that ICD requires to function.
You can try reducing the Breakpoint count and call stack depth, but considering the target device is overfilled 11.4% = 938 words, not sure if it will help or not.

Ben is the authority on usage of Breakpoint count and call stack depth, and I'm not..sorry :(

Could your code be made any more efficient?
Perhaps if don't mind posting code, we could take a look for you?
No promises of course, as it may be as efficient as it can be?

The only other option is to use a microchip selection tool to find a more suitable device, which can be use just for testing purposes:
http://www.microchip.com/ParamChartSear ... nchID=1005
Or
https://www.microchip.com/maps/microcontroller.aspx
Or
http://www.microchip.com/productselecto ... ector.html

Then when all is working you could go back to a smaller cheaper device with out ICD enabled, if you require a few of them.

The corruption part, Ben knows far more about that then I do.

Martin
Martin

Post Reply