Skip to main content
PKesk.1
Associate
May 9, 2022
Solved

Hey guys, I have a problem with my STM32F4 mCs, that new producted from a PCB manufcturer. I think its about the IOC file, because I can boot them up, but the application files are not readed from main.cpp. Do you have some suggestions to try out?

  • May 9, 2022
  • 3 replies
  • 1333 views

..

This topic has been closed for replies.
Best answer by PKesk.1

Its solved just a small solder issue thanks!

3 replies

Walid ZRELLI
Visitor II
May 10, 2022

Hello @PKesk.1​ ,

In order to allow a better analysis of your problem and to give you the appropriate answer, could you please give us more details?

Otherwise, we provide many examples in the F4 Firmware Package which you can refer to.

BeST Regards,

Walid

PKesk.1
PKesk.1Author
Associate
May 13, 2022

Hi @Walid ZRELLI​ 

I ordered my pcbs for two times with same design. The first ones are working quite good, I saw that the chip Rev Y, the one not working is Rev 2. (The Y is marked on the chip, and I can see the chip version when the debugger connects). Rev Y is newer, but cannot find any information online how to they differ. But for now, I would guess that all Rev Y chips work and Rev 2 has the problem.

When I debug the code, it seems like it stucks on CAN init(), so I tried to create a scratch project and it seems like there is no problem with it.

New project from scratch -> CAN works on Rev 2 chip.

New project from old IOC without any FreeRTOS code -> fail. So no can problem, but something related to the IOC and code being generated from it. Tried some hours to find what settings cause it, no luck so far ...

PKesk.1
PKesk.1AuthorBest answer
Associate
May 13, 2022

Its solved just a small solder issue thanks!

Walid ZRELLI
Visitor II
May 13, 2022

Great news! Thanks for sharing the fix.