Skip to main content
Senior
July 15, 2025
Question

STM32N6 VENC_JPEG_Encoding issues

  • July 15, 2025
  • 2 replies
  • 245 views

Hi everyone, 
I am trying to run VENC_JPEG_Encoding project using STM32CubeIDE on STM32N6570-DK board, but it is not saving .bmp as stated in README file. Upon further debugging I can see in main.c in function save_file() that it is only supported on IAR system. 

int8_t save_file(char *pName,uint8_t *pStream,uint32_t szOut)
{
 int8_t ret = 0;
#if defined ( __ICCARM__ )
 /* stdio FILE works only on IAR system */
 FILE *pFile;
 pFile = fopen(pName,"wb");
 if(pFile)
 {
 while(szOut)
 {
 uint32_t blk = 1024;
 if(szOut < blk ) blk = szOut; 
 uint32_t written = fwrite(pStream,1,blk,pFile);
 szOut-= written;
 pStream+=written;
 } 
 fclose(pFile);
 ret = 1;
 printf("the file %s is in the current folder",pName); 
 }
#endif
 return ret;
}


so how do i test it in CubeIDE as I am on Ubuntu and IAR doesnt supports Ubuntu till now.
Kindly help

2 replies

Technical Moderator
July 15, 2025

Hello @athern27 

I reported this internally and will get back to you as soon as possible.

Internal ticket number: 214131 (This is an internal tracking number and is not accessible or usable by customers).

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question.Saket_Om"
athern27Author
Senior
November 21, 2025

@Saket_Om Any updates??

Technical Moderator
November 21, 2025

Hello @athern27 

Unfortunately, the issue still under investigation internally. 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question.Saket_Om"