hi,
When I'm trying to download the VL53L0X , I'm getting this below and the file is now downloaded
I tried with another component and it work well
thanks for a prompt reply
Component VL53L0X download problem
-
- Posts: 200
- http://meble-kuchenne.info.pl
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 32 times
- Been thanked: 24 times
-
- Matrix Staff
- Posts: 1388
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 185 times
- Been thanked: 322 times
Re: Component VL53L0X download problem
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.
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.
-
- Posts: 200
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 32 times
- Been thanked: 24 times
Re: Component VL53L0X download problem
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"
thx for your help
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
Seb
-
- Matrix Staff
- Posts: 1388
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 185 times
- Been thanked: 322 times
Re: Component VL53L0X download problem
I think you need to use the updated batch files that I posted in the v9 thread:
viewtopic.php?p=12824#p12824
viewtopic.php?p=12824#p12824
-
- Matrix Staff
- Posts: 1388
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 185 times
- Been thanked: 322 times
-
- Posts: 200
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 32 times
- Been thanked: 24 times
Re: Component VL53L0X download problem
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 thx
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 thx
Seb
-
- Matrix Staff
- Posts: 1388
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 185 times
- Been thanked: 322 times
Re: Component VL53L0X download problem
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.
-
- Matrix Staff
- Posts: 1624
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 576 times
- Been thanked: 543 times
Re: Component VL53L0X download problem
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.
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.
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
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 216 times
Martin