BL0032

Any bugs you encounter with Flowcode should be discussed here.
DAVIDJOINER
Posts: 140
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

BL0032

Post by DAVIDJOINER »

Hi Ben

I just bought a BL0032 this week and having problems with Ghost , ICT works fine but ICD does not

1. Can select Ghost ICD mode okay and can compile to target okay
But when i run in the Debug mode either it appears to freeze and pause and stop buttons have no effect
then i have to push the reset button on the BL0032 and after a while i get access to the debug start button but get message to recomplie to target again if i try to run again

2 Also some times after compiling to target when i try to run it also gives message to recompile to target

Note
1 running FC9 on windows 10
2 Have tried on 2 separate PC's with same issues and also with different USB leads
3 Have tried increasing the Ghost delay time also to no affect
4 Also i have nothing externally connected to B6 & B7

I have looked through the FC8 / FC9 forums and Ghost has appeared be problematic in the past many times

However i would not have expected any problems with a new board with Ghost on board running the latest FC9 release

Have included the simple test program i am using for info

Can you look urgently at this as burning my hours up trying to resolve

Best Regards
David
Attachments
ghost_test bl0032.fcfx
(7.01 KiB) Downloaded 690 times

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 697 times

Re: BL0032

Post by BenR »

Hi David,

Sorry to hear about the problems you've been having, I'm investigating this for you now.

It seems that if I start by clicking the go button then I experience similar problems with it not working reliably.

However if I click the step into button at the very start of the ICD then I can then click play or any other control button and everything works as it should very reliably. I can even click stop and then step into again and it will restart correctly every time. Clicking stop and then Go seems to have the same problem.

However if there is an active breakpoint in the program then the Go button seems to also work reliably to start the ICD.

I'll investigate further and see if I can find the cause of the problem.

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: BL0032

Post by DAVIDJOINER »

Hi Ben

I tried all your ideas quite a few times but unfortunately still does still not work in ICD

After pushing start or step into there is a pause and then the simulation debugger screen comes up copy enclosed

But everything then appears to be frozen ie nothing works

Pushing the reset button on the BL0032 is the only way allows me to get back into FC9

Looks like it could stuck in a loop somewhere

Also pushing the reset button after compiling to target has no improvement and then pushing go or step still does not work

Also adding a break point has no affect


David
Attachments
debugger screen .GIF
debugger screen .GIF (10.13 KiB) Viewed 8869 times

Steve-Matrix
Matrix Staff
Posts: 1548
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 214 times
Been thanked: 362 times

Re: BL0032

Post by Steve-Matrix »

I've been unable to replicate this issue here, although I did encounter a similar issue when a breakpoint was set within the project loop.

This time, pressing 'go' ran the project but the breakpoint was never hit and the ICD acted like it had finished. Following Ben's suggestion, I found that first pressing 'step in' and then waiting maybe 6 seconds until the green icon marker is shown on the first icon allows the ICD to run correctly.

Also, what happens when the simulation speed is set to 'fast (no updates)'? You will need to step into execution first and then adjust the sim speed.

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: BL0032

Post by DAVIDJOINER »

Hi Steve / Ben

Note whilst i get the debugger window i do not get the green box around any program components

I also tried running the debugger at full speed but still no difference

I have also included the compilation messages file and c code file in case there is anything in there of interest


David
Attachments
ghost_test bl0032.msg.txt
(4.75 KiB) Downloaded 607 times
ghost_test bl0032.c
(4.79 KiB) Downloaded 600 times

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: BL0032

Post by DAVIDJOINER »

HI Ben

Any progress on the BL0032 ICD GHOST problem

Rather frustrating brand new board but cannot currently use it totally until we resolve this issue

Did you review the C file and message file i sent in my last post hope there might be clues in there



Regards
David

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 697 times

Re: BL0032

Post by BenR »

Hello David,

The C and Messages files both look fine. I've tried the program here and it's been working fine.

Hmm not sure how to procees with this one. Just checking you don't have a copy of mLoader open or anything like that.

Might be worth trying on a different PC just to rule that out?

Can you provide the specs of your PC so we can see what sort of machine your using.

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: BL0032

Post by DAVIDJOINER »

Hi Ben

Have included info on the 2 main computers i use

I have already tried on both computers

If you need anything more specific please advise

As i mentioned before in the FC8 Forum postings around 30th April 2020 seems similar issue raised by another user
Cannot see a conclusion in the Forum did you ever get a resolution to that problem as may be the same or similar ?

Best Regards
David
Attachments
dj COMUTER SPECS .docx
(261.89 KiB) Downloaded 614 times

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 697 times

Re: BL0032

Post by BenR »

Hi David,

You say you have tried two win 10 PCs. what sort of spec CPU, RAM etc.

Are you loading the Flowcode project from a local file or across a network.

Just trying to seeif there is anything different to your setup from ours so we can better try to replicate the issue.

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: BL0032

Post by DAVIDJOINER »

Ben

PC1 WINDOWS 10 PRO iNTEL I5-6400 CPU 2.7HHx 4 cores RAM 24.0 GB

PC2 WINDOWS 10 Home INTEL atom E3950 1.6GHz RAM 6.0 GB

I Load the program from c drive programs Files (x86)


Best regards
David

Post Reply