cancel
Showing results for 
Search instead for 
Did you mean: 

Not fixed JPEG_SWAP_RG macro

Mikk Leini
Senior III

Reporting that this bug is sitll present in CubeMX v6.16.1

Solved: We found a bug while using Hardware JPEG. - STMicroelectronics Community

MikkLeini_0-1770028665716.png

Still JPEG_SWAP_RG, not JPEG_SWAP_RB.

I wish there would be user defined section in jpeg_utils.conf.h to workaround it.

And there's another bug:

Every time I regenerate code, CubeMX erases Utilities/JPEG folder. So the package code has to be manually restored.

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Mikk Leini 

Thanks for your feedback,

The issue has been escalated internally to the dedicated team for further investigation and resolution. (Ticket 226502 This is an internal tracking number and is not accessible or usable by customers.)

Meanwhile, as a temporary workaround, I suggest placing JPEG files in a custom folder other than Utilities to prevent code regeneration from deleting this folder. 

KR, Souhaib

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.

View solution in original post

5 REPLIES 5
Souhaib MAZHOUD
ST Employee

Hello @Mikk Leini 

In order to investigate the problem, could you please attach an IOC that demonstrates the issue? 

BR, Souhaib

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.

Mikk Leini
Senior III

I would have to make a new IOC file to demonstrate it without other stuff. But there is wrong parameter name in the screenshot and CubeMX v6.16.1 Help -> About window over it. Even if my IOC file is bad the CubeMX should not be wrong.

Hello @Mikk Leini 

Which MCU are you using?

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.

Mikk Leini
Senior III

STM32N6570

Hello @Mikk Leini 

Thanks for your feedback,

The issue has been escalated internally to the dedicated team for further investigation and resolution. (Ticket 226502 This is an internal tracking number and is not accessible or usable by customers.)

Meanwhile, as a temporary workaround, I suggest placing JPEG files in a custom folder other than Utilities to prevent code regeneration from deleting this folder. 

KR, Souhaib

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.