How to work with the VL53L5CX if you don't have enough memory?
Hello,
My name is Joran, and I'm a student in Belgium. My school tasked me with a project that involves the use of the VL53L5CX sensor.
Aside a few other guidelines, I have to follow this rule: no use of high-level programming languages (e.g. Python) or no use of the Arduino IDE, only assembly languages and C.
As I already had another subject that used a XC888 processor from Infineon, I thought it would be easier to use this one again in this project, especially because I already knew the instruction set architecture.
At the start I was unaware of the flash memory needed for the ultra-light driver for the sensor. I find myself with the hurdle of solving this problem: how can I still use the XC888 to do this project even though it contains 32 kbytes of flash memory. I am aware of other processors with more flash memory but I want to avoid the learning curve for this new processor and its instruction set.
I have seen that the biggest portion of this ULD is the firmware that has to be 'uploaded' to the sensor. My first question is: is this firmware stored in non-volatile memory and thus can I prime the sensor with a processor with enough memory? Afterwards I would then use it in the setup with the XC888.
If not, I thought about maybe having extra external memory to install the firmware on, so I can read the firmware from it and write it to the sensor. This would mean that the driver would be small enough to fit in the memory of the XC888. I'm not really sure how to implement this yet.
Do you have any other guidance on how to combine the XC888 and the VL53L5CX sensor in a project? I've searched the internet but found only limited resources.
I would really appreciate any help you can give.
Regards,
Joran Van Nieuwenhoven
