2024-11-04 03:53 PM
Hi, I am trying to build the 'Getting Started with Image Classification' project from STM Model Zoo on STMCube IDE. However, whenever I try to build the project I keep getting this error: "fatal error: ../Components/adv7533/adv7533.h: No such file or directory"
There does not seem to be a directory for adv7533 anywhere in the project. Any idea where I can obtain the required files to build the project?
Solved! Go to Solution.
2024-11-13 06:31 AM - edited 2024-11-13 06:32 AM
Hello @rt_ecyhg1 ,
I could not reproduce your issue.
We will try something, download the .zip file attached which contains the cm7.elf.
Open STM32CubeProgrammer:
Does it work? If not there is an hardware issue.
If it works, something is wrong with what you did, so here is the exact process:
First, make sure you have this exact hardware:
Then use a micro usb to usb A cable (in other context, I've seen issue with usb c cables). Make sure your cable is data.
Plug and unplug your camera (maybe it is not well pluged).
Then with model zoo
Once everything done:
Do you still get your Flag error ?
Do you still get the strange LCD display?
Do you have another evaluation board and camera?
If it still does not work, we will need the help of dev from the model zoo and they are not so much available at the moment, so you may have to wait until mid december...
Have a good day
Julian
2024-11-05 07:00 AM
Hello @rt_ecyhg1 ,
Which tutorial are you following?
Have you tried this one: stm32ai-modelzoo/image_classification/deployment at main · STMicroelectronics/stm32ai-modelzoo · GitHub
Do you get an error as well?
Have a good day,
Julian
2024-11-05 07:06 AM
Hi @Julian E. , when I try to deploy it according to the deployment method used here stm32ai-modelzoo/image_classification/deployment at main · STMicroelectronics/stm32ai-modelzoo · GitHub
I keep getting static on the screen of the LCD as shown in this image. I am using the user_config.yaml to set the parameters.
2024-11-05 08:02 AM
Hello @rt_ecyhg1 ,
I am checking with the development team. I will keep you updated.
Julian
2024-11-05 11:18 PM
Hi @Julian E., not sure if this will help but I get this return code error when I try the aforementioned method of deployment
2024-11-10 07:18 PM
Hi @Julian E. ,
I've tried downloading a new version of the stm32 model zoo and trying the deployment again both with the 'deployment.py' file and through STMCubeIDE. I am not getting the previous LCD fatal error but rather these warnings. I have tried using STMCube version 1.13, 1.10, and 1.16 but to no avail.
C:/Users/harth/Downloads/stm32aimodelzoo/stm32ai_application_code/image_classification/Application/STM32H747I-DISCO/Src/CM7/main.c:236:3: warning: 'memset' forming offset [153600, 153631] is out of the bounds [0, 153600] of object 'CapturedImage_Buffer' with type 'uint8_t[153600]' {aka 'unsigned char[153600]'} [-Warray-bounds]
c:\st\stm32cubeide_1.10.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: warning: section `.bss' type changed to PROGBITS
2024-11-12 08:45 AM
Hello @rt_ecyhg1 ,
can you share me the user_config.yaml that you are using please?
I will try to reproduce your issues.
You are using the STM32H747I DISCO?
Have a good day,
Julian
2024-11-12 05:58 PM
Hi @Julian E. ,
This is the user_config.yaml file I am using. And yes I am using the STM32H747I DISCO board.
Thank you.
2024-11-13 06:31 AM - edited 2024-11-13 06:32 AM
Hello @rt_ecyhg1 ,
I could not reproduce your issue.
We will try something, download the .zip file attached which contains the cm7.elf.
Open STM32CubeProgrammer:
Does it work? If not there is an hardware issue.
If it works, something is wrong with what you did, so here is the exact process:
First, make sure you have this exact hardware:
Then use a micro usb to usb A cable (in other context, I've seen issue with usb c cables). Make sure your cable is data.
Plug and unplug your camera (maybe it is not well pluged).
Then with model zoo
Once everything done:
Do you still get your Flag error ?
Do you still get the strange LCD display?
Do you have another evaluation board and camera?
If it still does not work, we will need the help of dev from the model zoo and they are not so much available at the moment, so you may have to wait until mid december...
Have a good day
Julian
2024-11-13 07:03 PM
Hi @Julian E. ,
I am happy to inform you that the cm7 file you provided works for me. Following the steps you provided works as well. I had an extra board and camera, I think my camera may not have been working previously hence the error I was obtaining and the strange LCD display. I'm not exactly sure how the camera broke, but I got a spare one now. Thank you very much for your support.