Page 1 of 1

"No Device Detected when compile to target"

Posted: Thu Apr 18, 2024 3:08 pm
by KARLGROSS
Hello,
I seem to have an issue with setting up Flowcode.
So far, I have installed flowcode, Installed all the toolchains.

I Have both a BL0080 and BL0032-1 Eblocks2.
I have written a very basic do nothing program.
When the compile to target is pushed all is working well until i get the Message in a pop-up window saying "No Device Detected when compile to target".
This happens with either Eblocks2 boards so i would guess that there must be a simple setting?
Both boards are powered by only using the USB plug and both boards are showing a solid red LEB Power light. The USB LED, DEBUG and the TEST LED lights are not lit.

Below is a copy of the compiler message screen.
Thanks for you time.
Karl Gross





Target folder: C:\FlowCode Programs
Source name: C:\FlowCode Programs\BL0057 display.fcfx
Title:
Description:
Device: PIC.16F.16F18877
Generated by: Flowcode v10.1.0.38
Date: Thursday, April 18, 2024 07:44:24
Users: 1
Registered to: KARLGROSS (89238304)
Licence key: AEDD38
https://www.flowcode.co.uk
Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" 16F18877 "C:\FlowCode Programs\" "BL0057 display"

C:\FlowCode Programs>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589807C95A2F1C2769D70BE3AA931A3F48B38E582CFD8E4085DD8DA408700E5719BB0FE44B686FBBF4050CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE1468065B86E00B2487B7DE8D413948019019AFB8908E26D0AE50ACE3D7DDA2D28E9421B336835453

C:\FlowCode Programs>REM REVISION: 3.0

C:\FlowCode Programs>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC

C:\FlowCode Programs>REM DATE: 09\01\2024

C:\FlowCode Programs>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat

C:\FlowCode Programs>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8-cc.exe" -mcpu=16F18877 "BL0057 display.c" -w=359,1273,1388 -fno-short-float -fno-short-double -std=c90 -Os

Memory Summary:
Program space used 208h ( 520) of 8000h words ( 1.6%)
Data space used 31h ( 49) of 1000h bytes ( 1.2%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Data stack space used 0h ( 0) of FCEh bytes ( 0.0%)
Configuration bits used 5h ( 5) of 5h words (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)


Compilation successful!

Using <PICkit2 PK2CMD External Power> inbuilt settings for linker
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v10\tools\DoNothing\DoNothing.exe

Using FCD settings for programmer
Launching the programmer...
C:\Program Files (x86)\Flowcode v10\tools\mLoader\mLoader.exe -chip 16F18877 "C:\FlowCode Programs\BL0057 display.hex"
. . . . . . . . . . .

THIS IS WHERE THE POPUP BOX COMES UP SHOWING NO TARGET DEVICE FOUND

FINISHED
{/b]

Re: "No Device Detected when compile to target"

Posted: Thu Apr 18, 2024 3:41 pm
by medelec35
Hello.
First thing, have you installed the Eblock2 drivers?
If you scroll down on the download page, you will see USB Drivers.

It's important that when the Eblocks2 upstream board is connected to the PC, the USB LED flashes when Flowcode is loaded.

Also, within Build > Compiler Options for your target type, make sure E-Blocks is highlighted and Default for the platform C for (your target device) is ticked.

Re: "No Device Detected when compile to target"

Posted: Tue Apr 23, 2024 6:27 pm
by KARLGROSS
Thank you for your time.
What i found out was the USB ports on the front side of my desktop computer are not plugged in. When i tried a port on the back of the computer the USB link was established and took the code.

Karl

Re: "No Device Detected when compile to target"

Posted: Wed Apr 24, 2024 3:55 pm
by medelec35
At least your issue is resolved now which is great!
Thanks for letting us know.