Component VL53L0X download problem

Post and discuss new components that you have created.
Xbiotec
Posts: 173
http://meble-kuchenne.info.pl
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 30 times
Been thanked: 22 times

Flowcode v10 Component VL53L0X download problem

Post by Xbiotec »

hi,
When I'm trying to download the VL53L0X , I'm getting this below and the file is now downloaded
VL53L0x.jpg
VL53L0x.jpg (111.65 KiB) Viewed 6075 times
I tried with another component and it work well
SHT31.jpg
SHT31.jpg (6.83 KiB) Viewed 6075 times
thanks for a prompt reply
Seb

Steve-Matrix
Matrix Staff
Posts: 1293
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 171 times
Been thanked: 291 times

Re: Component VL53L0X download problem

Post by Steve-Matrix »

Thanks for letting us know. This should get fixed soon.

In the meantime, you should be able to download the file by right-clicking and selecting "save link as...". This will currently only work if you visit the wiki in a browser rather than from within Flowcode itself.

Xbiotec
Posts: 173
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 30 times
Been thanked: 22 times

Re: Component VL53L0X download problem

Post by Xbiotec »

Thx, it work's

Now I'm trying to use the XC16 PRO compiler from microchip like I'm using in FC9 but there is a error . "COFF format is not supported, please use ELF"

Code: Select all

Target folder: C:\Users\seb\Documents\AAA Microchip
Source name:   C:\Users\seb\Documents\AAA Microchip\Flowcode1.fcfx
Title:         
Description:   
Device:        PIC16.24F.24FJ256GA705
Generated by:  Flowcode v10.0.4.33
Date:          Wednesday, November 15, 2023 16:56:47
Users:         1
Registered to: ---------
Licence key: ---------
https://www.flowcode.co.uk
Using <PICKit4 IPE Seb> user settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC16\batchfiles\pic16_C30_comp.bat  "C:\Program Files (x86)\Flowcode\Compilers\xc16\v2.10\" "Flowcode1" "C:\Users\seb\Documents\AAA Microchip\" "24FJ256GA705"

C:\Users\seb\Documents\AAA Microchip>REM CRC: 54CD51B8F484283E91B3AD9DE6F4F50C418D34178E0D3D0BD2659E1DA9D69F58D3529BB9468CFC85641793EB31F94A5F16CBA8333F125C7188ED8742865A1BBCF23BFF3064C25A11BAFA61B701B8D0469A0D46BD3B6AACB92DE4D84759EBB5079CA9DA2D2BBCDAE2A4D1C56CD1580BF59733FFBBAA9F3C7B5EDF8CE67A1404D62B8878703E3665631EAF018A0B6018ACC8FF364DB19D83FB389861B26F27604A1F36255EB2E4245255911F067119BEF7D5F89C133B93261A29D848A5DAD12E38FF9E5CFBC45304482C3050DA273BE4EE70C46F1DEBB5CE90D191F7CB01DEE82F091CE1AC860B44C66CFC63B583D3C0065E5746CE888A1719 

C:\Users\seb\Documents\AAA Microchip>REM REVISION: 1.0 

C:\Users\seb\Documents\AAA Microchip>REM GUID: 7821ABE5-9E21-4744-81B7-3FF600B75DB7 

C:\Users\seb\Documents\AAA Microchip>REM DATE: 08\08\2022 

C:\Users\seb\Documents\AAA Microchip>REM DIR: FCD\PIC16\batchfiles\pic16_C30_comp.bat 

C:\Users\seb\Documents\AAA Microchip>xc16-gcc -c -mcpu="24FJ256GA705" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\Program Files (x86)\Flowcode\Compilers\xc16\v2.10\support\h" -I"C:\Program Files (x86)\Flowcode\Compilers\xc16\v2.10\" -std=gnu99 "Flowcode1".c -o "Flowcode1".o 
COFF format is not supported, please use ELF

Error returned from [xc16-gcc.exe]

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC16\batchfiles\pic16_C30_comp.bat reported error code 0x1

Autoclose turned off


FINISHED
thx for your help
Seb

Steve-Matrix
Matrix Staff
Posts: 1293
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 171 times
Been thanked: 291 times

Re: Component VL53L0X download problem

Post by Steve-Matrix »

I think you need to use the updated batch files that I posted in the v9 thread:

viewtopic.php?p=12824#p12824

Xbiotec
Posts: 173
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 30 times
Been thanked: 22 times

Re: Component VL53L0X download problem

Post by Xbiotec »

It' work's , sorry I didn't know that need to do the same in FC10
why you didn't update FC10 with these batch files ?
Seb

Steve-Matrix
Matrix Staff
Posts: 1293
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 171 times
Been thanked: 291 times

Re: Component VL53L0X download problem

Post by Steve-Matrix »

The work is planned I believe.

Xbiotec
Posts: 173
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 30 times
Been thanked: 22 times

Re: Component VL53L0X download problem

Post by Xbiotec »

thx
Seb

Xbiotec
Posts: 173
Joined: Thu Sep 23, 2021 3:44 pm
Location: France
Has thanked: 30 times
Been thanked: 22 times

Re: Component VL53L0X download problem

Post by Xbiotec »

hello
I was looking the code of the VL53L0X sensor.
Could you explain me why Macro "SetVcselPulsePeriod" is never used during initialize.
Range value is always 0
range.jpg
range.jpg (68.57 KiB) Viewed 6027 times
thx
Seb

Steve-Matrix
Matrix Staff
Posts: 1293
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 171 times
Been thanked: 291 times

Re: Component VL53L0X download problem

Post by Steve-Matrix »

As far as I can tell, this relates to a "long range / short range" option which is currently unimplemented in the component. If this is a feature you require then please let us know and we can look at implementing it.

medelec35
Matrix Staff
Posts: 1481
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 525 times
Been thanked: 481 times

Re: Component VL53L0X download problem

Post by medelec35 »

Hello.
Thanks Steve/Seb
I have not got a VL53L0X sensor to test with, but the long range / short range" option has now been implemented.
Can you please let me know how you get on with the change.

If you are happy with the change, the component modification will be pushed onto the update system next week.
Browse to this location using File Explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

C:\ProgramData\MatrixTSL\FlowcodeV10\Components
Replace the existing file with the attached file.
If Flowcode is already open, then you will need to reload your project for the new components to work
If you run any component updates, then the components you added will be overwritten.
Attachments
RangeTOF_VL53L0X.fcpx
(10.46 KiB) Downloaded 87 times
Martin

Post Reply