Red flashing when using pins 7-12

Hello,

when I am uploading any sketch (eg. fade from the Examples) that uses pin 7 to 12 (pins 7, 8 ,9 ,10 , 11 ,12), the arduino Portenta H7 starts a red flashing - 4 times slow, 4 times fast - and it doesn't respond.
Any idea why? How to fix? I have to double press the reset button to upload new sketch, and this may not work with the first time, so I have to do it 2 or 3 times before managing to upload new sketch.

Thank you in advance,

Start by posting your code, use code tags when uploading.

code doesn't matter... check the default sample code from the examples eg. fade. When I run this sample and include these pins, flashing appears.

Good Luck!

That blink implies a crash - SOS sort of.

Hi @palpal1,

The Fade example sketch uses the analogWrite function. When this function is used with digital pins, this causes MbedOS to crash. Hence the LED flashes red.

Please check your sketch.

Best,